00001 #include "McTruth/TofMcHit.h"
00002
00003 Event::TofMcHit::TofMcHit(const Identifier& id, unsigned int trackIndex, double xPosition,
00004 double yPosition, double zPosition, double px, double py,
00005 double pz, double trackLength, double flightTime)
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){}
00009
00010
00011 Identifier Event::TofMcHit::identify() const {
00012 return m_id;
00013 }
00014
00015
00016 unsigned int Event::TofMcHit::getTrackIndex() const {
00017 return m_trackIndex;
00018 }
00019
00020
00021 double Event::TofMcHit::getPositionX() const {
00022 return m_xPosition;
00023 }
00024
00025
00026 double Event::TofMcHit::getPositionY() const {
00027 return m_yPosition;
00028 }
00029
00030
00031 double Event::TofMcHit::getPositionZ() const {
00032 return m_zPosition;
00033 }
00034
00035
00036 double Event::TofMcHit::getPx() const {
00037 return m_px;
00038 }
00039
00040
00041 double Event::TofMcHit::getPy() const {
00042 return m_py;
00043 }
00044
00045
00046 double Event::TofMcHit::getPz() const {
00047 return m_pz;
00048 }
00049
00050
00051 double Event::TofMcHit::getTrackLength() const {
00052 return m_trackLength;
00053 }
00054
00055
00056 double Event::TofMcHit::getFlightTime() const {
00057 return m_flightTime;
00058 }