BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMdcHit Class Reference

#include <RecMdcHit.h>

+ Inheritance diagram for RecMdcHit:

Public Member Functions

virtual const CLID & clID () const
 
 RecMdcHit ()
 
 RecMdcHit (const RecMdcHit &rechit)
 
 ~RecMdcHit ()
 
bool isGrouped (void)
 
const int getId (void) const
 
const int getTrkId (void) const
 
const double getDriftDistLeft (void) const
 
const double getDriftDistRight (void) const
 
const double getErrDriftDistLeft (void) const
 
const double getErrDriftDistRight (void) const
 
const double getChisqAdd (void) const
 
const int getFlagLR (void) const
 
const int getStat (void) const
 
const Identifier getMdcId (void) const
 
const double getTdc (void) const
 
const double getAdc (void) const
 
const double getDriftT (void) const
 
const double getDoca (void) const
 
const double getEntra (void) const
 
const double getZhit (void) const
 
const double getFltLen (void) const
 
void setId (int id)
 
void setTrkId (int trkid)
 
void setDriftDistLeft (double ddl)
 
void setDriftDistRight (double ddr)
 
void setErrDriftDistLeft (double erddl)
 
void setErrDriftDistRight (double erddr)
 
void setChisqAdd (double pChisq)
 
void setFlagLR (int lr)
 
void setStat (int stat)
 
void setMdcId (Identifier mdcid)
 
void setTdc (double tdc)
 
void setAdc (double adc)
 
void setDriftT (double driftT)
 
void setDoca (double doca)
 
void setEntra (double entra)
 
void setZhit (double zhit)
 
void setFltLen (double fltLen)
 
virtual const CLID & clID () const
 
 RecMdcHit ()
 
 RecMdcHit (const RecMdcHit &rechit)
 
 ~RecMdcHit ()
 
bool isGrouped (void)
 
const int getId (void) const
 
const int getTrkId (void) const
 
const double getDriftDistLeft (void) const
 
const double getDriftDistRight (void) const
 
const double getErrDriftDistLeft (void) const
 
const double getErrDriftDistRight (void) const
 
const double getChisqAdd (void) const
 
const int getFlagLR (void) const
 
const int getStat (void) const
 
const Identifier getMdcId (void) const
 
const double getTdc (void) const
 
const double getAdc (void) const
 
const double getDriftT (void) const
 
const double getDoca (void) const
 
const double getEntra (void) const
 
const double getZhit (void) const
 
const double getFltLen (void) const
 
void setId (int id)
 
void setTrkId (int trkid)
 
void setDriftDistLeft (double ddl)
 
void setDriftDistRight (double ddr)
 
void setErrDriftDistLeft (double erddl)
 
void setErrDriftDistRight (double erddr)
 
void setChisqAdd (double pChisq)
 
void setFlagLR (int lr)
 
void setStat (int stat)
 
void setMdcId (Identifier mdcid)
 
void setTdc (double tdc)
 
void setAdc (double adc)
 
void setDriftT (double driftT)
 
void setDoca (double doca)
 
void setEntra (double entra)
 
void setZhit (double zhit)
 
void setFltLen (double fltLen)
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 

Detailed Description

Constructor & Destructor Documentation

◆ RecMdcHit() [1/4]

RecMdcHit::RecMdcHit ( )

Definition at line 10 of file RecMdcHit.cxx.

10 :
11 m_id(-1),
12 m_trkid(-1),
13 m_ddl(0.0),
14 m_ddr(0.0),
15 m_erddl(0.0),
16 m_erddr(0.0),
17 m_pChisq(999.0),
18 m_lr(0),
19 m_stat(0),
20 m_mdcid(0),
21 m_tdc(0.0),
22 m_adc(0.0),
23 m_driftT(0.0),
24 m_doca(999.0),
25 m_entra(0.0),
26 m_zhit(999.0),
27 m_fltLen(0.0)
28 {
29
30 }

◆ RecMdcHit() [2/4]

