BOSS 7.0.4
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])
 
 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

Constructor & Destructor Documentation

◆ TEmcTrack() [1/2]

TEmcTrack::TEmcTrack ( )

◆ ~TEmcTrack() [1/2]

TEmcTrack::~TEmcTrack ( )

Definition at line 16 of file TEmcTrack.cxx.

16 {
17 Clear();
18}

◆ TEmcTrack() [2/2]

TEmcTrack::TEmcTrack ( )

◆ ~TEmcTrack() [2/2]

TEmcTrack::~TEmcTrack ( )

Member Function Documentation

◆ a20Moment() [1/2]

Double_t TEmcTrack::a20Moment ( ) const
inline

◆ a20Moment() [2/2]

Double_t TEmcTrack::a20Moment ( ) const
inline

Definition at line 45 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

45{return m_a20Moment;}

◆ a42Moment() [1/2]

Double_t TEmcTrack::a42Moment ( ) const
inline

◆ a42Moment() [2/2]

Double_t TEmcTrack::a42Moment ( ) const
inline

Definition at line 46 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

46{return m_a42Moment;}

◆ cellId() [1/2]

Int_t TEmcTrack::cellId ( ) const
inline

◆ cellId() [2/2]

Int_t TEmcTrack::cellId ( ) const
inline

Definition at line 22 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

22{ return m_cellId; }

◆ dE() [1/2]

Double_t TEmcTrack::dE ( ) const
inline

◆ dE() [2/2]

Double_t TEmcTrack::dE ( ) const
inline

Definition at line 38 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

38{ return m_dE; }

◆ dphi() [1/2]

Double_t TEmcTrack::dphi ( ) const
inline

◆ dphi() [2/2]

Double_t TEmcTrack::dphi ( ) const
inline

Definition at line 36 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

36{ return m_dPhi; }

◆ dtheta() [1/2]

Double_t TEmcTrack::dtheta ( ) const
inline

◆ dtheta() [2/2]

Double_t TEmcTrack::dtheta ( ) const
inline

Definition at line 35 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

35{ return m_dTheta; }

◆ dx() [1/2]

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}

◆ dx() [2/2]

Double_t TEmcTrack::dx ( ) const

◆ dy() [1/2]

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}

◆ dy() [2/2]

Double_t TEmcTrack::dy ( ) const

◆ dz() [1/2]

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}

◆ dz() [2/2]

Double_t TEmcTrack::dz ( ) const

◆ e3x3() [1/2]

Double_t TEmcTrack::e3x3 ( ) const
inline

◆ e3x3() [2/2]

Double_t TEmcTrack::e3x3 ( ) const
inline

Definition at line 40 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

40{return m_e3x3;}

◆ e5x5() [1/2]

Double_t TEmcTrack::e5x5 ( ) const
inline

◆ e5x5() [2/2]

Double_t TEmcTrack::e5x5 ( ) const
inline

Definition at line 41 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

41{return m_e5x5;}

◆ energy() [1/2]

Double_t TEmcTrack::energy ( ) const
inline

◆ energy() [2/2]

Double_t TEmcTrack::energy ( ) const
inline

Definition at line 37 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

37{ return m_energy; }

◆ err() [1/2]

Double_t TEmcTrack::err ( Int_t  i) const
inline

◆ err() [2/2]

Double_t TEmcTrack::err ( Int_t  i) const
inline

Definition at line 47 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

47{ return m_err[i]; }

◆ eSeed() [1/2]

Double_t TEmcTrack::eSeed ( ) const
inline

◆ eSeed() [2/2]

Double_t TEmcTrack::eSeed ( ) const
inline

Definition at line 39 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

39{return m_eSeed;}

◆ latMoment() [1/2]

Double_t TEmcTrack::latMoment ( ) const
inline

◆ latMoment() [2/2]

Double_t TEmcTrack::latMoment ( ) const
inline

Definition at line 44 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

44{return m_latMoment;}

◆ module() [1/2]

Int_t TEmcTrack::module ( ) const
inline

◆ module() [2/2]

Int_t TEmcTrack::module ( ) const
inline

Definition at line 23 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

23{ return m_module; }

◆ numHits() [1/2]

Int_t TEmcTrack::numHits ( ) const
inline

