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

Detailed Description

Constructor & Destructor Documentation

◆ TofMcHit() [1/4]

Event::TofMcHit::TofMcHit ( )
inline

Definition at line 25 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

25{};

◆ TofMcHit() [2/4]

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

◆ TofMcHit() [3/4]

Event::TofMcHit::TofMcHit ( )
inline

Definition at line 25 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

25{};

◆ TofMcHit() [4/4]

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 
)

Member Function Documentation

◆ classID() [1/2]

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

Definition at line 20 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

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

Referenced by clID().

◆ classID() [2/2]

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

Definition at line 20 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

21 {
22 return CLID_TofMcHit;
23 }

◆ clID() [1/2]

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

Definition at line 15 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

16 {
17 return TofMcHit::classID();
18 }

◆ clID() [2/2]

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

Definition at line 15 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

16 {
17 return TofMcHit::classID();
18 }

◆ getFlightTime() [1/2]

double Event::TofMcHit::getFlightTime ( ) const

Definition at line 56 of file TofMcHit.cxx.

56 {
57 return m_flightTime;
58}

◆ getFlightTime() [2/2]

double Event::TofMcHit::getFlightTime ( ) const

◆ getPositionX() [1/2]

double Event::TofMcHit::getPositionX ( ) const

Definition at line 21 of file TofMcHit.cxx.

21 {
22 return m_xPosition;
23}

◆ getPositionX() [2/2]

double Event::TofMcHit::getPositionX ( ) const

◆ getPositionY() [1/2]

double Event::TofMcHit::getPositionY ( ) const

Definition at line 26 of file TofMcHit.cxx.

26 {
27 return m_yPosition;
28}

◆ getPositionY() [2/2]

double Event::TofMcHit::getPositionY ( ) const

◆ getPositionZ() [1/2]

double Event::TofMcHit::getPositionZ ( ) const

Definition at line 31 of file TofMcHit.cxx.

31 {
32 return m_zPosition;
33}

◆ getPositionZ() [2/2]

double Event::TofMcHit::getPositionZ ( ) const

◆ getPx() [1/2]

double Event::TofMcHit::getPx ( ) const

Definition at line 36 of file TofMcHit.cxx.

36 {
37 return m_px;
38}

◆ getPx() [2/2]

double Event::TofMcHit::getPx ( ) const

◆ getPy() [1/2]

double Event::TofMcHit::getPy ( ) const

Definition at line 41 of file TofMcHit.cxx.

41 {
42 return m_py;
43}

◆ getPy() [2/2]

double Event::TofMcHit::getPy ( ) const

◆ getPz() [1/2]

double Event::TofMcHit::getPz ( ) const

Definition at line 46 of file TofMcHit.cxx.

46 {
47 return m_pz;
48}

◆ getPz() [2/2]

double Event::TofMcHit::getPz ( ) const

◆ getTrackIndex() [1/2]

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

Definition at line 16 of file TofMcHit.cxx.

16 {
17 return m_trackIndex;
18}

◆ getTrackIndex() [2/2]

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

◆ getTrackLength() [1/2]

double Event::TofMcHit::getTrackLength ( ) const

Definition at line 51 of file TofMcHit.cxx.

51 {
52 return m_trackLength;
53}

◆ getTrackLength() [2/2]

double Event::TofMcHit::getTrackLength ( ) const

◆ identify() [1/2]

Identifier Event::TofMcHit::identify ( ) const

Definition at line 11 of file TofMcHit.cxx.

11 {
12 return m_id;
13}

◆ identify() [2/2]

Identifier Event::TofMcHit::identify ( ) const

◆ setFlightTime() [1/2]

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

Definition at line 69 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

69{m_flightTime = flightTime; }

◆ setFlightTime() [2/2]

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

Definition at line 69 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

69{m_flightTime = flightTime; }

◆ setIdentifier() [1/2]

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

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

60{m_id = id;}

◆ setIdentifier() [2/2]

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

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

60{m_id = id;}

◆ setPositionX() [1/2]

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

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

62{m_xPosition = positionX;}

◆ setPositionX() [2/2]

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

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

62{m_xPosition = positionX;}

◆ setPositionY() [1/2]

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

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

63{m_yPosition = positionY;}

◆ setPositionY() [2/2]

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

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

63{m_yPosition = positionY;}

◆ setPositionZ() [1/2]

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

Definition at line 64 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

64{m_zPosition = positionZ;}

◆ setPositionZ() [2/2]

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

Definition at line 64 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

64{m_zPosition = positionZ;}

◆ setPx() [1/2]

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

Definition at line 65 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

65{m_px = px;}

◆ setPx() [2/2]

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

Definition at line 65 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

65{m_px = px;}

◆ setPy() [1/2]

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

Definition at line 66 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

66{m_py = py;}

◆ setPy() [2/2]

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

Definition at line 66 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

66{m_py = py;}

◆ setPz() [1/2]

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

Definition at line 67 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

67{m_pz = pz;}

◆ setPz() [2/2]

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

Definition at line 67 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

67{m_pz = pz;}

◆ setTrackIndex() [1/2]

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

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

61{ m_trackIndex = trackIndex;}

◆ setTrackIndex() [2/2]

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

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

61{ m_trackIndex = trackIndex;}

◆ setTrackLength() [1/2]

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

Definition at line 68 of file Event/McTruth/McTruth-00-02-19/McTruth/TofMcHit.h.

68{m_trackLength = trackLength; }

◆ setTrackLength() [2/2]

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

Definition at line 68 of file InstallArea/include/McTruth/McTruth/TofMcHit.h.

68{m_trackLength = trackLength; }

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