33 #include "StBTofHit.h"
36 const Float_t StBTofHit::mBTofPadWidth = 3.45;
39 StBTofHit::StBTofHit() {
43 mLeadingEdgeTime = 0.;
44 mTrailingEdgeTime = 0.;
48 const StTrack* StBTofHit::associatedTrack()
const {
return mAssociatedTrack; }
49 StTrack* StBTofHit::associatedTrack() {
return mAssociatedTrack; }
52 StBTofHit::setAssociatedTrack(
StTrack* val) { mAssociatedTrack = val; }
56 pos.set(0.,mBTofPadWidth*(cell() - 3.5), 0.);
61 os << Form(
"Tray:%3i",hit.tray())
62 << Form(
" Module:%2i",hit.module())
63 << Form(
" Cell:%2i",hit.cell())
64 << Form(
" LeTime %7.2f",hit.leadingEdgeTime())
65 << Form(
" TeTime %7.2f",hit.trailingEdgeTime())
66 << Form(
" Track %5i",(hit.associatedTrack() ? hit.associatedTrack()->key() : 0))
67 << Form(
" IdTruth %5i",hit.idTruth())
68 << Form(
" Quality%3i",hit.qaTruth());