BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/include/MdcTrkRecon/MdcSegInfoSterO.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcSegInfoSterO.h,v 1.9 2011/05/16 06:52:13 zhangy Exp $
4//
5// Description:
6//
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Authors: Steve Schaffner
12//
13// Copyright (C) 1996 The Board of Trustees of
14//
15// History:
16// Migration for BESIII MDC
17// The Leland Stanford Junior University. All Rights Reserved.
18//------------------------------------------------------------------------
19
20#ifndef MDCSEGINFOSTERO_HH
21#define MDCSEGINFOSTERO_HH
22#include "CLHEP/Geometry/Point3D.h"
23#include "MdcTrkRecon/MdcSegInfo.h"
24#ifndef ENABLE_BACKWARDS_COMPATIBILITY
25// backwards compatibility will be enabled ONLY in CLHEP 1.9
26typedef HepGeom::Point3D<double> HepPoint3D;
27#endif
28
29class TrkRecoTrk;
30class TrkExchangePar;
31class MdcLine;
32class MdcHitUse;
33// Class interface //
34class MdcSegInfoSterO : public MdcSegInfo {
35
36public:
39
40 double z0() const { return _par0; }
41 double ct() const { return _par1; }
42 bool parIsAngle( int i ) const;
43
44 // int calcStereo(const MdcSeg *parentSeg, const TrkRecoTrk &track,
45 int calcStereo( MdcSeg* parentSeg, const TrkRecoTrk& track, MdcSegWorks& segStuff );
46 int calcStereo( MdcSeg* parentSeg, const TrkExchangePar& par, MdcSegWorks& segStuff,
47 double Bz );
48
49 int zPosition( MdcHitUse& hitUse, const TrkRecoTrk& track, MdcLine* span, int hitFit,
50 double t0 ) const;
51 int zPosition( MdcHitUse& hitUse, const TrkExchangePar& par, MdcLine* span, int hitFit,
52 double t0, double Bz ) const;
53
54private:
56 MdcSegInfoSterO& operator=( const MdcSegInfoSterO& );
57 int _debug; // yzhang debug
58};
59
60// Inline functions //
61
62#endif
HepGeom::Point3D< double > HepPoint3D
int calcStereo(MdcSeg *parentSeg, const TrkExchangePar &par, MdcSegWorks &segStuff, double Bz)
int zPosition(MdcHitUse &hitUse, const TrkRecoTrk &track, MdcLine *span, int hitFit, double t0) const
bool parIsAngle(int i) const
int zPosition(MdcHitUse &hitUse, const TrkExchangePar &par, MdcLine *span, int hitFit, double t0, double Bz) const
int calcStereo(MdcSeg *parentSeg, const TrkRecoTrk &track, MdcSegWorks &segStuff)