14 beamCoincidenceHits_(),
30 const double ttc_l1a_time,
31 const double laser_flash,
32 const double qie_phase,
33 const double TOF1S_time,
34 const double TOF1J_time,
35 const double TOF2S_time,
36 const double TOF2J_time) {
48 const std::vector<double>& m2hits,
49 const std::vector<double>& m3hits,
50 const std::vector<double>& s1hits,
51 const std::vector<double>& s2hits,
52 const std::vector<double>& s3hits,
53 const std::vector<double>& s4hits,
54 const std::vector<double>& bh1hits,
55 const std::vector<double>& bh2hits,
56 const std::vector<double>& bh3hits,
57 const std::vector<double>& bh4hits,
58 const std::vector<double>& beamCoincidenceHits) {
83 s <<
"Trigger time = " << htbtmg.
triggerTime() << endl;
84 s <<
"TTC L1A time = " << htbtmg.
ttcL1Atime() << endl;
85 s <<
"Laser Flash = " << htbtmg.
laserFlash() << endl;
86 s <<
"QIE Phase = " << htbtmg.
qiePhase() << endl;
87 s <<
"TOF1S = " << htbtmg.
TOF1Stime() << endl;
88 s <<
"TOF1J = " << htbtmg.
TOF1Jtime() << endl;
89 s <<
"TOF2S = " << htbtmg.
TOF2Stime() << endl;
90 s <<
"TOF2J = " << htbtmg.
TOF2Jtime() << endl;
169 s <<
"Beam Coincidence hits: ";
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.
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.
ostream & operator<<(ostream &s, const HcalTBTiming &htbtmg)
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.