BOSS 7.0.5
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)
 
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 ()
 
static const CLID & classID ()
 

Detailed Description

Constructor & Destructor Documentation

◆ MdcMcHit() [1/4]

Event::MdcMcHit::MdcMcHit ( )
inline

Definition at line 26 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

26{};

◆ MdcMcHit() [2/4]

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{ }

◆ MdcMcHit() [3/4]

Event::MdcMcHit::MdcMcHit ( )
inline

Definition at line 26 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

26{};

◆ MdcMcHit() [4/4]

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

Member Function Documentation

◆ classID() [1/2]

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

Definition at line 21 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

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

Referenced by clID().

◆ classID() [2/2]

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

Definition at line 21 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

22 {
23 return CLID_MdcMcHit;
24 }

◆ clID() [1/2]

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

Definition at line 16 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

17 {
18 return MdcMcHit::classID();
19 }

◆ clID() [2/2]

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

Definition at line 16 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

17 {
18 return MdcMcHit::classID();
19 }

◆ getDepositEnergy() [1/2]

double Event::MdcMcHit::getDepositEnergy ( ) const

Definition at line 41 of file MdcMcHit.cxx.

41 {
42 return m_depositEnergy;
43}

◆ getDepositEnergy() [2/2]

double Event::MdcMcHit::getDepositEnergy ( ) const

◆ getDriftDistance() [1/2]

double Event::MdcMcHit::getDriftDistance ( ) const

Definition at line 36 of file MdcMcHit.cxx.

36 {
37 return m_driftDistance;
38}

◆ getDriftDistance() [2/2]

double Event::MdcMcHit::getDriftDistance ( ) const

◆ getPositionFlag() [1/2]

int Event::MdcMcHit::getPositionFlag ( ) const

Definition at line 46 of file MdcMcHit.cxx.

46 {
47 return m_posFlag;
48}

◆ getPositionFlag() [2/2]

int Event::MdcMcHit::getPositionFlag ( ) const

◆ getPositionX() [1/2]

double Event::MdcMcHit::getPositionX ( ) const

Definition at line 21 of file MdcMcHit.cxx.

21 {
22 return m_xPosition;
23}

◆ getPositionX() [2/2]

double Event::MdcMcHit::getPositionX ( ) const

◆ getPositionY() [1/2]

double Event::MdcMcHit::getPositionY ( ) const

Definition at line 26 of file MdcMcHit.cxx.

26 {
27 return m_yPosition;
28}

◆ getPositionY() [2/2]

double Event::MdcMcHit::getPositionY ( ) const

◆ getPositionZ() [1/2]

double Event::MdcMcHit::getPositionZ ( ) const

Definition at line 31 of file MdcMcHit.cxx.

31 {
32 return m_zPosition;
33}

◆ getPositionZ() [2/2]

double Event::MdcMcHit::getPositionZ ( ) const

◆ getTrackIndex() [1/2]

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

Definition at line 16 of file MdcMcHit.cxx.

16 {
17 return m_trackIndex;
18}

◆ getTrackIndex() [2/2]

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

◆ identify() [1/2]

Identifier Event::MdcMcHit::identify ( ) const

Definition at line 11 of file MdcMcHit.cxx.

11 {
12 return m_id;
13}

◆ identify() [2/2]

Identifier Event::MdcMcHit::identify ( ) const

◆ setDepositEnergy() [1/2]

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

Definition at line 62 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

62{m_depositEnergy = depositEnergy;}

◆ setDepositEnergy() [2/2]

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

Definition at line 62 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

62{m_depositEnergy = depositEnergy;}

◆ setDriftDistance() [1/2]

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

Definition at line 61 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

61{m_driftDistance = driftDistance;}

◆ setDriftDistance() [2/2]

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

Definition at line 61 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

61{m_driftDistance = driftDistance;}

◆ setIdentifier() [1/2]

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

Definition at line 56 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

56{m_id = id ;}

◆ setIdentifier() [2/2]

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

Definition at line 56 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

56{m_id = id ;}

◆ setPositionFlag() [1/2]

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

Definition at line 63 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

63{ m_posFlag = posFlag; }

◆ setPositionFlag() [2/2]

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

Definition at line 63 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

63{ m_posFlag = posFlag; }

◆ setPositionX() [1/2]

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

Definition at line 58 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

58{m_xPosition = positionX;}

◆ setPositionX() [2/2]

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

Definition at line 58 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

58{m_xPosition = positionX;}

◆ setPositionY() [1/2]

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

Definition at line 59 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

59{m_yPosition = positionY;}

◆ setPositionY() [2/2]

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

Definition at line 59 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

59{m_yPosition = positionY;}

◆ setPositionZ() [1/2]

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

Definition at line 60 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

60{m_zPosition = positionZ;}

◆ setPositionZ() [2/2]

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

Definition at line 60 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

60{m_zPosition = positionZ;}

◆ setTrackIndex() [1/2]

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

Definition at line 57 of file Event/McTruth/McTruth-00-02-19/McTruth/MdcMcHit.h.

57{m_trackIndex = trackIndex;}

◆ setTrackIndex() [2/2]

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

Definition at line 57 of file InstallArea/include/McTruth/McTruth/MdcMcHit.h.

57{m_trackIndex = trackIndex;}

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