CMS 3D CMS Logo

Functions
HcalTBTiming.cc File Reference
#include "TBDataFormats/HcalTBObjects/interface/HcalTBTiming.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const HcalTBTiming &htbtmg)
 

Function Documentation

ostream& operator<< ( ostream &  s,
const HcalTBTiming htbtmg 
)

Definition at line 81 of file HcalTBTiming.cc.

References HcalTBTiming::BeamCoincidenceCount(), HcalTBTiming::BeamCoincidenceHits(), HcalTBTiming::BH1Count(), HcalTBTiming::BH1Hits(), HcalTBTiming::BH2Count(), HcalTBTiming::BH2Hits(), HcalTBTiming::BH3Count(), HcalTBTiming::BH3Hits(), HcalTBTiming::BH4Count(), HcalTBTiming::BH4Hits(), mps_fire::i, HcalTBTiming::laserFlash(), HcalTBTiming::M1Count(), HcalTBTiming::M1Hits(), HcalTBTiming::M2Count(), HcalTBTiming::M2Hits(), HcalTBTiming::M3Count(), HcalTBTiming::M3Hits(), HcalTBTiming::qiePhase(), alignCSCRings::s, HcalTBTiming::S1Count(), HcalTBTiming::S1Hits(), HcalTBTiming::S2Count(), HcalTBTiming::S2Hits(), HcalTBTiming::S3Count(), HcalTBTiming::S3Hits(), HcalTBTiming::S4Count(), HcalTBTiming::S4Hits(), HcalTBTiming::TOF1Jtime(), HcalTBTiming::TOF1Stime(), HcalTBTiming::TOF2Jtime(), HcalTBTiming::TOF2Stime(), HcalTBTiming::triggerTime(), and HcalTBTiming::ttcL1Atime().

81  {
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;
90 
91  s << "M1 hits: ";
92  for (int i = 0; i < htbtmg.M1Count(); i++) {
93  if (i)
94  s << ", ";
95  s << htbtmg.M1Hits(i);
96  }
97  s << endl;
98 
99  s << "M2 hits: ";
100  for (int i = 0; i < htbtmg.M2Count(); i++) {
101  if (i)
102  s << ", ";
103  s << htbtmg.M2Hits(i);
104  }
105  s << endl;
106 
107  s << "M3 hits: ";
108  for (int i = 0; i < htbtmg.M3Count(); i++) {
109  if (i)
110  s << ", ";
111  s << htbtmg.M3Hits(i);
112  }
113  s << endl;
114 
115  s << "S1 hits: ";
116  for (int i = 0; i < htbtmg.S1Count(); i++) {
117  if (i)
118  s << ", ";
119  s << htbtmg.S1Hits(i);
120  }
121  s << endl;
122 
123  s << "S2 hits: ";
124  for (int i = 0; i < htbtmg.S2Count(); i++) {
125  if (i)
126  s << ", ";
127  s << htbtmg.S2Hits(i);
128  }
129  s << endl;
130 
131  s << "S3 hits: ";
132  for (int i = 0; i < htbtmg.S3Count(); i++) {
133  if (i)
134  s << ", ";
135  s << htbtmg.S3Hits(i);
136  }
137  s << endl;
138 
139  s << "S4 hits: ";
140  for (int i = 0; i < htbtmg.S4Count(); i++) {
141  if (i)
142  s << ", ";
143  s << htbtmg.S4Hits(i);
144  }
145  s << endl;
146 
147  s << "BH1 hits: ";
148  for (int i = 0; i < htbtmg.BH1Count(); i++) {
149  if (i)
150  s << ", ";
151  s << htbtmg.BH1Hits(i);
152  }
153  s << endl;
154 
155  s << "BH2 hits: ";
156  for (int i = 0; i < htbtmg.BH2Count(); i++) {
157  if (i)
158  s << ", ";
159  s << htbtmg.BH2Hits(i);
160  }
161  s << endl;
162 
163  s << "BH3 hits: ";
164  for (int i = 0; i < htbtmg.BH3Count(); i++) {
165  if (i)
166  s << ", ";
167  s << htbtmg.BH3Hits(i);
168  }
169  s << endl;
170 
171  s << "BH4 hits: ";
172  for (int i = 0; i < htbtmg.BH4Count(); i++) {
173  if (i)
174  s << ", ";
175  s << htbtmg.BH4Hits(i);
176  }
177  s << endl;
178 
179  s << "Beam Coincidence hits: ";
180  for (int i = 0; i < htbtmg.BeamCoincidenceCount(); i++) {
181  if (i)
182  s << ", ";
183  s << htbtmg.BeamCoincidenceHits(i);
184  }
185  s << endl;
186 
187  return s;
188 }
double TOF1Jtime() const
Returns the TOF1J time (zero otherwise)
Definition: HcalTBTiming.h:37
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:59
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
Definition: HcalTBTiming.h:75
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:80
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:55
double M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
Definition: HcalTBTiming.h:77
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:57
double triggerTime() const
Returns the trigger time in ns.
Definition: HcalTBTiming.h:24
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
Definition: HcalTBTiming.h:27
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:53
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
Definition: HcalTBTiming.h:89
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
Definition: HcalTBTiming.h:64
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
Definition: HcalTBTiming.h:39
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
Definition: HcalTBTiming.h:62
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:86
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
Definition: HcalTBTiming.h:95
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
Definition: HcalTBTiming.h:66
double TOF2Jtime() const
Returns the TOF2J time (zero otherwise)
Definition: HcalTBTiming.h:41
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:84
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
Definition: HcalTBTiming.h:71
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE&#39;S VIEW.
Definition: HcalTBTiming.h:93
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
Definition: HcalTBTiming.h:73
double laserFlash() const
Returns the laser activation time in ns.
Definition: HcalTBTiming.h:30
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
Definition: HcalTBTiming.h:35
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
Definition: HcalTBTiming.h:44
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
Definition: HcalTBTiming.h:48
int BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
Definition: HcalTBTiming.h:68
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
Definition: HcalTBTiming.h:50
double BH2Hits(int index) const
Returns the indexed hit time from from beam halo counter BEAM LEFT FROM PARTICLE&#39;S VIEW...
Definition: HcalTBTiming.h:91
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:82
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
Definition: HcalTBTiming.h:32
int M1Count() const
Returns the number of hits from muon veto scintillator M1.
Definition: HcalTBTiming.h:46