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

#include <RecBTofHit.h>

+ Inheritance diagram for RecBTofHit:

Public Member Functions

 RecBTofHit ()
 
virtual ~RecBTofHit ()
 
virtual const CLID & clID () const
 
int getId () const
 
int getTrk () const
 
Identifier getTofID () const
 
int getMod () const
 
int getQual () const
 
double getZHit () const
 
double getdZHit () const
 
double getZTDC () const
 
double getZADC () const
 
double getPhHit () const
 
double getThTrk () const
 
double getPhTrk () const
 
double getPh () const
 
double getP () const
 
double getPath () const
 
double getTime () const
 
double getTof () const
 
double getETof () const
 
double getExpTof (int im) const
 
double getTt1 () const
 
double getTt2 () const
 
double getETt1 () const
 
double getETt2 () const
 
double getTm1 () const
 
double getTm2 () const
 
double getETm1 () const
 
double getETm2 () const
 
double getTr1 () const
 
double getTr2 () const
 
double getEtr1 () const
 
double getEtr2 () const
 
double getQ1 () const
 
double getQ2 () const
 
double getEQ1 () const
 
double getEQ2 () const
 
void setId (int id)
 
void setTrk (int trk)
 
void setTofID (Identifier tofID)
 
void setMod (int mod)
 
void setQual (int qual)
 
void setZHit (double zHit)
 
void setdZHit (double dzHit)
 
void setZTDC (double zTDC)
 
void setZADC (double zADC)
 
void setPhHit (double phHit)
 
void setThTrk (double thTrk)
 
void setPhTrk (double phTrk)
 
void setPh (double ph)
 
void setP (double p)
 
void setPath (double path)
 
void setTime (double time)
 
void setTof (double tof)
 
void setETof (double etof)
 
void setExpTof (double exptof, int im)
 
void setTt1 (double tt1)
 
void setTt2 (double tt2)
 
void setETt1 (double ett1)
 
void setETt2 (double ett2)
 
void setTm1 (double tm1)
 
void setTm2 (double tm2)
 
void setETm1 (double etm1)
 
void setETm2 (double etm2)
 
void setTr1 (double tr1)
 
void setTr2 (double tr2)
 
void setETr1 (double etr1)
 
void setETr2 (double etr2)
 
void setQ1 (double q1)
 
void setQ2 (double q2)
 
void setEQ1 (double eq1)
 
void setEQ2 (double eq2)
 
bool operator< (const RecBTofHit &rhs) const
 
bool operator> (const RecBTofHit &rhs) const
 
bool operator< (RecBTofHit *rhs) const
 
bool operator> (RecBTofHit *rhs) const
 
const RecBTofHitnext () const
 
void setnext (RecBTofHit *next)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 17 of file RecBTofHit.h.

Constructor & Destructor Documentation

◆ RecBTofHit()

RecBTofHit::RecBTofHit ( )

Definition at line 10 of file RecBTofHit.cxx.

10 {
11 _tofID=0;
12 _Id=_mod=_qual=_trk=-1;
13 _zHit=_zTDC=_zADC=_dzHit=_phHit=_thTrk=_phTrk=_ph=_p=_path=_time=-1.;
14 _tof=_etof=-1.;
15 _exptof[0]=-1.;
16 _exptof[1]=-1.;_exptof[2]=-1.;_exptof[3]=-1.;_exptof[4]=-1.;
17
18 _tt1=_tt2=_ett1=_ett2=-1.;
19 _tm1=_tm2=_etm1=_etm2=-1.;
20 _tr1=_tr2=_etr1=_etr2=-1.;
21 _q1=_q2=_eq1=_eq2=-1.;
22
23 m_next=NULL;
24}

◆ ~RecBTofHit()

virtual RecBTofHit::~RecBTofHit ( )
inlinevirtual

Definition at line 20 of file RecBTofHit.h.

20{}

Member Function Documentation

◆ classID()

static const CLID & RecBTofHit::classID ( )
inlinestatic

Definition at line 22 of file RecBTofHit.h.

22{ return CLID_RecBTofHit; }
const CLID & CLID_RecBTofHit
Definition: EventModel.cxx:319

Referenced by clID().

◆ clID()

virtual const CLID & RecBTofHit::clID ( ) const
inlinevirtual

Definition at line 21 of file RecBTofHit.h.

21{ return RecBTofHit::classID();}
static const CLID & classID()
Definition: RecBTofHit.h:22

◆ getdZHit()

double RecBTofHit::getdZHit ( ) const
inline