RecMdcHit::RecMdcHit ( const RecMdcHit rechit)

Definition at line 32 of file RecMdcHit.cxx.

33 : m_id( rechit.m_id),
34 m_trkid(rechit.m_trkid),
35 m_ddl( rechit.m_ddl),
36 m_ddr( rechit.m_ddr),
37 m_erddl( rechit.m_erddl),
38 m_erddr( rechit.m_erddr),
39 m_pChisq( rechit.m_pChisq),
40 m_lr( rechit.m_lr),
41 m_stat( rechit.m_stat),
42 m_mdcid( rechit.m_mdcid),
43 m_tdc( rechit.m_tdc),
44 m_adc( rechit.m_adc),
45 m_driftT( rechit.m_driftT),
46 m_doca( rechit.m_doca),
47 m_entra( rechit.m_entra),
48 m_zhit( rechit.m_zhit),
49 m_fltLen( rechit.m_fltLen) {
50}

◆ ~RecMdcHit() [1/2]

RecMdcHit::~RecMdcHit ( )

Definition at line 58 of file RecMdcHit.cxx.

58 {
59}

◆ RecMdcHit() [3/4]

RecMdcHit::RecMdcHit ( )

◆ RecMdcHit() [4/4]

RecMdcHit::RecMdcHit ( const RecMdcHit rechit)

◆ ~RecMdcHit() [2/2]

RecMdcHit::~RecMdcHit ( )

Member Function Documentation

◆ classID() [1/2]

static const CLID & RecMdcHit::classID ( )
inlinestatic

Definition at line 29 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

29 {
30 return CLID_RecMdcHit;
31 }
const CLID & CLID_RecMdcHit
Definition: EventModel.cxx:298

Referenced by clID().

◆ classID() [2/2]

static const CLID & RecMdcHit::classID ( )
inlinestatic

Definition at line 29 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

29 {
30 return CLID_RecMdcHit;
31 }

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Definition at line 25 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

25 {
26 return RecMdcHit::classID();
27 }

◆ getAdc() [1/2]

const double RecMdcHit::getAdc ( void  ) const
inline

◆ getAdc() [2/2]

const double RecMdcHit::getAdc ( void  ) const
inline

Definition at line 51 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

51{ return m_adc; }

◆ getChisqAdd() [1/2]

const double RecMdcHit::getChisqAdd ( void  ) const
inline

Definition at line 46 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

46{ return m_pChisq;}

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getChisqAdd() [2/2]

const double RecMdcHit::getChisqAdd ( void  ) const
inline

Definition at line 46 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

46{ return m_pChisq;}

◆ getDoca() [1/2]

const double RecMdcHit::getDoca ( void  ) const
inline

Definition at line 53 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

53{ return m_doca; }

Referenced by MdcxCosmicSewer::execute(), and DedxCalibEvent::genNtuple().

◆ getDoca() [2/2]

const double RecMdcHit::getDoca ( void  ) const
inline

Definition at line 53 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

53{ return m_doca; }

◆ getDriftDistLeft() [1/2]

const double RecMdcHit::getDriftDistLeft ( void  ) const
inline

◆ getDriftDistLeft() [2/2]

const double RecMdcHit::getDriftDistLeft ( void  ) const
inline

Definition at line 42 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

42{ return m_ddl; }

◆ getDriftDistRight() [1/2]

const double RecMdcHit::getDriftDistRight ( void  ) const
inline

◆ getDriftDistRight() [2/2]

const double RecMdcHit::getDriftDistRight ( void  ) const
inline

Definition at line 43 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

43{ return m_ddr ; }

◆ getDriftT() [1/2]

const double RecMdcHit::getDriftT ( void  ) const
inline

◆ getDriftT() [2/2]

const double RecMdcHit::getDriftT ( void  ) const
inline

Definition at line 52 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

52{ return m_driftT;}

◆ getEntra() [1/2]

const double RecMdcHit::getEntra ( void  ) const
inline

