BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TRecEmcShower Class Reference

#include <TRecEmcShower.h>

+ Inheritance diagram for TRecEmcShower:

Public Member Functions

 TRecEmcShower ()
 
 ~TRecEmcShower ()
 
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 dtheta () const
 
Double_t phi () 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 eAll () const
 
Double_t eLepton () 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
 
map< Int_t, Double_t > cellIdMap () const
 
vector< Int_t > cellId3x3 () const
 
vector< Int_t > cellId5x5 () const
 
Int_t clusterId () 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 setTheta (const Double_t theta)
 
void setDtheta (const Double_t dt)
 
void setPhi (const Double_t pi)
 
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 setEAll (const Double_t eall)
 
void setELepton (const Double_t elepton)
 
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])
 
void setCellIdMap (const map< Int_t, Double_t > &cellIdMap)
 
void setCellId3x3 (const vector< Int_t > &cellId3x3)
 
void setCellId5x5 (const vector< Int_t > &cellId5x5)
 
void setClusterId (const Int_t clusterId)
 
void setTRecEmcShower (const TRecEmcShower *emcshower)
 

Detailed Description

Definition at line 11 of file TRecEmcShower.h.

Constructor & Destructor Documentation

◆ TRecEmcShower()

TRecEmcShower::TRecEmcShower ( )

◆ ~TRecEmcShower()

TRecEmcShower::~TRecEmcShower ( )

Definition at line 12 of file TRecEmcShower.cxx.

12 {
13 Clear();
14}

Member Function Documentation

◆ a20Moment()

Double_t TRecEmcShower::a20Moment ( ) const
inline

Definition at line 45 of file TRecEmcShower.h.

45{return m_a20Moment;}

