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