◆ numHits() [2/2]

Int_t TEmcTrack::numHits ( ) const
inline

Definition at line 20 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

20{ return m_numHits; }

◆ phi() [1/2]

Double_t TEmcTrack::phi ( ) const
inline

Definition at line 30 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/TEmcTrack.h.

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

Referenced by cvtEmcDst2EmcRec().

◆ phi() [2/2]

Double_t TEmcTrack::phi ( ) const
inline

Definition at line 30 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

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

◆ secondMoment() [1/2]

Double_t TEmcTrack::secondMoment ( ) const
inline

◆ secondMoment() [2/2]

Double_t TEmcTrack::secondMoment ( ) const
inline

Definition at line 43 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

43{return m_secondMoment;}

◆ setA20Moment() [1/2]

void TEmcTrack::setA20Moment ( const Double_t  a20Moment)
inline

◆ setA20Moment() [2/2]

void TEmcTrack::setA20Moment ( const Double_t  a20Moment)
inline

Definition at line 68 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

68{ m_a20Moment = a20Moment; }

◆ setA42Moment() [1/2]

void TEmcTrack::setA42Moment ( const Double_t  a42Moment)
inline

◆ setA42Moment() [2/2]

void TEmcTrack::setA42Moment ( const Double_t  a42Moment)
inline

Definition at line 69 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

69{ m_a42Moment = a42Moment; }

◆ setCellId() [1/2]

void TEmcTrack::setCellId ( const Int_t  id)
inline

◆ setCellId() [2/2]

void TEmcTrack::setCellId ( const Int_t  id)
inline

Definition at line 53 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

53{ m_cellId = id; }

◆ setDE() [1/2]

void TEmcTrack::setDE ( const Double_t  de)
inline

◆ setDE() [2/2]

void TEmcTrack::setDE ( const Double_t  de)
inline

Definition at line 59 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

59{ m_dE = de; }

◆ setDphi() [1/2]

void TEmcTrack::setDphi ( const Double_t  dpi)
inline

◆ setDphi() [2/2]

void TEmcTrack::setDphi ( const Double_t  dpi)
inline

Definition at line 61 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

61{ m_dPhi = dpi ; }

◆ setDtheta() [1/2]

void TEmcTrack::setDtheta ( const Double_t  dt)
inline

Definition at line 60 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/TEmcTrack.h.

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

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setDtheta() [2/2]

void TEmcTrack::setDtheta ( const Double_t  dt)
inline

Definition at line 60 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

60{ m_dTheta = dt; }

◆ setE3x3() [1/2]

void TEmcTrack::setE3x3 ( const Double_t  e3x3)
inline

◆ setE3x3() [2/2]

void TEmcTrack::setE3x3 ( const Double_t  e3x3)
inline

Definition at line 63 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

63{ m_e3x3 = e3x3 ; }

◆ setE5x5() [1/2]

void TEmcTrack::setE5x5 ( const Double_t  e5x5)
inline

◆ setE5x5() [2/2]

void TEmcTrack::setE5x5 ( const Double_t  e5x5)
inline

Definition at line 64 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

64{ m_e5x5 = e5x5 ; }

◆ setEnergy() [1/2]

void TEmcTrack::setEnergy ( const Double_t  e)
inline

◆ setEnergy() [2/2]

void TEmcTrack::setEnergy ( const Double_t  e)
inline

Definition at line 58 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

58{ m_energy = e ; }

◆ setErr() [1/2]

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}

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setErr() [2/2]

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

◆ setESeed() [1/2]

void TEmcTrack::setESeed ( const Double_t  eSeed)
inline

◆ setESeed() [2/2]

void TEmcTrack::setESeed ( const Double_t  eSeed)
inline

Definition at line 62 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

62{ m_eSeed = eSeed ; }

◆ setLatMoment() [1/2]

void TEmcTrack::setLatMoment ( const Double_t  latMoment)
inline

◆ setLatMoment() [2/2]

void TEmcTrack::setLatMoment ( const Double_t  latMoment)
inline

Definition at line 67 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

67{ m_latMoment = latMoment; }

◆ setModule() [1/2]

void TEmcTrack::setModule ( const Int_t  mod)
inline

