BOSS 7.1.2
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)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 22 of file RecMdcHit.h.

Constructor & Destructor Documentation

◆ RecMdcHit() [1/2]

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/2]

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()

RecMdcHit::~RecMdcHit ( )

Definition at line 58 of file RecMdcHit.cxx.

58 {
59}

Member Function Documentation

◆ classID()

static const CLID & RecMdcHit::classID ( )
inlinestatic

Definition at line 29 of file RecMdcHit.h.

29 {
30 return CLID_RecMdcHit;
31 }
const CLID & CLID_RecMdcHit

Referenced by clID().

◆ clID()

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

Definition at line 25 of file RecMdcHit.h.

25 {
26 return RecMdcHit::classID();
27 }
static const CLID & classID()
Definition RecMdcHit.h:29

◆ getAdc()

const double RecMdcHit::getAdc ( void ) const
inline

Definition at line 51 of file RecMdcHit.h.

51{ return m_adc; }

Referenced by DedxCalibEvent::genNtuple(), KalFitTrack::getSigma(), and MdcxCosmicSewer::MdcxHitsToHots().

◆ getChisqAdd()

const double RecMdcHit::getChisqAdd ( void ) const
inline

Definition at line 46 of file RecMdcHit.h.

46{ return m_pChisq;}

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getDoca()

const double RecMdcHit::getDoca ( void ) const
inline

Definition at line 53 of file RecMdcHit.h.

53{ return m_doca; }

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

◆ getDriftDistLeft()

const double RecMdcHit::getDriftDistLeft ( void ) const
inline

Definition at line 42 of file RecMdcHit.h.

42{ return m_ddl; }

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

◆ getDriftDistRight()

const double RecMdcHit::getDriftDistRight ( void ) const
inline

Definition at line 43 of file RecMdcHit.h.

43{ return m_ddr ; }

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

◆ getDriftT()

const double RecMdcHit::getDriftT ( void ) const
inline

Definition at line 52 of file RecMdcHit.h.

52{ return m_driftT;}

Referenced by DedxCalibEvent::genNtuple(), KalFitTrack::getDriftTime(), and MdcxCosmicSewer::MdcxHitsToHots().

◆ getEntra()

◆ getErrDriftDistLeft()

const double RecMdcHit::getErrDriftDistLeft ( void ) const
inline

Definition at line 44 of file RecMdcHit.h.

44{ return m_erddl; }

Referenced by MdcxCosmicSewer::execute(), and MdcxCosmicSewer::MdcxHitsToHots().

◆ getErrDriftDistRight()

const double RecMdcHit::getErrDriftDistRight ( void ) const
inline

Definition at line 45 of file RecMdcHit.h.

45{ return m_erddr; }

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getFlagLR()

const int RecMdcHit::getFlagLR ( void ) const
inline

Definition at line 47 of file RecMdcHit.h.

47{ return m_lr; }

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

◆ getFltLen()

const double RecMdcHit::getFltLen ( void ) const
inline

Definition at line 56 of file RecMdcHit.h.

56{ return m_fltLen;}

Referenced by MdcxCosmicSewer::execute(), and MdcxCosmicSewer::MdcxHitsToHots().

◆ getId()

const int RecMdcHit::getId ( void ) const
inline

Definition at line 40 of file RecMdcHit.h.

40{ return m_id; }

◆ getMdcId()

const Identifier RecMdcHit::getMdcId ( void ) const
inline

◆ getStat()

const int RecMdcHit::getStat ( void ) const
inline

Definition at line 48 of file RecMdcHit.h.

48{ return m_stat; }

Referenced by MdcxCosmicSewer::MdcxHitsToHots().

◆ getTdc()

const double RecMdcHit::getTdc ( void ) const
inline

Definition at line 50 of file RecMdcHit.h.

50{ return m_tdc; }

Referenced by DedxCalibEvent::genNtuple(), KalFitTrack::getDriftTime(), and MdcxCosmicSewer::MdcxHitsToHots().

◆ getTrkId()

const int RecMdcHit::getTrkId ( void ) const
inline

Definition at line 41 of file RecMdcHit.h.

41{ return m_trkid; }

◆ getZhit()

const double RecMdcHit::getZhit ( void ) const
inline

◆ isGrouped()

bool RecMdcHit::isGrouped ( void )

Definition at line 53 of file RecMdcHit.cxx.

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

◆ setAdc()

void RecMdcHit::setAdc ( double adc)
inline

◆ setChisqAdd()

void RecMdcHit::setChisqAdd ( double pChisq)
inline

◆ setDoca()

void RecMdcHit::setDoca ( double doca)
inline

◆ setDriftDistLeft()

void RecMdcHit::setDriftDistLeft ( double ddl)
inline

◆ setDriftDistRight()

void RecMdcHit::setDriftDistRight ( double ddr)
inline

◆ setDriftT()

void RecMdcHit::setDriftT ( double driftT)
inline

◆ setEntra()

void RecMdcHit::setEntra ( double entra)
inline

◆ setErrDriftDistLeft()

void RecMdcHit::setErrDriftDistLeft ( double erddl)
inline

◆ setErrDriftDistRight()

void RecMdcHit::setErrDriftDistRight ( double erddr)
inline

◆ setFlagLR()

void RecMdcHit::setFlagLR ( int lr)
inline

◆ setFltLen()

void RecMdcHit::setFltLen ( double fltLen)
inline

◆ setId()

void RecMdcHit::setId ( int id)
inline

Definition at line 58 of file RecMdcHit.h.

58{ m_id = id; }

Referenced by TTrackManager::makeTds(), MdcTrack::storeTrack(), and RecMdcHitCnv::TObjectToDataObject().

◆ setMdcId()

void RecMdcHit::setMdcId ( Identifier mdcid)
inline

◆ setStat()

void RecMdcHit::setStat ( int stat)
inline

◆ setTdc()

void RecMdcHit::setTdc ( double tdc)
inline

◆ setTrkId()

void RecMdcHit::setTrkId ( int trkid)
inline

Definition at line 59 of file RecMdcHit.h.

59{ m_trkid = trkid; }

Referenced by TTrackManager::makeTds(), MdcTrack::storeTrack(), and RecMdcHitCnv::TObjectToDataObject().

◆ setZhit()

void RecMdcHit::setZhit ( double zhit)
inline

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