BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::MucMcHit Class Reference

#include <MucMcHit.h>

+ Inheritance diagram for Event::MucMcHit:

Public Member Functions

virtual const CLID & clID () const
 
 MucMcHit ()
 
 MucMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double px, double py, double pz)
 
Identifier identify () const
 
unsigned int getTrackIndex () const
 
double getPositionX () const
 
double getPositionY () const
 
double getPositionZ () const
 
double getPx () const
 
double getPy () const
 
double getPz () const
 
void setIdentifier (unsigned id)
 
void setTrackIndex (unsigned int trackIndex)
 
void setPositionX (double positionX)
 
void setPositionY (double positionY)
 
void setPositionZ (double positionZ)
 
void setPx (double px)
 
void setPy (double py)
 
void setPz (double pz)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 14 of file MucMcHit.h.

Constructor & Destructor Documentation

◆ MucMcHit() [1/2]

Event::MucMcHit::MucMcHit ( )
inline

Definition at line 26 of file MucMcHit.h.

26{};

◆ MucMcHit() [2/2]

Event::MucMcHit::MucMcHit ( const Identifier & id,
unsigned int trackIndex,
double xPosition,
double yPosition,
double zPosition,
double px,
double py,
double pz )

Definition at line 3 of file MucMcHit.cxx.

6 : m_id(id), m_trackIndex(trackIndex),
7 m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition),
8 m_px(px), m_py(py), m_pz(pz){}

Member Function Documentation

◆ classID()

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

Definition at line 21 of file MucMcHit.h.

22 {
23 return CLID_MucMcHit;
24 }
const CLID & CLID_MucMcHit

Referenced by clID().

◆ clID()

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

Definition at line 16 of file MucMcHit.h.

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

◆ getPositionX()

double Event::MucMcHit::getPositionX ( ) const

Definition at line 21 of file MucMcHit.cxx.

21 {
22 return m_xPosition;
23}

◆ getPositionY()

double Event::MucMcHit::getPositionY ( ) const

Definition at line 26 of file MucMcHit.cxx.

26 {
27 return m_yPosition;
28}

◆ getPositionZ()

double Event::MucMcHit::getPositionZ ( ) const

Definition at line 31 of file MucMcHit.cxx.

31 {
32 return m_zPosition;
33}

◆ getPx()

double Event::MucMcHit::getPx ( ) const

Definition at line 36 of file MucMcHit.cxx.

36 {
37 return m_px;
38}

◆ getPy()

double Event::MucMcHit::getPy ( ) const

Definition at line 41 of file MucMcHit.cxx.

41 {
42 return m_py;
43}

◆ getPz()

double Event::MucMcHit::getPz ( ) const

Definition at line 46 of file MucMcHit.cxx.

46 {
47 return m_pz;
48}

◆ getTrackIndex()

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

Definition at line 16 of file MucMcHit.cxx.

16 {
17 return m_trackIndex;
18}

◆ identify()

Identifier Event::MucMcHit::identify ( ) const

Definition at line 11 of file MucMcHit.cxx.

11 {
12 return m_id;
13}

◆ setIdentifier()

void Event::MucMcHit::setIdentifier ( unsigned id)
inline

Definition at line 55 of file MucMcHit.h.

55{m_id = id;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPositionX()

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

Definition at line 57 of file MucMcHit.h.

57{m_xPosition = positionX;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPositionY()

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

Definition at line 58 of file MucMcHit.h.

58{m_yPosition = positionY;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPositionZ()

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

Definition at line 59 of file MucMcHit.h.

59{m_zPosition = positionZ;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPx()

void Event::MucMcHit::setPx ( double px)
inline

Definition at line 60 of file MucMcHit.h.

60{m_px = px;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPy()

void Event::MucMcHit::setPy ( double py)
inline

Definition at line 61 of file MucMcHit.h.

61{m_py = py;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setPz()

void Event::MucMcHit::setPz ( double pz)
inline

Definition at line 62 of file MucMcHit.h.

62{m_pz = pz;}

Referenced by MucMcHitCnv::TObjectToDataObject().

◆ setTrackIndex()

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

Definition at line 56 of file MucMcHit.h.

56{ m_trackIndex = trackIndex;}

Referenced by MucMcHitCnv::TObjectToDataObject().


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