00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "StHltBTofHit.h"
00018 #include "StHltTrackNode.h"
00019
00020 ClassImp(StHltBTofHit)
00021
00022 StHltBTofHit::StHltBTofHit()
00023 {
00024 mTrayId = 0;
00025 mChannel = 0;
00026 mTdc = 0;
00027 mTot = 0;
00028 mTof = 0;
00029 mTriggerTime = 0;
00030 mTrackNode = 0;
00031 }
00032
00033 StHltBTofHit::~StHltBTofHit(){}
00034
00035 void
00036 StHltBTofHit::setTrayId(short val)
00037 {
00038 mTrayId = val;
00039 }
00040
00041 void
00042 StHltBTofHit::setChannel(short val)
00043 {
00044 mChannel = val;
00045 }
00046
00047 void
00048 StHltBTofHit::setTdc(float val)
00049 {
00050 mTdc = val;
00051 }
00052
00053 void
00054 StHltBTofHit::setTot(float val)
00055 {
00056 mTot = val;
00057 }
00058
00059 void
00060 StHltBTofHit::setTof(float val)
00061 {
00062 mTof = val;
00063 }
00064
00065 void
00066 StHltBTofHit::setTriggerTime(float val)
00067 {
00068 mTriggerTime = val;
00069 }
00070
00071 void
00072 StHltBTofHit::setTrackNode(StHltTrackNode* val)
00073 {
00074 mTrackNode = val;
00075 }
00076
00077
00078 ostream&
00079 operator<<(ostream &os, const StHltBTofHit& hit)
00080 {
00081 os << " trayId "<<hit.trayId()<<" channel "<<hit.channel()
00082 << " module "<<hit.module()<<" cell "<<hit.cell()<<endl
00083 << " tdc "<<hit.tdc()<<" tot "<<hit.tot()<<" tof "<<hit.tof()<<" triggerTime "<<hit.triggerTime()<<endl;
00084 return os;
00085 }
00086