#include <HcalTBTiming.h>
Public Member Functions | |
int | BeamCoincidenceCount () const |
Returns the number of hits from Beam Coincidence. More... | |
double | BeamCoincidenceHits (int index) const |
Returns the indexed hit time from Beam Coincidence. More... | |
int | BH1Count () const |
Returns the number of hits from beam halo counter up horizontal. More... | |
double | BH1Hits (int index) const |
Returns the indexed hit time from beam halo counter UP HORIZONTAL. More... | |
int | BH2Count () const |
Returns the number of hits from beam halo counter left from particle view. More... | |
double | BH2Hits (int index) const |
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE'S VIEW. More... | |
int | BH3Count () const |
Returns the number of hits from beam halo counter right from particle view. More... | |
double | BH3Hits (int index) const |
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE'S VIEW. More... | |
int | BH4Count () const |
Returns the number of hits from beam halo counter down horizontal. More... | |
double | BH4Hits (int index) const |
Returns the indexed hit time from beam halo counter DOWN HORZINTAL. More... | |
HcalTBTiming () | |
double | laserFlash () const |
Returns the laser activation time in ns. More... | |
int | M1Count () const |
Returns the number of hits from muon veto scintillator M1. More... | |
double | M1Hits (int index) const |
Returns the indexed hit time from muon veto scintillator M1. More... | |
int | M2Count () const |
Returns the number of hits from muon veto scintillator M2. More... | |
double | M2Hits (int index) const |
Returns the indexed hit time from muon veto scintillator M2. More... | |
int | M3Count () const |
Returns the number of hits from muon veto scintillator M3. More... | |
double | M3Hits (int index) const |
Returns the indexed hit time from muon veto scintillator M3. More... | |
double | qiePhase () const |
Returns the QIE phase for 2003 testbeam data (zero otherwise) More... | |
int | S1Count () const |
Returns the number of hits from scintillator S1, which is 12cm x 12cm. More... | |
double | S1Hits (int index) const |
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm. More... | |
int | S2Count () const |
Returns the number of hits from scintillator S2, which is 4cm x 4cm. More... | |
double | S2Hits (int index) const |
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm. More... | |
int | S3Count () const |
Returns the number of hits from scintillator S3, which is 2cm x 2cm. More... | |
double | S3Hits (int index) const |
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm. More... | |
int | S4Count () const |
Returns the number of hits from scintillator S4, which is 12cm x 12cm. More... | |
double | S4Hits (int index) const |
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm. More... | |
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) |
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) |
void | setV775 (int *V775) |
double | TOF1Jtime () const |
Returns the TOF1J time (zero otherwise) More... | |
double | TOF1Stime () const |
Returns the TOF1S time (zero otherwise) More... | |
double | TOF2Jtime () const |
Returns the TOF2J time (zero otherwise) More... | |
double | TOF2Stime () const |
Returns the TOF2S time (zero otherwise) More... | |
double | triggerTime () const |
Returns the trigger time in ns. More... | |
double | ttcL1Atime () const |
Returns the Level 1 Accept time in ns. More... | |
int | V775 (int index) const |
Returns the hit in the specified channel. More... | |
Private Attributes | |
std::vector< double > | beamCoincidenceHits_ |
std::vector< double > | bh1hits_ |
std::vector< double > | bh2hits_ |
std::vector< double > | bh3hits_ |
std::vector< double > | bh4hits_ |
double | laserFlash_ |
std::vector< double > | m1hits_ |
std::vector< double > | m2hits_ |
std::vector< double > | m3hits_ |
double | qiePhase_ |
std::vector< double > | s1hits_ |
std::vector< double > | s2hits_ |
std::vector< double > | s3hits_ |
std::vector< double > | s4hits_ |
double | TOF1Jtime_ |
double | TOF1Stime_ |
double | TOF2Jtime_ |
double | TOF2Stime_ |
double | triggerTime_ |
double | ttcL1Atime_ |
int | V775_ [32] |
This class contains timing information unpacked from the Time-to-Digital Converter (TDC).
Definition at line 17 of file HcalTBTiming.h.
HcalTBTiming::HcalTBTiming | ( | ) |
Definition at line 5 of file HcalTBTiming.cc.
References mps_fire::i, and V775_.
|
inline |
Returns the number of hits from Beam Coincidence.
Definition at line 44 of file HcalTBTiming.h.
References beamCoincidenceHits_.
Referenced by ZdcTBAnalysis::analyze(), operator<<(), and EcalTBH2TDCRecInfoAlgo::reconstruct().
|
inline |
Returns the indexed hit time from Beam Coincidence.
Definition at line 71 of file HcalTBTiming.h.
References beamCoincidenceHits_.
Referenced by ZdcTBAnalysis::analyze(), operator<<(), and EcalTBH2TDCRecInfoAlgo::reconstruct().
|
inline |
Returns the number of hits from beam halo counter up horizontal.
Definition at line 62 of file HcalTBTiming.h.
References bh1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
Definition at line 89 of file HcalTBTiming.h.
References bh1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from beam halo counter left from particle view.
Definition at line 64 of file HcalTBTiming.h.
References bh2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE'S VIEW.
Definition at line 91 of file HcalTBTiming.h.
References bh2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from beam halo counter right from particle view.
Definition at line 66 of file HcalTBTiming.h.
References bh3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE'S VIEW.
Definition at line 93 of file HcalTBTiming.h.
References bh3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from beam halo counter down horizontal.
Definition at line 68 of file HcalTBTiming.h.
References bh4hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
Definition at line 95 of file HcalTBTiming.h.
References bh4hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the laser activation time in ns.
Definition at line 30 of file HcalTBTiming.h.
References laserFlash_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from muon veto scintillator M1.
Definition at line 46 of file HcalTBTiming.h.
References m1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from muon veto scintillator M1.
Definition at line 73 of file HcalTBTiming.h.
References m1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from muon veto scintillator M2.
Definition at line 48 of file HcalTBTiming.h.
References m2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from muon veto scintillator M2.
Definition at line 75 of file HcalTBTiming.h.
References m2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from muon veto scintillator M3.
Definition at line 50 of file HcalTBTiming.h.
References m3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from muon veto scintillator M3.
Definition at line 77 of file HcalTBTiming.h.
References m3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the QIE phase for 2003 testbeam data (zero otherwise)
Definition at line 32 of file HcalTBTiming.h.
References qiePhase_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
Definition at line 53 of file HcalTBTiming.h.
References s1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
Definition at line 80 of file HcalTBTiming.h.
References s1hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
Definition at line 55 of file HcalTBTiming.h.
References s2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
Definition at line 82 of file HcalTBTiming.h.
References s2hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
Definition at line 57 of file HcalTBTiming.h.
References s3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
Definition at line 84 of file HcalTBTiming.h.
References s3hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
Definition at line 59 of file HcalTBTiming.h.
References s4hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
Definition at line 86 of file HcalTBTiming.h.
References s4hits_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
void HcalTBTiming::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 | ||
) |
Definition at line 48 of file HcalTBTiming.cc.
References beamCoincidenceHits_, bh1hits_, bh2hits_, bh3hits_, bh4hits_, m1hits_, m2hits_, m3hits_, s1hits_, s2hits_, s3hits_, and s4hits_.
void HcalTBTiming::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 | ||
) |
Definition at line 30 of file HcalTBTiming.cc.
References laserFlash_, qiePhase_, TOF1Jtime_, TOF1Stime_, TOF2Jtime_, TOF2Stime_, triggerTime_, and ttcL1Atime_.
void HcalTBTiming::setV775 | ( | int * | V775 | ) |
Definition at line 76 of file HcalTBTiming.cc.
References mps_fire::i, V775(), and V775_.
|
inline |
Returns the TOF1J time (zero otherwise)
Definition at line 37 of file HcalTBTiming.h.
References TOF1Jtime_.
Referenced by operator<<().
|
inline |
Returns the TOF1S time (zero otherwise)
Definition at line 35 of file HcalTBTiming.h.
References TOF1Stime_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the TOF2J time (zero otherwise)
Definition at line 41 of file HcalTBTiming.h.
References TOF2Jtime_.
Referenced by operator<<().
|
inline |
Returns the TOF2S time (zero otherwise)
Definition at line 39 of file HcalTBTiming.h.
References TOF2Stime_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the trigger time in ns.
Definition at line 24 of file HcalTBTiming.h.
References triggerTime_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Returns the Level 1 Accept time in ns.
Definition at line 27 of file HcalTBTiming.h.
References ttcL1Atime_.
Referenced by ZdcTBAnalysis::analyze(), operator<<(), and EcalTBH2TDCRecInfoAlgo::reconstruct().
|
inline |
Returns the hit in the specified channel.
Definition at line 97 of file HcalTBTiming.h.
References V775_.
Referenced by setV775().
|
private |
Definition at line 135 of file HcalTBTiming.h.
Referenced by BeamCoincidenceCount(), BeamCoincidenceHits(), and setHits().
|
private |
Definition at line 146 of file HcalTBTiming.h.
Referenced by BH1Count(), BH1Hits(), and setHits().
|
private |
Definition at line 147 of file HcalTBTiming.h.
Referenced by BH2Count(), BH2Hits(), and setHits().
|
private |
Definition at line 148 of file HcalTBTiming.h.
Referenced by BH3Count(), BH3Hits(), and setHits().
|
private |
Definition at line 149 of file HcalTBTiming.h.
Referenced by BH4Count(), BH4Hits(), and setHits().
|
private |
Definition at line 127 of file HcalTBTiming.h.
Referenced by laserFlash(), and setTimes().
|
private |
Definition at line 137 of file HcalTBTiming.h.
|
private |
Definition at line 138 of file HcalTBTiming.h.
|
private |
Definition at line 139 of file HcalTBTiming.h.
|
private |
Definition at line 128 of file HcalTBTiming.h.
Referenced by qiePhase(), and setTimes().
|
private |
Definition at line 141 of file HcalTBTiming.h.
|
private |
Definition at line 142 of file HcalTBTiming.h.
|
private |
Definition at line 143 of file HcalTBTiming.h.
|
private |
Definition at line 144 of file HcalTBTiming.h.
|
private |
Definition at line 130 of file HcalTBTiming.h.
Referenced by setTimes(), and TOF1Jtime().
|
private |
Definition at line 129 of file HcalTBTiming.h.
Referenced by setTimes(), and TOF1Stime().
|
private |
Definition at line 132 of file HcalTBTiming.h.
Referenced by setTimes(), and TOF2Jtime().
|
private |
Definition at line 131 of file HcalTBTiming.h.
Referenced by setTimes(), and TOF2Stime().
|
private |
Definition at line 125 of file HcalTBTiming.h.
Referenced by setTimes(), and triggerTime().
|
private |
Definition at line 126 of file HcalTBTiming.h.
Referenced by setTimes(), and ttcL1Atime().
|
private |
Definition at line 134 of file HcalTBTiming.h.
Referenced by HcalTBTiming(), setV775(), and V775().