BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
RecExtTrack Class Reference

#include <RecExtTrack.h>

+ Inheritance diagram for RecExtTrack:

Public Member Functions

const CLID & clID () const
 
 RecExtTrack ()
 
 RecExtTrack (const DstExtTrack &aDstExtTrack)
 
RecExtTrackoperator= (const DstExtTrack &aDstExtTrack)
 
 ~RecExtTrack ()
 
const ExtMucHitVec getExtMucHitVec () const
 
const ExtMucHitVec getExtMucHitVec (int parId) const
 
const ExtMucHitVec GetExtMucHitVec () const
 
const ExtMucHitVec GetExtMucHitVec (int parId) const
 
void AddExtMucHit (ExtMucHit aExtMucHit)
 
const vector< double > pathInTof1 () const
 
const vector< double > pathInTof1 (int parId) const
 
const vector< double > pathInTof2 () const
 
const vector< double > pathInTof2 (int parId) const
 
void setPathInTof1 (vector< double > x)
 
void setPathInTof2 (vector< double > x)
 
- Public Member Functions inherited from DstExtTrack
const CLID & clID () const
 
 DstExtTrack ()
 
 ~DstExtTrack ()
 
const int GetTrackId () const
 
const int trackId () const
 
const Hep3Vector tof1Position () const
 
const Hep3Vector tof1Position (int parID) const
 
const Hep3Vector tof1Momentum () const
 
const Hep3Vector tof1Momentum (int parID) const
 
const string tof1VolumeName () const
 
const string tof1VolumeName (int parID) const
 
const int tof1VolumeNumber () const
 
const int tof1VolumeNumber (int parID) const
 
const double tof1 () const
 
const double tof1 (int parID) const
 
const double tof1Path () const
 
const double tof1Path (int parID) const
 
const double tof1PosSigmaAlongZ () const
 
const double tof1PosSigmaAlongZ (int parID) const
 
const double tof1PosSigmaAlongT () const
 
const double tof1PosSigmaAlongT (int parID) const
 
const double tof1PosSigmaAlongX () const
 
const double tof1PosSigmaAlongX (int parID) const
 
const double tof1PosSigmaAlongY () const
 
const double tof1PosSigmaAlongY (int parID) const
 
const HepSymMatrix tof1ErrorMatrix () const
 
const HepSymMatrix tof1ErrorMatrix (int parID) const
 
const Hep3Vector tof2Position () const
 
const Hep3Vector tof2Position (int parID) const
 
const Hep3Vector tof2Momentum () const
 
const Hep3Vector tof2Momentum (int parID) const
 
const string tof2VolumeName () const
 
const string tof2VolumeName (int parID) const
 
const int tof2VolumeNumber () const
 
const int tof2VolumeNumber (int parID) const
 
const double tof2 () const
 
const double tof2 (int parID) const
 
const double tof2Path () const
 
const double tof2Path (int parID) const
 
const double tof2PosSigmaAlongZ () const
 
const double tof2PosSigmaAlongZ (int parID) const
 
const double tof2PosSigmaAlongT () const
 
const double tof2PosSigmaAlongT (int parID) const
 
const double tof2PosSigmaAlongX () const
 
const double tof2PosSigmaAlongX (int parID) const
 
const double tof2PosSigmaAlongY () const
 
const double tof2PosSigmaAlongY (int parID) const
 
const HepSymMatrix tof2ErrorMatrix () const
 
const HepSymMatrix tof2ErrorMatrix (int parID) const
 
const Hep3Vector emcPosition () const
 
const Hep3Vector emcPosition (int parID) const
 
const Hep3Vector emcMomentum () const
 
const Hep3Vector emcMomentum (int parID) const
 
const string emcVolumeName () const
 
const string emcVolumeName (int parID) const
 
const int emcVolumeNumber () const
 
const int emcVolumeNumber (int parID) const
 
const double emcPosSigmaAlongTheta () const
 
const double emcPosSigmaAlongTheta (int parID) const
 
const double emcPosSigmaAlongPhi () const
 
const double emcPosSigmaAlongPhi (int parID) const
 
const HepSymMatrix emcErrorMatrix () const
 
const HepSymMatrix emcErrorMatrix (int parID) const
 
const double emcPath () const
 
const double emcPath (int parID) const
 
const Hep3Vector mucPosition () const
 
const Hep3Vector mucPosition (int parID) const
 
const Hep3Vector mucMomentum () const
 
const Hep3Vector mucMomentum (int parID) const
 
const string mucVolumeName () const
 
const string mucVolumeName (int parID) const
 