Definition at line 30 of file RecBTofHit.h.

30{ return _dzHit;}

◆ getEQ1()

double RecBTofHit::getEQ1 ( ) const
inline

Definition at line 57 of file RecBTofHit.h.

57{ return _eq1; }

◆ getEQ2()

double RecBTofHit::getEQ2 ( ) const
inline

Definition at line 58 of file RecBTofHit.h.

58{ return _eq2; }

◆ getETm1()

double RecBTofHit::getETm1 ( ) const
inline

Definition at line 49 of file RecBTofHit.h.

49{ return _etm1; }

◆ getETm2()

double RecBTofHit::getETm2 ( ) const
inline

Definition at line 50 of file RecBTofHit.h.

50{ return _etm2; }

◆ getETof()

double RecBTofHit::getETof ( ) const
inline

Definition at line 41 of file RecBTofHit.h.

41{ return _etof; }

◆ getEtr1()

double RecBTofHit::getEtr1 ( ) const
inline

Definition at line 53 of file RecBTofHit.h.

53{ return _etr1; }

◆ getEtr2()

double RecBTofHit::getEtr2 ( ) const
inline

Definition at line 54 of file RecBTofHit.h.

54{ return _etr2; }

◆ getETt1()

double RecBTofHit::getETt1 ( ) const
inline

Definition at line 45 of file RecBTofHit.h.

45{ return _ett1; }

◆ getETt2()

double RecBTofHit::getETt2 ( ) const
inline

Definition at line 46 of file RecBTofHit.h.

46{ return _ett2; }

◆ getExpTof()

double RecBTofHit::getExpTof ( int  im) const
inline

Definition at line 42 of file RecBTofHit.h.

42{ return _exptof[im]; }

◆ getId()

int RecBTofHit::getId ( ) const
inline

Definition at line 24 of file RecBTofHit.h.

24{ return _Id; }

◆ getMod()

int RecBTofHit::getMod ( ) const
inline

Definition at line 27 of file RecBTofHit.h.

27{ return _mod; }

◆ getP()

double RecBTofHit::getP ( ) const
inline

Definition at line 37 of file RecBTofHit.h.

37{ return _p;}

◆ getPath()

double RecBTofHit::getPath ( ) const
inline

Definition at line 38 of file RecBTofHit.h.

38{ return _path; }

◆ getPh()

double RecBTofHit::getPh ( ) const
inline

Definition at line 36 of file RecBTofHit.h.

36{ return _ph;}

◆ getPhHit()

double RecBTofHit::getPhHit ( ) const
inline

Definition at line 33 of file RecBTofHit.h.

33{ return _phHit;}

◆ getPhTrk()

double RecBTofHit::getPhTrk ( ) const
inline

Definition at line 35 of file RecBTofHit.h.

35{ return _phTrk;}

◆ getQ1()

double RecBTofHit::getQ1 ( ) const
inline

Definition at line 55 of file RecBTofHit.h.

55{ return _q1; }

Referenced by operator<(), and operator>().

◆ getQ2()

double RecBTofHit::getQ2 ( ) const
inline

Definition at line 56 of file RecBTofHit.h.

56{ return _q2; }

Referenced by operator<(), and operator>().

◆ getQual()

int RecBTofHit::getQual ( ) const
inline

Definition at line 28 of file RecBTofHit.h.

28{ return _qual; }

◆ getThTrk()

double RecBTofHit::getThTrk ( ) const
inline

Definition at line 34 of file RecBTofHit.h.

34{ return _thTrk;}

◆ getTime()

double RecBTofHit::getTime ( ) const
inline

Definition at line 39 of file RecBTofHit.h.

39{ return _time; }

◆ getTm1()

double RecBTofHit::getTm1 ( ) const
inline

Definition at line 47 of file RecBTofHit.h.

47{ return _tm1; }

◆ getTm2()

double RecBTofHit::getTm2 ( ) const
inline

Definition at line 48 of file RecBTofHit.h.

48{ return _tm2; }

◆ getTof()

double RecBTofHit::getTof ( ) const
inline

Definition at line 40 of file RecBTofHit.h.

40{ return _tof; }

◆ getTofID()

Identifier RecBTofHit::getTofID ( ) const
inline

Definition at line 26 of file RecBTofHit.h.

26{ return _tofID; }

◆ getTr1()

double RecBTofHit::getTr1 ( ) const
inline

Definition at line 51 of file RecBTofHit.h.

51{ return _tr1; }

◆ getTr2()

double RecBTofHit::getTr2 ( ) const
inline

