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

#include <TEmcTrack.h>

+ Inheritance diagram for TEmcTrack:

Public Member Functions

 TEmcTrack ()
 
 ~TEmcTrack ()
 
Int_t trackId () const
 
Int_t numHits () const
 
Int_t status () const
 
Int_t cellId () const
 
Int_t module () const
 
Double_t x () const
 
Double_t y () const
 
Double_t z () const
 
Double_t theta () const
 
Double_t phi () const
 
Double_t dx () const
 
Double_t dy () const
 
Double_t dz () const
 
Double_t dtheta () const
 
Double_t dphi () const
 
Double_t energy () const
 
Double_t dE () const
 
Double_t eSeed () const
 
Double_t e3x3 () const
 
Double_t e5x5 () const
 
Double_t time () const
 
Double_t secondMoment () const
 
Double_t latMoment () const
 
Double_t a20Moment () const
 
Double_t a42Moment () const
 
Double_t err (Int_t i) const
 
void setTrackId (const Int_t trackId)
 
void setNumHits (const Int_t hit)
 
void setStatus (const Int_t st)
 
void setCellId (const Int_t id)
 
void setModule (const Int_t mod)
 
void setX (const Double_t x)
 
void setY (const Double_t y)
 
void setZ (const Double_t z)
 
void setEnergy (const Double_t e)
 
void setDE (const Double_t de)
 
void setDtheta (const Double_t dt)
 
void setDphi (const Double_t dpi)
 
void setESeed (const Double_t eSeed)
 
void setE3x3 (const Double_t e3x3)
 
void setE5x5 (const Double_t e5x5)
 
void setTime (const Double_t time)
 
void setSecondMoment (const Double_t secondMoment)
 
void setLatMoment (const Double_t latMoment)
 
void setA20Moment (const Double_t a20Moment)
 
void setA42Moment (const Double_t a42Moment)
 
void setErr (const Double_t err[6])
 

Detailed Description

Definition at line 7 of file TEmcTrack.h.

Constructor & Destructor Documentation

◆ TEmcTrack()

TEmcTrack::TEmcTrack ( )

◆ ~TEmcTrack()

TEmcTrack::~TEmcTrack ( )

Definition at line 16 of file TEmcTrack.cxx.

16 {
17 Clear();
18}

Member Function Documentation

◆ a20Moment()

Double_t TEmcTrack::a20Moment ( ) const
inline

Definition at line 45 of file TEmcTrack.h.

45{return m_a20Moment;}

Referenced by cvtEmcDst2EmcRec(), setA20Moment(), and EmcTrackCnv::TObjectToDataObject().

◆ a42Moment()

Double_t TEmcTrack::a42Moment ( ) const
inline

Definition at line 46 of file TEmcTrack.h.

46{return m_a42Moment;}

Referenced by cvtEmcDst2EmcRec(), setA42Moment(), and EmcTrackCnv::TObjectToDataObject().

◆ cellId()

Int_t TEmcTrack::cellId ( ) const
inline

Definition at line 22 of file TEmcTrack.h.