const int mucVolumeNumber () const
 
const int mucVolumeNumber (int parID) const
 
const double mucPosSigmaAlongZ () const
 
const double mucPosSigmaAlongZ (int parID) const
 
const double mucPosSigmaAlongT () const
 
const double mucPosSigmaAlongT (int parID) const
 
const double mucPosSigmaAlongX () const
 
const double mucPosSigmaAlongX (int parID) const
 
const double mucPosSigmaAlongY () const
 
const double mucPosSigmaAlongY (int parID) const
 
const HepSymMatrix mucErrorMatrix () const
 
const HepSymMatrix mucErrorMatrix (int parID) const
 
const double MucKalchi2 () const
 
const double MucKalchi2 (int parID) const
 
const int MucKaldof () const
 
const int MucKaldof (int parID) const
 
const double MucKaldepth () const
 
const double MucKaldepth (int parID) const
 
const int MucKalbrLastLayer () const
 
const int MucKalbrLastLayer (int parID) const
 
const int MucKalecLastLayer () const
 
const int MucKalecLastLayer (int parID) const
 
const int MucKalnumHits () const
 
const int MucKalnumHits (int parID) const
 
void SetTrackId (int trackId)
 
void SetParType (int aParType=2)
 
void SetTof1Data (Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName, int aVolumeNumber, double aTof, double aPath, HepSymMatrix aErrorMatrix, double aZSigma=0., double aTSigma=0., double aXSigma=0., double aYSigma=0.)
 
void SetTof2Data (Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName, int aVolumeNumber, double aTof, double aPath, HepSymMatrix aErrorMatrix, double aZSigma=0., double aTSigma=0., double aXSigma=0., double aYSigma=0.)
 
void SetEmcData (Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName, int aVolumeNumber, double aThetaSigma, double aPhiSigma, HepSymMatrix aErrorMatrix)
 
void SetEmcPath (double path)
 
void SetMucData (Hep3Vector aPosition, Hep3Vector aMomentum, string aVolumeName, int aVolumeNumber, HepSymMatrix aErrorMatrix, double aZSigma=0., double aTSigma=0., double aXSigma=0., double aYSigma=0.)
 
void SetMucKalData (double chi2, int dof, double depth, int brLastLay, int ecLastLay, int nhits)
 

Static Public Member Functions

static const CLID & classID ()
 
- Static Public Member Functions inherited from DstExtTrack
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from DstExtTrack
int myParticleType
 

Detailed Description

Definition at line 28 of file RecExtTrack.h.

Constructor & Destructor Documentation

◆ RecExtTrack() [1/2]

RecExtTrack::RecExtTrack ( )

Definition at line 24 of file RecExtTrack.cxx.

25{/*
26 myTof1VolumeName="TOF1";
27 myTof2VolumeName="TOF2";
28 myEmcVolumeName="EMC";
29 myMucVolumeName="MUC";
30 Hep3Vector zeroVector(0.,0.,0.);
31 myTof1Position = zeroVector;
32 myTof1Momentum = zeroVector;
33 myTof2Position = zeroVector;
34 myTof2Momentum = zeroVector;
35 myEmcPosition = zeroVector;
36 myEmcMomentum = zeroVector;
37 myMucPosition = zeroVector;
38 myMucMomentum = zeroVector;
39
40 myTof1VolumeNumber=-1;
41 myTof2VolumeNumber=-1;
42 myEmcVolumeNumber=-1;
43 myMucVolumeNumber=-1;
44
45 myTof1=0.;
46 myTof1Path=0.;
47 myTof1PosSigmaAlongZ=0.;
48 myTof1PosSigmaAlongT=0.;
49 myTof1PosSigmaAlongX=0.;
50 myTof1PosSigmaAlongY=0.;
51 myTof2=0.;
52 myTof2Path=0.;
53 myTof2PosSigmaAlongZ=0.;
54 myTof2PosSigmaAlongT=0.;
55 myTof2PosSigmaAlongX=0.;
56 myTof2PosSigmaAlongY=0.;
57 myEmcPosSigmaAlongTheta=0.;
58 myEmcPosSigmaAlongPhi=0.;
59 myMucPosSigmaAlongZ=0.;
60 myMucPosSigmaAlongT=0.;
61 myMucPosSigmaAlongX=0.;
62 myMucPosSigmaAlongY=0.;
63
64 HepSymMatrix zeroMatrix(6,0);
65 myTof1ErrorMatrix=zeroMatrix;
66 myTof2ErrorMatrix=zeroMatrix;
67 myEmcErrorMatrix=zeroMatrix;
68 myMucErrorMatrix=zeroMatrix;
69
70 myEmcPath = 0;*/
71
72 //myPathInTof1 = 0.0;
73 //myPathInTof2 = 0.0;
74
75 vector<double> vd;
76 ExtMucHitVec muHitVec;
77 for(int i=0; i<5; i++)
78 {
79 myExtMucHitVec.push_back(muHitVec);
80 myPathInTof1.push_back(vd);
81 myPathInTof2.push_back(vd);
82 }
83}
vector< ExtMucHit > ExtMucHitVec
Definition ExtMucHit.h:50

