2 #define HCALTBTIMING_H 1
100 void setTimes(
const double trigger_time,
101 const double ttc_l1a_time,
102 const double laser_flash,
103 const double qie_phase,
104 const double TOF1S_time,
105 const double TOF1J_time,
106 const double TOF2S_time,
107 const double TOF2J_time);
109 void setHits(
const std::vector<double>& m1hits,
110 const std::vector<double>& m2hits,
111 const std::vector<double>& m3hits,
112 const std::vector<double>& s1hits,
113 const std::vector<double>& s2hits,
114 const std::vector<double>& s3hits,
115 const std::vector<double>& s4hits,
116 const std::vector<double>& bh1hits,
117 const std::vector<double>& bh2hits,
118 const std::vector<double>& bh3hits,
119 const std::vector<double>& bh4hits,
120 const std::vector<double>& beamCoincidenceHits);
double TOF1Jtime() const
Returns the TOF1J time (zero otherwise)
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
double M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double triggerTime() const
Returns the trigger time in ns.
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
std::vector< double > s2hits_
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
std::vector< double > bh1hits_
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
std::vector< double > s1hits_
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
int V775(int index) const
Returns the hit in the specified channel.
std::vector< double > m3hits_
double TOF2Jtime() const
Returns the TOF2J time (zero otherwise)
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE'S VIEW.
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
std::vector< double > s4hits_
double laserFlash() const
Returns the laser activation time in ns.
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
std::vector< double > s3hits_
std::vector< double > beamCoincidenceHits_
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
std::vector< double > m1hits_
void setTimes(const double trigger_time, const double ttc_l1a_time, const double laser_flash, const double qie_phase, const double TOF1S_time, const double TOF1J_time, const double TOF2S_time, const double TOF2J_time)
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
int BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
void setHits(const std::vector< double > &m1hits, const std::vector< double > &m2hits, const std::vector< double > &m3hits, const std::vector< double > &s1hits, const std::vector< double > &s2hits, const std::vector< double > &s3hits, const std::vector< double > &s4hits, const std::vector< double > &bh1hits, const std::vector< double > &bh2hits, const std::vector< double > &bh3hits, const std::vector< double > &bh4hits, const std::vector< double > &beamCoincidenceHits)
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
std::vector< double > bh4hits_
std::vector< double > bh2hits_
double BH2Hits(int index) const
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE'S VIEW...
std::vector< double > m2hits_
std::vector< double > bh3hits_
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
int M1Count() const
Returns the number of hits from muon veto scintillator M1.