◆ setModule() [2/2]

void TEmcTrack::setModule ( const Int_t  mod)
inline

Definition at line 54 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

54{ m_module = mod; }

◆ setNumHits() [1/2]

void TEmcTrack::setNumHits ( const Int_t  hit)
inline

Definition at line 51 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/TEmcTrack.h.

51{ m_numHits = hit; }

Referenced by EmcTrackCnv::DataObjectToTObject().

◆ setNumHits() [2/2]

void TEmcTrack::setNumHits ( const Int_t  hit)
inline

Definition at line 51 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

51{ m_numHits = hit; }

◆ setSecondMoment() [1/2]

void TEmcTrack::setSecondMoment ( const Double_t  secondMoment)
inline

◆ setSecondMoment() [2/2]

void TEmcTrack::setSecondMoment ( const Double_t  secondMoment)
inline

Definition at line 66 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

66{ m_secondMoment = secondMoment; }

◆ setStatus() [1/2]

void TEmcTrack::setStatus ( const Int_t  st)
inline

◆ setStatus() [2/2]

void TEmcTrack::setStatus ( const Int_t  st)
inline

Definition at line 52 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

52{ m_status = st; }

◆ setTime() [1/2]

void TEmcTrack::setTime ( const Double_t  time)
inline

◆ setTime() [2/2]

void TEmcTrack::setTime ( const Double_t  time)
inline

Definition at line 65 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

65{ m_time = time ; }

◆ setTrackId() [1/2]

void TEmcTrack::setTrackId ( const Int_t  trackId)
inline

◆ setTrackId() [2/2]

void TEmcTrack::setTrackId ( const Int_t  trackId)
inline

Definition at line 50 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

50{ m_trackId = trackId; }

◆ setX() [1/2]

void TEmcTrack::setX ( const Double_t  x)
inline

◆ setX() [2/2]

void TEmcTrack::setX ( const Double_t  x)
inline

Definition at line 55 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

55{ m_x = x ; }

◆ setY() [1/2]

void TEmcTrack::setY ( const Double_t  y)
inline

◆ setY() [2/2]

void TEmcTrack::setY ( const Double_t  y)
inline

Definition at line 56 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

56{ m_y = y ; }

◆ setZ() [1/2]

void TEmcTrack::setZ ( const Double_t  z)
inline

◆ setZ() [2/2]

void TEmcTrack::setZ ( const Double_t  z)
inline

Definition at line 57 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

57{ m_z = z ; }

◆ status() [1/2]

Int_t TEmcTrack::status ( ) const
inline

◆ status() [2/2]

Int_t TEmcTrack::status ( ) const
inline

Definition at line 21 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

21{ return m_status; }

◆ theta() [1/2]

Double_t TEmcTrack::theta ( ) const
inline

Definition at line 27 of file Event/RootEventData/RootEventData-00-03-80/RootEventData/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().

◆ theta() [2/2]

Double_t TEmcTrack::theta ( ) const
inline

Definition at line 27 of file InstallArea/include/RootEventData/RootEventData/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); }

◆ time() [1/2]

Double_t TEmcTrack::time ( ) const
inline

◆ time() [2/2]

Double_t TEmcTrack::time ( ) const
inline

Definition at line 42 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

42{return m_time;}

◆ trackId() [1/2]

Int_t TEmcTrack::trackId ( ) const
inline

◆ trackId() [2/2]

Int_t TEmcTrack::trackId ( ) const
inline

Definition at line 19 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

19{ return m_trackId; }

◆ x() [1/2]

Double_t TEmcTrack::x ( ) const
inline

◆ x() [2/2]

Double_t TEmcTrack::x ( ) const
inline

Definition at line 24 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

24{ return m_x; }

◆ y() [1/2]

Double_t TEmcTrack::y ( ) const
inline

◆ y() [2/2]

Double_t TEmcTrack::y ( ) const
inline

Definition at line 25 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

25{ return m_y; }

◆ z() [1/2]

Double_t TEmcTrack::z ( ) const
inline

◆ z() [2/2]

Double_t TEmcTrack::z ( ) const
inline

Definition at line 26 of file InstallArea/include/RootEventData/RootEventData/TEmcTrack.h.

26{ return m_z; }

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