Referenced by setA20Moment(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ a42Moment()

Double_t TRecEmcShower::a42Moment ( ) const
inline

Definition at line 46 of file TRecEmcShower.h.

46{return m_a42Moment;}

Referenced by setA42Moment(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ cellId()

Int_t TRecEmcShower::cellId ( ) const
inline

Definition at line 26 of file TRecEmcShower.h.

26{ return m_cellId; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ cellId3x3()

vector< Int_t > TRecEmcShower::cellId3x3 ( ) const
inline

Definition at line 50 of file TRecEmcShower.h.

50{ return m_cellId3x3; }

Referenced by setCellId3x3(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ cellId5x5()

vector< Int_t > TRecEmcShower::cellId5x5 ( ) const
inline

Definition at line 51 of file TRecEmcShower.h.

51{ return m_cellId5x5; }

Referenced by setCellId5x5(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ cellIdMap()

map< Int_t, Double_t > TRecEmcShower::cellIdMap ( ) const
inline

Definition at line 49 of file TRecEmcShower.h.

49{ return m_cellIdMap; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setCellIdMap(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ clusterId()

Int_t TRecEmcShower::clusterId ( ) const
inline

Definition at line 52 of file TRecEmcShower.h.

52{ return m_clusterId; }

Referenced by setClusterId(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ dE()

Double_t TRecEmcShower::dE ( ) const
inline

Definition at line 36 of file TRecEmcShower.h.

36{ return m_dE; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ dphi()

Double_t TRecEmcShower::dphi ( ) const
inline

Definition at line 34 of file TRecEmcShower.h.

34{ return m_dPhi; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ dtheta()

Double_t TRecEmcShower::dtheta ( ) const
inline

Definition at line 32 of file TRecEmcShower.h.

32{ return m_dTheta; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ e3x3()

Double_t TRecEmcShower::e3x3 ( ) const
inline

Definition at line 38 of file TRecEmcShower.h.

38{return m_e3x3;}

Referenced by setE3x3(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ e5x5()

Double_t TRecEmcShower::e5x5 ( ) const
inline

Definition at line 39 of file TRecEmcShower.h.

39{return m_e5x5;}

Referenced by setE5x5(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ eAll()

Double_t TRecEmcShower::eAll ( ) const
inline

Definition at line 40 of file TRecEmcShower.h.

40{ return m_eall; }

Referenced by setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ eLepton()

Double_t TRecEmcShower::eLepton ( ) const
inline

Definition at line 41 of file TRecEmcShower.h.

41{ return m_elepton; }

Referenced by setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ energy()

Double_t TRecEmcShower::energy ( ) const
inline

◆ err()

Double_t TRecEmcShower::err ( Int_t  i) const
inline

Definition at line 47 of file TRecEmcShower.h.

47{ return m_err[i]; }

Referenced by setErr(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ eSeed()

Double_t TRecEmcShower::eSeed ( ) const
inline

Definition at line 37 of file TRecEmcShower.h.

37{return m_eSeed;}

Referenced by setESeed(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ latMoment()

Double_t TRecEmcShower::latMoment ( ) const
inline

Definition at line 44 of file TRecEmcShower.h.

44{return m_latMoment;}

Referenced by setLatMoment(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ module()

Int_t TRecEmcShower::module ( ) const
inline

Definition at line 27 of file TRecEmcShower.h.

27{ return m_module; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ numHits()

Int_t TRecEmcShower::numHits ( ) const
inline

Definition at line 24 of file TRecEmcShower.h.

24{ return m_numHits; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ phi()

Double_t TRecEmcShower::phi ( ) const
inline

Definition at line 33 of file TRecEmcShower.h.

33{ return m_phi; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ secondMoment()

Double_t TRecEmcShower::secondMoment ( ) const
inline

Definition at line 43 of file TRecEmcShower.h.

43{return m_secondMoment;}

Referenced by setSecondMoment(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ setA20Moment()

void TRecEmcShower::setA20Moment ( const Double_t  a20Moment)
inline

Definition at line 77 of file TRecEmcShower.h.

77{ m_a20Moment = a20Moment; }
Double_t a20Moment() const
Definition: TRecEmcShower.h:45

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setA42Moment()

void TRecEmcShower::setA42Moment ( const Double_t  a42Moment)
inline

Definition at line 78 of file TRecEmcShower.h.

78{ m_a42Moment = a42Moment; }
Double_t a42Moment() const
Definition: TRecEmcShower.h:46

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setCellId()

void TRecEmcShower::setCellId ( const Int_t  id)
inline

Definition at line 58 of file TRecEmcShower.h.

58{ m_cellId = id; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setCellId3x3()

void TRecEmcShower::setCellId3x3 ( const vector< Int_t > &  cellId3x3)
inline

Definition at line 82 of file TRecEmcShower.h.

82{ m_cellId3x3 = cellId3x3; }
vector< Int_t > cellId3x3() const
Definition: TRecEmcShower.h:50

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setCellId5x5()

void TRecEmcShower::setCellId5x5 ( const vector< Int_t > &  cellId5x5)
inline

Definition at line 83 of file TRecEmcShower.h.

83{ m_cellId5x5 = cellId5x5; }
vector< Int_t > cellId5x5() const
Definition: TRecEmcShower.h:51

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setCellIdMap()

void TRecEmcShower::setCellIdMap ( const map< Int_t, Double_t > &  cellIdMap)
inline

Definition at line 81 of file TRecEmcShower.h.

81{ m_cellIdMap = cellIdMap; }
map< Int_t, Double_t > cellIdMap() const
Definition: TRecEmcShower.h:49

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setClusterId()

void TRecEmcShower::setClusterId ( const Int_t  clusterId)
inline

Definition at line 84 of file TRecEmcShower.h.

84{ m_clusterId = clusterId; }
Int_t clusterId() const
Definition: TRecEmcShower.h:52

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setDE()

void TRecEmcShower::setDE ( const Double_t  de)
inline

Definition at line 64 of file TRecEmcShower.h.

64{ m_dE = de; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setDphi()

void TRecEmcShower::setDphi ( const Double_t  dpi)
inline

Definition at line 68 of file TRecEmcShower.h.

68{ m_dPhi = dpi ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setDtheta()

void TRecEmcShower::setDtheta ( const Double_t  dt)
inline

Definition at line 66 of file TRecEmcShower.h.

66{ m_dTheta = dt; }
TGraphErrors * dt
Definition: AbsCor.cxx:72

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setE3x3()

void TRecEmcShower::setE3x3 ( const Double_t  e3x3)
inline

Definition at line 70 of file TRecEmcShower.h.

70{ m_e3x3 = e3x3 ; }
Double_t e3x3() const
Definition: TRecEmcShower.h:38

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setE5x5()

void TRecEmcShower::setE5x5 ( const Double_t  e5x5)
inline

Definition at line 71 of file TRecEmcShower.h.

71{ m_e5x5 = e5x5 ; }
Double_t e5x5() const
Definition: TRecEmcShower.h:39

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setEAll()

void TRecEmcShower::setEAll ( const Double_t  eall)
inline

Definition at line 72 of file TRecEmcShower.h.

72{ m_eall = eall ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setELepton()

void TRecEmcShower::setELepton ( const Double_t  elepton)
inline

Definition at line 73 of file TRecEmcShower.h.

73{ m_elepton = elepton ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setEnergy()

void TRecEmcShower::setEnergy ( const Double_t  e)
inline

Definition at line 63 of file TRecEmcShower.h.

63{ m_energy = e ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setErr()

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

Definition at line 16 of file TRecEmcShower.cxx.

16 {
17 for (int i=0;i<6;i++) {
18 m_err[i] = err[i];
19 }
20}
Double_t err(Int_t i) const
Definition: TRecEmcShower.h:47

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setESeed()

void TRecEmcShower::setESeed ( const Double_t  eSeed)
inline

Definition at line 69 of file TRecEmcShower.h.

69{ m_eSeed = eSeed ; }
Double_t eSeed() const
Definition: TRecEmcShower.h:37

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setLatMoment()

void TRecEmcShower::setLatMoment ( const Double_t  latMoment)
inline

Definition at line 76 of file TRecEmcShower.h.

76{ m_latMoment = latMoment; }
Double_t latMoment() const
Definition: TRecEmcShower.h:44

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setModule()

void TRecEmcShower::setModule ( const Int_t  mod)
inline

Definition at line 59 of file TRecEmcShower.h.

59{ m_module = mod; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setNumHits()

void TRecEmcShower::setNumHits ( const Int_t  hit)
inline

Definition at line 56 of file TRecEmcShower.h.

56{ m_numHits = hit; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setPhi()

void TRecEmcShower::setPhi ( const Double_t  pi)
inline

Definition at line 67 of file TRecEmcShower.h.

67{ m_phi = pi ; }
const float pi
Definition: vector3.h:133

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setSecondMoment()

void TRecEmcShower::setSecondMoment ( const Double_t  secondMoment)
inline

Definition at line 75 of file TRecEmcShower.h.

75{ m_secondMoment = secondMoment; }
Double_t secondMoment() const
Definition: TRecEmcShower.h:43

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setStatus()

void TRecEmcShower::setStatus ( const Int_t  st)
inline

Definition at line 57 of file TRecEmcShower.h.

57{ m_status = st; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setTheta()

void TRecEmcShower::setTheta ( const Double_t  theta)
inline

Definition at line 65 of file TRecEmcShower.h.

65{ m_theta = theta ; }
Double_t theta() const
Definition: TRecEmcShower.h:31

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setTime()

void TRecEmcShower::setTime ( const Double_t  time)
inline

Definition at line 74 of file TRecEmcShower.h.

74{ m_time = time; }
Double_t time() const
Definition: TRecEmcShower.h:42

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setTrackId()

void TRecEmcShower::setTrackId ( const Int_t  trackId)
inline

Definition at line 55 of file TRecEmcShower.h.

55{ m_trackId = trackId; }
Int_t trackId() const
Definition: TRecEmcShower.h:23

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setTRecEmcShower()

void TRecEmcShower::setTRecEmcShower ( const TRecEmcShower emcshower)
inline

Definition at line 85 of file TRecEmcShower.h.

85 {
86 m_trackId = emcshower->trackId();
87 m_numHits = emcshower->numHits();
88 m_status = emcshower->status();
89 m_cellId = emcshower->cellId();
90 m_module = emcshower->module();
91 m_x = emcshower->x();
92 m_y = emcshower->y();
93 m_z = emcshower->z();
94 m_theta = emcshower->theta();
95 m_dTheta = emcshower->dtheta();
96 m_phi = emcshower->phi();
97 m_dPhi = emcshower->dphi();
98 m_energy = emcshower->energy();
99 m_dE = emcshower->dE();
100 m_eSeed = emcshower->eSeed();
101 m_e3x3 = emcshower->e3x3();
102 m_e5x5 = emcshower->e5x5();
103 m_eall = emcshower->eAll();
104 m_elepton = emcshower->eLepton();
105 m_time = emcshower->time();
106 m_secondMoment = emcshower->secondMoment();
107 m_latMoment = emcshower->latMoment();
108 m_a20Moment = emcshower->a20Moment();
109 m_a42Moment = emcshower->a42Moment();
110 for(int i=0;i<6;i++){
111 m_err[i] = emcshower->err(i);
112 }
113 m_cellIdMap = emcshower->cellIdMap();
114 m_cellId3x3 = emcshower->cellId3x3();
115 m_cellId5x5 = emcshower->cellId5x5();
116 m_clusterId = emcshower->clusterId();
117 }
Int_t module() const
Definition: TRecEmcShower.h:27
Double_t phi() const
Definition: TRecEmcShower.h:33
Double_t z() const
Definition: TRecEmcShower.h:30
Double_t dtheta() const
Definition: TRecEmcShower.h:32
Double_t dphi() const
Definition: TRecEmcShower.h:34
Int_t cellId() const
Definition: TRecEmcShower.h:26
Double_t x() const
Definition: TRecEmcShower.h:28
Double_t eLepton() const
Definition: TRecEmcShower.h:41
Double_t eAll() const
Definition: TRecEmcShower.h:40
Int_t status() const
Definition: TRecEmcShower.h:25
Double_t dE() const
Definition: TRecEmcShower.h:36
Double_t energy() const
Definition: TRecEmcShower.h:35
Double_t y() const
Definition: TRecEmcShower.h:29
Int_t numHits() const
Definition: TRecEmcShower.h:24

◆ setX()

void TRecEmcShower::setX ( const Double_t  x)
inline

Definition at line 60 of file TRecEmcShower.h.

60{ m_x = x ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setY()

void TRecEmcShower::setY ( const Double_t  y)
inline

Definition at line 61 of file TRecEmcShower.h.

61{ m_y = y ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ setZ()

void TRecEmcShower::setZ ( const Double_t  z)
inline

Definition at line 62 of file TRecEmcShower.h.

62{ m_z = z ; }

Referenced by RecEmcShowerCnv::DataObjectToTObject().

◆ status()

Int_t TRecEmcShower::status ( ) const
inline

Definition at line 25 of file TRecEmcShower.h.

25{ return m_status; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ theta()

Double_t TRecEmcShower::theta ( ) const
inline

◆ time()

Double_t TRecEmcShower::time ( ) const
inline

Definition at line 42 of file TRecEmcShower.h.

42{ return m_time; }

Referenced by setTime(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ trackId()

Int_t TRecEmcShower::trackId ( ) const
inline

Definition at line 23 of file TRecEmcShower.h.

23{ return m_trackId; }

Referenced by BesEvent::ConstructEmcTrackFromRec(), setTrackId(), setTRecEmcShower(), and RecEmcShowerCnv::TObjectToDataObject().

◆ x()

Double_t TRecEmcShower::x ( ) const
inline

◆ y()

Double_t TRecEmcShower::y ( ) const
inline

◆ z()

Double_t TRecEmcShower::z ( ) const
inline

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