22{ return m_cellId; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ dE()

Double_t TEmcTrack::dE ( ) const
inline

Definition at line 38 of file TEmcTrack.h.

38{ return m_dE; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ dphi()

Double_t TEmcTrack::dphi ( ) const
inline

Definition at line 36 of file TEmcTrack.h.

36{ return m_dPhi; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ dtheta()

Double_t TEmcTrack::dtheta ( ) const
inline

Definition at line 35 of file TEmcTrack.h.

35{ return m_dTheta; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ dx()

Double_t TEmcTrack::dx ( ) const

Definition at line 40 of file TEmcTrack.cxx.

40 {
41 double xx=99.;
42 if(m_err[0]>0) xx=sqrt(m_err[0]);
43 else if(m_err[0]==0) xx=0.;
44 return xx;
45}

◆ dy()

Double_t TEmcTrack::dy ( ) const

Definition at line 47 of file TEmcTrack.cxx.

47 {
48 double yy=99.;
49 if(m_err[1]>0) yy=sqrt(m_err[1]);
50 else if(m_err[1]==0) yy=0.;
51 return yy;
52}

◆ dz()

Double_t TEmcTrack::dz ( ) const

Definition at line 54 of file TEmcTrack.cxx.

54 {
55 double zz=99.;
56 if(m_err[2]>0) zz=sqrt(m_err[2]);
57 else if(m_err[2]==0) zz=0.;
58 return zz;
59}

◆ e3x3()

Double_t TEmcTrack::e3x3 ( ) const
inline

Definition at line 40 of file TEmcTrack.h.

40{return m_e3x3;}

Referenced by cvtEmcDst2EmcRec(), setE3x3(), and EmcTrackCnv::TObjectToDataObject().

◆ e5x5()

Double_t TEmcTrack::e5x5 ( ) const
inline

Definition at line 41 of file TEmcTrack.h.

41{return m_e5x5;}

Referenced by cvtEmcDst2EmcRec(), setE5x5(), and EmcTrackCnv::TObjectToDataObject().

◆ energy()

Double_t TEmcTrack::energy ( ) const
inline

Definition at line 37 of file TEmcTrack.h.

37{ return m_energy; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ err()

Double_t TEmcTrack::err ( Int_t i) const
inline

Definition at line 47 of file TEmcTrack.h.

47{ return m_err[i]; }

Referenced by cvtEmcDst2EmcRec(), setErr(), and EmcTrackCnv::TObjectToDataObject().

◆ eSeed()

Double_t TEmcTrack::eSeed ( ) const
inline

Definition at line 39 of file TEmcTrack.h.

39{return m_eSeed;}

Referenced by cvtEmcDst2EmcRec(), setESeed(), and EmcTrackCnv::TObjectToDataObject().

◆ latMoment()

Double_t TEmcTrack::latMoment ( ) const
inline

Definition at line 44 of file TEmcTrack.h.

44{return m_latMoment;}

Referenced by cvtEmcDst2EmcRec(), setLatMoment(), and EmcTrackCnv::TObjectToDataObject().

◆ module()

Int_t TEmcTrack::module ( ) const
inline

Definition at line 23 of file TEmcTrack.h.

23{ return m_module; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ numHits()

Int_t TEmcTrack::numHits ( ) const
inline

Definition at line 20 of file TEmcTrack.h.

20{ return m_numHits; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ phi()

Double_t TEmcTrack::phi ( ) const
inline

Definition at line 30 of file TEmcTrack.h.

30 {
31 return (m_x == 0.0 && m_y == 0.0) ? 0.0 : std::atan2(m_y,m_x);}

Referenced by cvtEmcDst2EmcRec().

◆ secondMoment()

Double_t TEmcTrack::secondMoment ( ) const
inline

Definition at line 43 of file TEmcTrack.h.

43{return m_secondMoment;}

Referenced by cvtEmcDst2EmcRec(), setSecondMoment(), and EmcTrackCnv::TObjectToDataObject().

◆ setA20Moment()

void TEmcTrack::setA20Moment ( const Double_t a20Moment)
inline

Definition at line 68 of file TEmcTrack.h.

68{ m_a20Moment = a20Moment; }
Double_t a20Moment() const
Definition TEmcTrack.h:45

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setA42Moment()

void TEmcTrack::setA42Moment ( const Double_t a42Moment)
inline

Definition at line 69 of file TEmcTrack.h.

69{ m_a42Moment = a42Moment; }
Double_t a42Moment() const
Definition TEmcTrack.h:46

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setCellId()

void TEmcTrack::setCellId ( const Int_t id)
inline

Definition at line 53 of file TEmcTrack.h.

53{ m_cellId = id; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setDE()

void TEmcTrack::setDE ( const Double_t de)
inline

Definition at line 59 of file TEmcTrack.h.

59{ m_dE = de; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setDphi()

void TEmcTrack::setDphi ( const Double_t dpi)
inline

Definition at line 61 of file TEmcTrack.h.

61{ m_dPhi = dpi ; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setDtheta()

void TEmcTrack::setDtheta ( const Double_t dt)
inline

Definition at line 60 of file TEmcTrack.h.

60{ m_dTheta = dt; }
TGraph2DErrors * dt
Definition McCor.cxx:45

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setE3x3()

void TEmcTrack::setE3x3 ( const Double_t e3x3)
inline

Definition at line 63 of file TEmcTrack.h.

63{ m_e3x3 = e3x3 ; }
Double_t e3x3() const
Definition TEmcTrack.h:40

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setE5x5()

void TEmcTrack::setE5x5 ( const Double_t e5x5)
inline

Definition at line 64 of file TEmcTrack.h.

64{ m_e5x5 = e5x5 ; }
Double_t e5x5() const
Definition TEmcTrack.h:41

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setEnergy()

void TEmcTrack::setEnergy ( const Double_t e)
inline

Definition at line 58 of file TEmcTrack.h.

58{ m_energy = e ; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setErr()

void TEmcTrack::setErr ( const Double_t err[6])

Definition at line 20 of file TEmcTrack.cxx.

20 {
21 for (int i=0;i<6;i++) {
22 m_err[i] = err[i];
23 }
24}
Double_t err(Int_t i) const
Definition TEmcTrack.h:47

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setESeed()

void TEmcTrack::setESeed ( const Double_t eSeed)
inline

Definition at line 62 of file TEmcTrack.h.

62{ m_eSeed = eSeed ; }
Double_t eSeed() const
Definition TEmcTrack.h:39

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setLatMoment()

void TEmcTrack::setLatMoment ( const Double_t latMoment)
inline

Definition at line 67 of file TEmcTrack.h.

67{ m_latMoment = latMoment; }
Double_t latMoment() const
Definition TEmcTrack.h:44

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setModule()

void TEmcTrack::setModule ( const Int_t mod)
inline

Definition at line 54 of file TEmcTrack.h.

54{ m_module = mod; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setNumHits()

void TEmcTrack::setNumHits ( const Int_t hit)
inline

Definition at line 51 of file TEmcTrack.h.

51{ m_numHits = hit; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setSecondMoment()

void TEmcTrack::setSecondMoment ( const Double_t secondMoment)
inline

Definition at line 66 of file TEmcTrack.h.

66{ m_secondMoment = secondMoment; }
Double_t secondMoment() const
Definition TEmcTrack.h:43

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setStatus()

void TEmcTrack::setStatus ( const Int_t st)
inline

Definition at line 52 of file TEmcTrack.h.

52{ m_status = st; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setTime()

void TEmcTrack::setTime ( const Double_t time)
inline

Definition at line 65 of file TEmcTrack.h.

65{ m_time = time ; }
Double_t time() const
Definition TEmcTrack.h:42

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setTrackId()

void TEmcTrack::setTrackId ( const Int_t trackId)
inline

Definition at line 50 of file TEmcTrack.h.

50{ m_trackId = trackId; }
Int_t trackId() const
Definition TEmcTrack.h:19

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setX()

void TEmcTrack::setX ( const Double_t x)
inline

Definition at line 55 of file TEmcTrack.h.

55{ m_x = x ; }
Double_t x() const
Definition TEmcTrack.h:24

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setY()

void TEmcTrack::setY ( const Double_t y)
inline

Definition at line 56 of file TEmcTrack.h.

56{ m_y = y ; }
Double_t y() const
Definition TEmcTrack.h:25

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setZ()

void TEmcTrack::setZ ( const Double_t z)
inline

Definition at line 57 of file TEmcTrack.h.

57{ m_z = z ; }
Double_t z() const
Definition TEmcTrack.h:26

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ status()

Int_t TEmcTrack::status ( ) const
inline

Definition at line 21 of file TEmcTrack.h.

21{ return m_status; }

Referenced by cvtEmcDst2EmcRec(), and EmcTrackCnv::TObjectToDataObject().

◆ theta()

Double_t TEmcTrack::theta ( ) const
inline

Definition at line 27 of file TEmcTrack.h.

27 {
28 return (m_x == 0.0 && m_y == 0.0 && m_z == 0.0) ? 0.0 :
29 std::atan2(std::sqrt(m_x*m_x+m_y*m_y),m_z); }

Referenced by cvtEmcDst2EmcRec().

◆ time()

Double_t TEmcTrack::time ( ) const
inline

Definition at line 42 of file TEmcTrack.h.

42{return m_time;}

Referenced by cvtEmcDst2EmcRec(), setTime(), and EmcTrackCnv::TObjectToDataObject().

◆ trackId()

Int_t TEmcTrack::trackId ( ) const
inline

Definition at line 19 of file TEmcTrack.h.

19{ return m_trackId; }

Referenced by cvtEmcDst2EmcRec(), setTrackId(), and EmcTrackCnv::TObjectToDataObject().

◆ x()

Double_t TEmcTrack::x ( ) const
inline

Definition at line 24 of file TEmcTrack.h.

24{ return m_x; }

Referenced by cvtEmcDst2EmcRec(), setX(), and EmcTrackCnv::TObjectToDataObject().

◆ y()

Double_t TEmcTrack::y ( ) const
inline

Definition at line 25 of file TEmcTrack.h.

25{ return m_y; }

Referenced by cvtEmcDst2EmcRec(), setY(), and EmcTrackCnv::TObjectToDataObject().

◆ z()

Double_t TEmcTrack::z ( ) const
inline

Definition at line 26 of file TEmcTrack.h.

26{ return m_z; }

Referenced by cvtEmcDst2EmcRec(), setZ(), and EmcTrackCnv::TObjectToDataObject().


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