◆ getEntra() [2/2]

const double RecMdcHit::getEntra ( void  ) const
inline

Definition at line 54 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

54{ return m_entra; }

◆ getErrDriftDistLeft() [1/2]

const double RecMdcHit::getErrDriftDistLeft ( void  ) const
inline

◆ getErrDriftDistLeft() [2/2]

const double RecMdcHit::getErrDriftDistLeft ( void  ) const
inline

Definition at line 44 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

44{ return m_erddl; }

◆ getErrDriftDistRight() [1/2]

const double RecMdcHit::getErrDriftDistRight ( void  ) const
inline

Definition at line 45 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

45{ return m_erddr; }

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getErrDriftDistRight() [2/2]

const double RecMdcHit::getErrDriftDistRight ( void  ) const
inline

Definition at line 45 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

45{ return m_erddr; }

◆ getFlagLR() [1/2]

const int RecMdcHit::getFlagLR ( void  ) const
inline

◆ getFlagLR() [2/2]

const int RecMdcHit::getFlagLR ( void  ) const
inline

Definition at line 47 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

47{ return m_lr; }

◆ getFltLen() [1/2]

const double RecMdcHit::getFltLen ( void  ) const
inline

◆ getFltLen() [2/2]

const double RecMdcHit::getFltLen ( void  ) const
inline

Definition at line 56 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

56{ return m_fltLen;}

◆ getId() [1/2]

const int RecMdcHit::getId ( void  ) const
inline

Definition at line 40 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

40{ return m_id; }

◆ getId() [2/2]

const int RecMdcHit::getId ( void  ) const
inline

Definition at line 40 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

40{ return m_id; }

◆ getMdcId() [1/2]

◆ getMdcId() [2/2]

const Identifier RecMdcHit::getMdcId ( void  ) const
inline

Definition at line 49 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

49{ return m_mdcid; }

◆ getStat() [1/2]

const int RecMdcHit::getStat ( void  ) const
inline

Definition at line 48 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

48{ return m_stat; }

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getStat() [2/2]

const int RecMdcHit::getStat ( void  ) const
inline

Definition at line 48 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

48{ return m_stat; }

◆ getTdc() [1/2]

const double RecMdcHit::getTdc ( void  ) const
inline

◆ getTdc() [2/2]

const double RecMdcHit::getTdc ( void  ) const
inline

Definition at line 50 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

50{ return m_tdc; }

◆ getTrkId() [1/2]

const int RecMdcHit::getTrkId ( void  ) const
inline

Definition at line 41 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcHit.h.

41{ return m_trkid; }

◆ getTrkId() [2/2]

const int RecMdcHit::getTrkId ( void  ) const
inline

Definition at line 41 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

41{ return m_trkid; }

◆ getZhit() [1/2]

const double RecMdcHit::getZhit ( void  ) const
inline

◆ getZhit() [2/2]

const double RecMdcHit::getZhit ( void  ) const
inline

Definition at line 55 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

55{ return m_zhit; }

◆ isGrouped() [1/2]

bool RecMdcHit::isGrouped ( void  )

Definition at line 53 of file RecMdcHit.cxx.

53 {
54 if(m_trkid == -1 ) return false;
55 return true;
56}

◆ isGrouped() [2/2]

bool RecMdcHit::isGrouped ( void  )

◆ setAdc() [1/2]

void RecMdcHit::setAdc ( double  adc)
inline

◆ setAdc() [2/2]

void RecMdcHit::setAdc ( double  adc)
inline

Definition at line 69 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

69{ m_adc = adc; }

◆ setChisqAdd() [1/2]

void RecMdcHit::setChisqAdd ( double  pChisq)
inline

◆ setChisqAdd() [2/2]

void RecMdcHit::setChisqAdd ( double  pChisq)
inline

Definition at line 64 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

64{ m_pChisq = pChisq;}

◆ setDoca() [1/2]

◆ setDoca() [2/2]

void RecMdcHit::setDoca ( double  doca)
inline

