BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::TofMcHit Class Reference

#include <TofMcHit.h>

+ Inheritance diagram for Event::TofMcHit:

Public Member Functions

virtual const CLID & clID () const
 
 TofMcHit ()
 
 TofMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double px, double py, double pz, double trackLength, double flightTime)
 
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
 
double getTrackLength () const
 
double getFlightTime () const
 
void setIdentifier (unsigned int 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)
 
void setTrackLength (double trackLength)
 
void setFlightTime (double flightTime)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 13 of file TofMcHit.h.

Constructor & Destructor Documentation

◆ TofMcHit() [1/2]

Event::TofMcHit::TofMcHit ( )
inline

Definition at line 25 of file TofMcHit.h.

25{};

◆ TofMcHit() [2/2]

Event::TofMcHit::TofMcHit ( const Identifier id,
unsigned int  trackIndex,
double  xPosition,
double  yPosition,
double  zPosition,
double  px,
double  py,
double  pz,
double  trackLength,
double  flightTime 
)

Definition at line 3 of file TofMcHit.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), m_trackLength(trackLength), m_flightTime(flightTime){}

Member Function Documentation

◆ classID()

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

Definition at line 20 of file TofMcHit.h.

21 {
22 return CLID_TofMcHit;
23 }
const CLID & CLID_TofMcHit
Definition: EventModel.cxx:217

Referenced by clID().

◆ clID()

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

Definition at line 15 of file TofMcHit.h.

16 {
17 return TofMcHit::classID();
18 }
static const CLID & classID()
Definition: TofMcHit.h:20

◆ getFlightTime()

double Event::TofMcHit::getFlightTime ( ) const

Definition at line 56 of file TofMcHit.cxx.

56 {
57 return m_flightTime;
58}

◆ getPositionX()

double Event::TofMcHit::getPositionX ( ) const

Definition at line 21 of file TofMcHit.cxx.

21 {
22 return m_xPosition;
23}

◆ getPositionY()

double Event::TofMcHit::getPositionY ( ) const

Definition at line 26 of file TofMcHit.cxx.

26 {
27 return m_yPosition;
28}

◆ getPositionZ()

double Event::TofMcHit::getPositionZ ( ) const

Definition at line 31 of file TofMcHit.cxx.

31 {
32 return m_zPosition;
33}

◆ getPx()

double Event::TofMcHit::getPx ( ) const

Definition at line 36 of file TofMcHit.cxx.

36 {
37 return m_px;
38}

◆ getPy()

double Event::TofMcHit::getPy ( ) const

Definition at line 41 of file TofMcHit.cxx.

41 {
42 return m_py;
43}

◆ getPz()

double Event::TofMcHit::getPz ( ) const

Definition at line 46 of file TofMcHit.cxx.

46 {
47 return m_pz;
48}

◆ getTrackIndex()

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

Definition at line 16 of file TofMcHit.cxx.

16 {
17 return m_trackIndex;
18}

◆ getTrackLength()

double Event::TofMcHit::getTrackLength ( ) const

Definition at line 51 of file TofMcHit.cxx.

51 {
52 return m_trackLength;
53}

◆ identify()

Identifier Event::TofMcHit::identify ( ) const

Definition at line 11 of file TofMcHit.cxx.

11 {
12 return m_id;
13}

◆ setFlightTime()

void Event::TofMcHit::setFlightTime ( double  flightTime)
inline

Definition at line 69 of file TofMcHit.h.

69{m_flightTime = flightTime; }

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setIdentifier()

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

Definition at line 60 of file TofMcHit.h.

60{m_id = id;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPositionX()

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

Definition at line 62 of file TofMcHit.h.

62{m_xPosition = positionX;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPositionY()

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

Definition at line 63 of file TofMcHit.h.

63{m_yPosition = positionY;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPositionZ()

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

Definition at line 64 of file TofMcHit.h.

64{m_zPosition = positionZ;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPx()

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

Definition at line 65 of file TofMcHit.h.

65{m_px = px;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPy()

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

Definition at line 66 of file TofMcHit.h.

66{m_py = py;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setPz()

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

Definition at line 67 of file TofMcHit.h.

67{m_pz = pz;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setTrackIndex()

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

Definition at line 61 of file TofMcHit.h.

61{ m_trackIndex = trackIndex;}

Referenced by TofMcHitCnv::TObjectToDataObject().

◆ setTrackLength()

void Event::TofMcHit::setTrackLength ( double  trackLength)
inline

Definition at line 68 of file TofMcHit.h.

68{m_trackLength = trackLength; }

Referenced by TofMcHitCnv::TObjectToDataObject().


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