Definition at line 52 of file RecBTofHit.h.

52{ return _tr2; }

◆ getTrk()

int RecBTofHit::getTrk ( ) const
inline

Definition at line 25 of file RecBTofHit.h.

25{ return _trk; }

◆ getTt1()

double RecBTofHit::getTt1 ( ) const
inline

Definition at line 43 of file RecBTofHit.h.

43{ return _tt1; }

◆ getTt2()

double RecBTofHit::getTt2 ( ) const
inline

Definition at line 44 of file RecBTofHit.h.

44{ return _tt2; }

◆ getZADC()

double RecBTofHit::getZADC ( ) const
inline

Definition at line 32 of file RecBTofHit.h.

32{ return _zADC;}

◆ getZHit()

double RecBTofHit::getZHit ( ) const
inline

Definition at line 29 of file RecBTofHit.h.

29{ return _zHit;}

◆ getZTDC()

double RecBTofHit::getZTDC ( ) const
inline

Definition at line 31 of file RecBTofHit.h.

31{ return _zTDC;}

◆ next()

const RecBTofHit * RecBTofHit::next ( ) const
inline

Definition at line 116 of file RecBTofHit.h.

116{ return m_next;}//if first layer,pointer to the second one,if second one,to the first one

Referenced by setnext().

◆ operator<() [1/2]

bool RecBTofHit::operator< ( const RecBTofHit rhs) const
inline

Definition at line 98 of file RecBTofHit.h.

98 {
99 //std::cout<<"be called once"<<std::endl;
100 return (_q1+_q2)<(rhs.getQ1()+rhs.getQ2());
101 }
double getQ2() const
Definition: RecBTofHit.h:56
double getQ1() const
Definition: RecBTofHit.h:55

◆ operator<() [2/2]

bool RecBTofHit::operator< ( RecBTofHit rhs) const
inline

Definition at line 107 of file RecBTofHit.h.

107 {
108// std::cout<<"be call once"<<std::endl;
109 return (_q1+_q2)<(rhs->getQ1()+rhs->getQ2());
110 }

◆ operator>() [1/2]

bool RecBTofHit::operator> ( const RecBTofHit rhs) const
inline

Definition at line 102 of file RecBTofHit.h.

102 {
103 //std::cout<<"be called once"<<std::endl;
104 return (_q1+_q2)>(rhs.getQ1()+rhs.getQ2());
105 }

◆ operator>() [2/2]

bool RecBTofHit::operator> ( RecBTofHit rhs) const
inline

Definition at line 111 of file RecBTofHit.h.

111 {
112 std::cout<<"be call once"<<std::endl;
113 return (_q1+_q2)>(rhs->getQ1()+rhs->getQ2());
114 }

◆ setdZHit()

void RecBTofHit::setdZHit ( double  dzHit)
inline

Definition at line 67 of file RecBTofHit.h.

67{ _dzHit=dzHit; }

◆ setEQ1()

void RecBTofHit::setEQ1 ( double  eq1)
inline

Definition at line 94 of file RecBTofHit.h.

94{ _eq1=eq1; }

◆ setEQ2()

void RecBTofHit::setEQ2 ( double  eq2)
inline

Definition at line 95 of file RecBTofHit.h.

95{ _eq2=eq2; }

◆ setETm1()

void RecBTofHit::setETm1 ( double  etm1)
inline

Definition at line 86 of file RecBTofHit.h.

86{ _etm1=etm1; }

◆ setETm2()

void RecBTofHit::setETm2 ( double  etm2)
inline

Definition at line 87 of file RecBTofHit.h.

87{ _etm2=etm2; }

◆ setETof()

void RecBTofHit::setETof ( double  etof)
inline

Definition at line 78 of file RecBTofHit.h.

78{ _etof=etof; }

◆ setETr1()

void RecBTofHit::setETr1 ( double  etr1)
inline

Definition at line 90 of file RecBTofHit.h.

90{ _etr1=etr1; }

◆ setETr2()

void RecBTofHit::setETr2 ( double  etr2)
inline

Definition at line 91 of file RecBTofHit.h.

91{ _etr2=etr2; }

◆ setETt1()

void RecBTofHit::setETt1 ( double  ett1)
inline

Definition at line 82 of file RecBTofHit.h.

82{ _ett1=ett1; }

◆ setETt2()

void RecBTofHit::setETt2 ( double  ett2)
inline

Definition at line 83 of file RecBTofHit.h.

83{ _ett2=ett2; }

◆ setExpTof()