Definition at line 71 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

71{ m_doca = doca; }

◆ setDriftDistLeft() [1/2]

void RecMdcHit::setDriftDistLeft ( double  ddl)
inline

◆ setDriftDistLeft() [2/2]

void RecMdcHit::setDriftDistLeft ( double  ddl)
inline

Definition at line 60 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

60{ m_ddl = ddl; }

◆ setDriftDistRight() [1/2]

void RecMdcHit::setDriftDistRight ( double  ddr)
inline

◆ setDriftDistRight() [2/2]

void RecMdcHit::setDriftDistRight ( double  ddr)
inline

Definition at line 61 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

61{ m_ddr = ddr ; }

◆ setDriftT() [1/2]

void RecMdcHit::setDriftT ( double  driftT)
inline

◆ setDriftT() [2/2]

void RecMdcHit::setDriftT ( double  driftT)
inline

Definition at line 70 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

70{ m_driftT = driftT;}

◆ setEntra() [1/2]

void RecMdcHit::setEntra ( double  entra)
inline

◆ setEntra() [2/2]

void RecMdcHit::setEntra ( double  entra)
inline

Definition at line 72 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

72{ m_entra = entra; }

◆ setErrDriftDistLeft() [1/2]

void RecMdcHit::setErrDriftDistLeft ( double  erddl)
inline

◆ setErrDriftDistLeft() [2/2]

void RecMdcHit::setErrDriftDistLeft ( double  erddl)
inline

Definition at line 62 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

62{ m_erddl = erddl; }

◆ setErrDriftDistRight() [1/2]

void RecMdcHit::setErrDriftDistRight ( double  erddr)
inline

◆ setErrDriftDistRight() [2/2]

void RecMdcHit::setErrDriftDistRight ( double  erddr)
inline

Definition at line 63 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

63{ m_erddr = erddr; }

◆ setFlagLR() [1/2]

void RecMdcHit::setFlagLR ( int  lr)
inline

◆ setFlagLR() [2/2]

void RecMdcHit::setFlagLR ( int  lr)
inline

Definition at line 65 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

65{ m_lr = lr; }

◆ setFltLen() [1/2]

void RecMdcHit::setFltLen ( double  fltLen)
inline

◆ setFltLen() [2/2]

void RecMdcHit::setFltLen ( double  fltLen)
inline

Definition at line 74 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

74{ m_fltLen = fltLen;}

◆ setId() [1/2]

void RecMdcHit::setId ( int  id)
inline

◆ setId() [2/2]

void RecMdcHit::setId ( int  id)
inline

Definition at line 58 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

58{ m_id = id; }

◆ setMdcId() [1/2]

void RecMdcHit::setMdcId ( Identifier  mdcid)
inline

◆ setMdcId() [2/2]

void RecMdcHit::setMdcId ( Identifier  mdcid)
inline

Definition at line 67 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

67{ m_mdcid = mdcid; }

◆ setStat() [1/2]

void RecMdcHit::setStat ( int  stat)
inline

◆ setStat() [2/2]

void RecMdcHit::setStat ( int  stat)
inline

Definition at line 66 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

66{ m_stat = stat; }

◆ setTdc() [1/2]

void RecMdcHit::setTdc ( double  tdc)
inline

◆ setTdc() [2/2]

void RecMdcHit::setTdc ( double  tdc)
inline

Definition at line 68 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

68{ m_tdc = tdc; }

◆ setTrkId() [1/2]

void RecMdcHit::setTrkId ( int  trkid)
inline

◆ setTrkId() [2/2]

void RecMdcHit::setTrkId ( int  trkid)
inline

Definition at line 59 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

59{ m_trkid = trkid; }

◆ setZhit() [1/2]

void RecMdcHit::setZhit ( double  zhit)
inline

◆ setZhit() [2/2]

void RecMdcHit::setZhit ( double  zhit)
inline

Definition at line 73 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcHit.h.

73{ m_zhit = zhit; }

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