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 M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE'S VIEW.
double TOF1Jtime() const
Returns the TOF1J time (zero otherwise)
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
std::ostream & operator<<(std::ostream &s, const HcalTBTiming &htbtmg)
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
double triggerTime() const
Returns the trigger time in ns.
double TOF2Jtime() const
Returns the TOF2J time (zero otherwise)
double laserFlash() const
Returns the laser activation time in ns.
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
std::vector< double > s2hits_
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
int V775(int index) const
Returns the hit in the specified channel.
std::vector< double > bh1hits_
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
double BH2Hits(int index) const
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE'S VIEW...
std::vector< double > s1hits_
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
std::vector< double > m3hits_
std::vector< double > s4hits_
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
std::vector< double > s3hits_
int M1Count() const
Returns the number of hits from muon veto scintillator M1.
std::vector< double > beamCoincidenceHits_
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
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 BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
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)
std::vector< double > bh4hits_
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
std::vector< double > bh2hits_
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
std::vector< double > m2hits_
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
std::vector< double > bh3hits_
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.