void RecBTofHit::setExpTof ( double  exptof,
int  im 
)
inline

Definition at line 79 of file RecBTofHit.h.

79{ _exptof[im]=exptof; }

◆ setId()

void RecBTofHit::setId ( int  id)
inline

Definition at line 61 of file RecBTofHit.h.

61{ _Id=id; }

◆ setMod()

void RecBTofHit::setMod ( int  mod)
inline

Definition at line 64 of file RecBTofHit.h.

64{ _mod=mod; }

◆ setnext()

void RecBTofHit::setnext ( RecBTofHit next)
inline

Definition at line 117 of file RecBTofHit.h.

117{ m_next=next;}
const RecBTofHit * next() const
Definition: RecBTofHit.h:116

◆ setP()

void RecBTofHit::setP ( double  p)
inline

Definition at line 74 of file RecBTofHit.h.

74{ _p=p; }

◆ setPath()

void RecBTofHit::setPath ( double  path)
inline

Definition at line 75 of file RecBTofHit.h.

75{ _path=path; }

◆ setPh()

void RecBTofHit::setPh ( double  ph)
inline

Definition at line 73 of file RecBTofHit.h.

73{ _ph=ph; }

◆ setPhHit()

void RecBTofHit::setPhHit ( double  phHit)
inline

Definition at line 70 of file RecBTofHit.h.

70{ _phHit=phHit; }

◆ setPhTrk()

void RecBTofHit::setPhTrk ( double  phTrk)
inline

Definition at line 72 of file RecBTofHit.h.

72{ _phTrk=phTrk; }

◆ setQ1()

void RecBTofHit::setQ1 ( double  q1)
inline

Definition at line 92 of file RecBTofHit.h.

92{ _q1=q1; }

◆ setQ2()

void RecBTofHit::setQ2 ( double  q2)
inline

Definition at line 93 of file RecBTofHit.h.

93{ _q2=q2; }

◆ setQual()

void RecBTofHit::setQual ( int  qual)
inline

Definition at line 65 of file RecBTofHit.h.

65{ _qual=qual; }

◆ setThTrk()

void RecBTofHit::setThTrk ( double  thTrk)
inline

Definition at line 71 of file RecBTofHit.h.

71{ _thTrk=thTrk; }

◆ setTime()

void RecBTofHit::setTime ( double  time)
inline

Definition at line 76 of file RecBTofHit.h.

76{ _time=time; }
Double_t time

◆ setTm1()

void RecBTofHit::setTm1 ( double  tm1)
inline

Definition at line 84 of file RecBTofHit.h.

84{ _tm1=tm1; }

◆ setTm2()

void RecBTofHit::setTm2 ( double  tm2)
inline

Definition at line 85 of file RecBTofHit.h.

85{ _tm2=tm2; }

◆ setTof()

void RecBTofHit::setTof ( double  tof)
inline

Definition at line 77 of file RecBTofHit.h.

77{ _tof=tof; }

◆ setTofID()

void RecBTofHit::setTofID ( Identifier  tofID)
inline

Definition at line 63 of file RecBTofHit.h.

63{ _tofID=tofID; }

◆ setTr1()

void RecBTofHit::setTr1 ( double  tr1)
inline

Definition at line 88 of file RecBTofHit.h.

88{ _tr1=tr1; }

◆ setTr2()

void RecBTofHit::setTr2 ( double  tr2)
inline

Definition at line 89 of file RecBTofHit.h.

89{ _tr2=tr2; }

◆ setTrk()

void RecBTofHit::setTrk ( int  trk)
inline

Definition at line 62 of file RecBTofHit.h.

62{ _trk=trk; }

◆ setTt1()

void RecBTofHit::setTt1 ( double  tt1)
inline

Definition at line 80 of file RecBTofHit.h.

80{ _tt1=tt1; }

◆ setTt2()

void RecBTofHit::setTt2 ( double  tt2)
inline

Definition at line 81 of file RecBTofHit.h.

81{ _tt2=tt2; }

◆ setZADC()

void RecBTofHit::setZADC ( double  zADC)
inline

Definition at line 69 of file RecBTofHit.h.

69{ _zADC=zADC;}

◆ setZHit()

void RecBTofHit::setZHit ( double  zHit)
inline

Definition at line 66 of file RecBTofHit.h.

66{ _zHit=zHit; }

◆ setZTDC()

void RecBTofHit::setZTDC ( double  zTDC)
inline

Definition at line 68 of file RecBTofHit.h.

68{ _zTDC=zTDC; }

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