◆ RecExtTrack() [2/2]

RecExtTrack::RecExtTrack ( const DstExtTrack & aDstExtTrack)

Definition at line 19 of file RecExtTrack.cxx.

20:DstExtTrack(aTrack)
21{
22}

◆ ~RecExtTrack()

RecExtTrack::~RecExtTrack ( )

Definition at line 85 of file RecExtTrack.cxx.

85{}

Member Function Documentation

◆ AddExtMucHit()

void RecExtTrack::AddExtMucHit ( ExtMucHit aExtMucHit)
inline

Definition at line 53 of file RecExtTrack.h.

53{myExtMucHitVec[myParticleType].push_back(aExtMucHit);};

Referenced by RecExtTrackCnv::TObjectToDataObject().

◆ classID()

static const CLID & RecExtTrack::classID ( )
inlinestatic

Definition at line 36 of file RecExtTrack.h.

37 {
38 return CLID_RecExtTrack;
39 }
const CLID & CLID_RecExtTrack

Referenced by clID().

◆ clID()

const CLID & RecExtTrack::clID ( ) const
inline

Definition at line 31 of file RecExtTrack.h.

32 {
33 return RecExtTrack::classID();
34 }
static const CLID & classID()
Definition RecExtTrack.h:36

◆ GetExtMucHitVec() [1/2]

const ExtMucHitVec RecExtTrack::GetExtMucHitVec ( ) const
inline

Definition at line 50 of file RecExtTrack.h.

50{return myExtMucHitVec[myParticleType];};

◆ GetExtMucHitVec() [2/2]

const ExtMucHitVec RecExtTrack::GetExtMucHitVec ( int parId) const
inline

Definition at line 51 of file RecExtTrack.h.

51{return myExtMucHitVec[parId];};

◆ getExtMucHitVec() [1/2]

const ExtMucHitVec RecExtTrack::getExtMucHitVec ( ) const
inline

Definition at line 47 of file RecExtTrack.h.

47{return myExtMucHitVec[myParticleType];};

◆ getExtMucHitVec() [2/2]

const ExtMucHitVec RecExtTrack::getExtMucHitVec ( int parId) const
inline

Definition at line 48 of file RecExtTrack.h.

48{return myExtMucHitVec[parId];};

◆ operator=()

RecExtTrack & RecExtTrack::operator= ( const DstExtTrack & aDstExtTrack)

Definition at line 13 of file RecExtTrack.cxx.

14{
15 DstExtTrack::operator=(aTrack);
16 return *this;
17}

◆ pathInTof1() [1/2]

const vector< double > RecExtTrack::pathInTof1 ( ) const
inline

Definition at line 55 of file RecExtTrack.h.

55{return myPathInTof1[myParticleType];};

◆ pathInTof1() [2/2]

const vector< double > RecExtTrack::pathInTof1 ( int parId) const
inline

Definition at line 56 of file RecExtTrack.h.

56{return myPathInTof1[parId];};

◆ pathInTof2() [1/2]

const vector< double > RecExtTrack::pathInTof2 ( ) const
inline

Definition at line 58 of file RecExtTrack.h.

58{return myPathInTof2[myParticleType];};

◆ pathInTof2() [2/2]

const vector< double > RecExtTrack::pathInTof2 ( int parId) const
inline

Definition at line 59 of file RecExtTrack.h.

59{return myPathInTof2[parId];};

◆ setPathInTof1()

void RecExtTrack::setPathInTof1 ( vector< double > x)
inline

Definition at line 61 of file RecExtTrack.h.

61{myPathInTof1[myParticleType] = x;};
Double_t x[10]

Referenced by ExtSteppingAction::UserSteppingAction().

◆ setPathInTof2()

void RecExtTrack::setPathInTof2 ( vector< double > x)
inline

Definition at line 62 of file RecExtTrack.h.

62{myPathInTof2[myParticleType] = x;};

Referenced by ExtSteppingAction::UserSteppingAction().


The documentation for this class was generated from the following files: