BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::MdcMcHit Class Reference

#include <MdcMcHit.h>

+ Inheritance diagram for Event::MdcMcHit:

Public Member Functions

virtual const CLID & clID () const
 
 MdcMcHit ()
 
 MdcMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double driftDistance, double depositEnergy, int posFlag=-1)
 
Identifier identify () const
 
unsigned int getTrackIndex () const
 
double getPositionX () const
 
double getPositionY () const
 
double getPositionZ () const
 
double getDriftDistance () const
 
double getDepositEnergy () const
 
int getPositionFlag () const
 
void setIdentifier (unsigned int id)
 
void setTrackIndex (unsigned int trackIndex)
 
void setPositionX (double positionX)
 
void setPositionY (double positionY)
 
void setPositionZ (double positionZ)
 
void setDriftDistance (double driftDistance)
 
void setDepositEnergy (double depositEnergy)
 
void setPositionFlag (int posFlag)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 14 of file MdcMcHit.h.

Constructor & Destructor Documentation

◆ MdcMcHit() [1/2]

Event::MdcMcHit::MdcMcHit ( )
inline

Definition at line 26 of file MdcMcHit.h.

26{};

◆ MdcMcHit() [2/2]

Event::MdcMcHit::MdcMcHit ( const Identifier id,
unsigned int  trackIndex,
double  xPosition,
double  yPosition,
double  zPosition,
double  driftDistance,
double  depositEnergy,
int  posFlag = -1 
)

Definition at line 3 of file MdcMcHit.cxx.

5 : m_id(id), m_trackIndex(trackIndex),
6 m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition),
7 m_driftDistance(driftDistance), m_depositEnergy(depositEnergy), m_posFlag(posFlag)
8{ }

Member Function Documentation

◆ classID()

static const CLID & Event::MdcMcHit::classID ( )
inlinestatic

Definition at line 21 of file MdcMcHit.h.

22 {
23 return CLID_MdcMcHit;
24 }
const CLID & CLID_MdcMcHit
Definition: EventModel.cxx:214

Referenced by clID().

◆ clID()

virtual const CLID & Event::MdcMcHit::clID ( ) const
inlinevirtual

Definition at line 16 of file MdcMcHit.h.

17 {
18 return MdcMcHit::classID();
19 }
static const CLID & classID()
Definition: MdcMcHit.h:21

◆ getDepositEnergy()

double Event::MdcMcHit::getDepositEnergy ( ) const

Definition at line 41 of file MdcMcHit.cxx.

41 {
42 return m_depositEnergy;
43}

◆ getDriftDistance()

double Event::MdcMcHit::getDriftDistance ( ) const

Definition at line 36 of file MdcMcHit.cxx.

36 {
37 return m_driftDistance;
38}

Referenced by HoughHit::setTruthInfo().

◆ getPositionFlag()

int Event::MdcMcHit::getPositionFlag ( ) const

Definition at line 46 of file MdcMcHit.cxx.

46 {
47 return m_posFlag;
48}

Referenced by HoughHit::setTruthInfo().

◆ getPositionX()

double Event::MdcMcHit::getPositionX ( ) const

Definition at line 21 of file MdcMcHit.cxx.

21 {
22 return m_xPosition;
23}

Referenced by HoughHit::setTruthInfo().

◆ getPositionY()

double Event::MdcMcHit::getPositionY ( ) const

Definition at line 26 of file MdcMcHit.cxx.

26 {
27 return m_yPosition;
28}

Referenced by HoughHit::setTruthInfo().

◆ getPositionZ()

double Event::MdcMcHit::getPositionZ ( ) const

Definition at line 31 of file MdcMcHit.cxx.

31 {
32 return m_zPosition;
33}

Referenced by HoughHit::setTruthInfo().

◆ getTrackIndex()

unsigned int Event::MdcMcHit::getTrackIndex ( ) const

Definition at line 16 of file MdcMcHit.cxx.

16 {
17 return m_trackIndex;
18}

Referenced by HoughHit::setTruthInfo().

◆ identify()

Identifier Event::MdcMcHit::identify ( ) const

Definition at line 11 of file MdcMcHit.cxx.

11 {
12 return m_id;
13}

◆ setDepositEnergy()

void Event::MdcMcHit::setDepositEnergy ( double  depositEnergy)
inline

Definition at line 62 of file MdcMcHit.h.

62{m_depositEnergy = depositEnergy;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setDriftDistance()

void Event::MdcMcHit::setDriftDistance ( double  driftDistance)
inline

Definition at line 61 of file MdcMcHit.h.

61{m_driftDistance = driftDistance;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setIdentifier()

void Event::MdcMcHit::setIdentifier ( unsigned int  id)
inline

Definition at line 56 of file MdcMcHit.h.

56{m_id = id ;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setPositionFlag()

void Event::MdcMcHit::setPositionFlag ( int  posFlag)
inline

Definition at line 63 of file MdcMcHit.h.

63{ m_posFlag = posFlag; }

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setPositionX()

void Event::MdcMcHit::setPositionX ( double  positionX)
inline

Definition at line 58 of file MdcMcHit.h.

58{m_xPosition = positionX;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setPositionY()

void Event::MdcMcHit::setPositionY ( double  positionY)
inline

Definition at line 59 of file MdcMcHit.h.

59{m_yPosition = positionY;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setPositionZ()

void Event::MdcMcHit::setPositionZ ( double  positionZ)
inline

Definition at line 60 of file MdcMcHit.h.

60{m_zPosition = positionZ;}

Referenced by MdcMcHitCnv::TObjectToDataObject().

◆ setTrackIndex()

void Event::MdcMcHit::setTrackIndex ( unsigned int  trackIndex)
inline

Definition at line 57 of file MdcMcHit.h.

57{m_trackIndex = trackIndex;}

Referenced by MdcMcHitCnv::TObjectToDataObject().


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