/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/McTruth/McTruth-00-02-19/src/TofMcHit.cxx

Go to the documentation of this file.
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 // Get associated id
00011 Identifier Event::TofMcHit::identify() const {
00012   return  m_id;
00013 }
00014  
00015 // Get the associated track id 
00016 unsigned int Event::TofMcHit::getTrackIndex() const {
00017   return m_trackIndex;
00018 }
00019 
00020 // Get the position x 
00021 double Event::TofMcHit::getPositionX() const {
00022   return m_xPosition;
00023 }
00024 
00025 // Get the position y 
00026 double Event::TofMcHit::getPositionY() const {
00027   return m_yPosition;
00028 }
00029 
00030 // Get the position z 
00031 double Event::TofMcHit::getPositionZ() const {
00032   return m_zPosition;
00033 }
00034   
00035 // Get momentum Px 
00036 double Event::TofMcHit::getPx() const {
00037   return m_px;
00038 }
00039 
00040 // Get momentum Py  
00041 double Event::TofMcHit::getPy() const {
00042   return m_py; 
00043 }
00044 
00045 // Get momentum Pz  
00046 double Event::TofMcHit::getPz() const {
00047   return m_pz; 
00048 }
00049   
00050 // Get the trajectory length 
00051 double Event::TofMcHit::getTrackLength() const {
00052   return m_trackLength; 
00053 }
00054 
00055 // Get the flight time 
00056 double Event::TofMcHit::getFlightTime() const {
00057   return m_flightTime; 
00058 }

Generated on Tue Nov 29 22:58:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7