#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 () |
Private Member Functions | |
TofMcHit (const TofMcHit &) | |
TofMcHit & | operator= (const TofMcHit &) |
Private Attributes | |
Identifier | m_id |
unsigned int | m_trackIndex |
double | m_xPosition |
double | m_yPosition |
double | m_zPosition |
double | m_px |
double | m_py |
double | m_pz |
double | m_trackLength |
double | m_flightTime |
Definition at line 13 of file TofMcHit.h.
Event::TofMcHit::TofMcHit | ( | ) | [inline] |
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.
00006 : m_id(id), m_trackIndex(trackIndex), 00007 m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition), 00008 m_px(px), m_py(py), m_pz(pz), m_trackLength(trackLength), m_flightTime(flightTime){}
Event::TofMcHit::TofMcHit | ( | const TofMcHit & | ) | [private] |
static const CLID& Event::TofMcHit::classID | ( | ) | [inline, static] |
Definition at line 20 of file TofMcHit.h.
References CLID_TofMcHit.
Referenced by clID().
00021 { 00022 return CLID_TofMcHit; 00023 }
virtual const CLID& Event::TofMcHit::clID | ( | ) | const [inline, virtual] |
Definition at line 15 of file TofMcHit.h.
References classID().
00016 { 00017 return TofMcHit::classID(); 00018 }
double Event::TofMcHit::getFlightTime | ( | ) | const |
Definition at line 56 of file TofMcHit.cxx.
References m_flightTime.
00056 { 00057 return m_flightTime; 00058 }
double Event::TofMcHit::getPositionX | ( | ) | const |
Definition at line 21 of file TofMcHit.cxx.
References m_xPosition.
00021 { 00022 return m_xPosition; 00023 }
double Event::TofMcHit::getPositionY | ( | ) | const |
Definition at line 26 of file TofMcHit.cxx.
References m_yPosition.
00026 { 00027 return m_yPosition; 00028 }
double Event::TofMcHit::getPositionZ | ( | ) | const |
Definition at line 31 of file TofMcHit.cxx.
References m_zPosition.
00031 { 00032 return m_zPosition; 00033 }
double Event::TofMcHit::getPx | ( | ) | const |
double Event::TofMcHit::getPy | ( | ) | const |
double Event::TofMcHit::getPz | ( | ) | const |
unsigned int Event::TofMcHit::getTrackIndex | ( | ) | const |
Definition at line 16 of file TofMcHit.cxx.
References m_trackIndex.
00016 { 00017 return m_trackIndex; 00018 }
double Event::TofMcHit::getTrackLength | ( | ) | const |
Definition at line 51 of file TofMcHit.cxx.
References m_trackLength.
00051 { 00052 return m_trackLength; 00053 }
Identifier Event::TofMcHit::identify | ( | ) | const |
void Event::TofMcHit::setFlightTime | ( | double | flightTime | ) | [inline] |
Definition at line 69 of file TofMcHit.h.
References m_flightTime.
Referenced by TofMcHitCnv::TObjectToDataObject().
00069 {m_flightTime = flightTime; }
void Event::TofMcHit::setIdentifier | ( | unsigned int | id | ) | [inline] |
Definition at line 60 of file TofMcHit.h.
References m_id.
Referenced by TofMcHitCnv::TObjectToDataObject().
00060 {m_id = id;}
void Event::TofMcHit::setPositionX | ( | double | positionX | ) | [inline] |
Definition at line 62 of file TofMcHit.h.
References m_xPosition.
Referenced by TofMcHitCnv::TObjectToDataObject().
00062 {m_xPosition = positionX;}
void Event::TofMcHit::setPositionY | ( | double | positionY | ) | [inline] |
Definition at line 63 of file TofMcHit.h.
References m_yPosition.
Referenced by TofMcHitCnv::TObjectToDataObject().
00063 {m_yPosition = positionY;}
void Event::TofMcHit::setPositionZ | ( | double | positionZ | ) | [inline] |
Definition at line 64 of file TofMcHit.h.
References m_zPosition.
Referenced by TofMcHitCnv::TObjectToDataObject().
00064 {m_zPosition = positionZ;}
void Event::TofMcHit::setPx | ( | double | px | ) | [inline] |
Definition at line 65 of file TofMcHit.h.
References m_px.
Referenced by TofMcHitCnv::TObjectToDataObject().
00065 {m_px = px;}
void Event::TofMcHit::setPy | ( | double | py | ) | [inline] |
Definition at line 66 of file TofMcHit.h.
References m_py.
Referenced by TofMcHitCnv::TObjectToDataObject().
00066 {m_py = py;}
void Event::TofMcHit::setPz | ( | double | pz | ) | [inline] |
Definition at line 67 of file TofMcHit.h.
References m_pz.
Referenced by TofMcHitCnv::TObjectToDataObject().
00067 {m_pz = pz;}
void Event::TofMcHit::setTrackIndex | ( | unsigned int | trackIndex | ) | [inline] |
Definition at line 61 of file TofMcHit.h.
References m_trackIndex.
Referenced by TofMcHitCnv::TObjectToDataObject().
00061 { m_trackIndex = trackIndex;}
void Event::TofMcHit::setTrackLength | ( | double | trackLength | ) | [inline] |
Definition at line 68 of file TofMcHit.h.
References m_trackLength.
Referenced by TofMcHitCnv::TObjectToDataObject().
00068 {m_trackLength = trackLength; }
double Event::TofMcHit::m_flightTime [private] |
Identifier Event::TofMcHit::m_id [private] |
double Event::TofMcHit::m_px [private] |
double Event::TofMcHit::m_py [private] |
double Event::TofMcHit::m_pz [private] |
unsigned int Event::TofMcHit::m_trackIndex [private] |
double Event::TofMcHit::m_trackLength [private] |
double Event::TofMcHit::m_xPosition [private] |
double Event::TofMcHit::m_yPosition [private] |
double Event::TofMcHit::m_zPosition [private] |