test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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(), 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 
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;
91 
92  s << "M1 hits: ";
93  for (int i=0; i<htbtmg.M1Count(); i++) {
94  if (i) 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) s << ", ";
102  s << htbtmg.M2Hits(i);
103  }
104  s << endl;
105 
106  s << "M3 hits: ";
107  for (int i=0; i<htbtmg.M3Count(); i++) {
108  if (i) s << ", ";
109  s << htbtmg.M3Hits(i);
110  }
111  s << endl;
112 
113  s << "S1 hits: ";
114  for (int i=0; i<htbtmg.S1Count(); i++) {
115  if (i) s << ", ";
116  s << htbtmg.S1Hits(i);
117  }
118  s << endl;
119 
120  s << "S2 hits: ";
121  for (int i=0; i<htbtmg.S2Count(); i++) {
122  if (i) s << ", ";
123  s << htbtmg.S2Hits(i);
124  }
125  s << endl;
126 
127  s << "S3 hits: ";
128  for (int i=0; i<htbtmg.S3Count(); i++) {
129  if (i) s << ", ";
130  s << htbtmg.S3Hits(i);
131  }
132  s << endl;
133 
134  s << "S4 hits: ";
135  for (int i=0; i<htbtmg.S4Count(); i++) {
136  if (i) s << ", ";
137  s << htbtmg.S4Hits(i);
138  }
139  s << endl;
140 
141  s << "BH1 hits: ";
142  for (int i=0; i<htbtmg.BH1Count(); i++) {
143  if (i) s << ", ";
144  s << htbtmg.BH1Hits(i);
145  }
146  s << endl;
147 
148  s << "BH2 hits: ";
149  for (int i=0; i<htbtmg.BH2Count(); i++) {
150  if (i) s << ", ";
151  s << htbtmg.BH2Hits(i);
152  }
153  s << endl;
154 
155  s << "BH3 hits: ";
156  for (int i=0; i<htbtmg.BH3Count(); i++) {
157  if (i) s << ", ";
158  s << htbtmg.BH3Hits(i);
159  }
160  s << endl;
161 
162  s << "BH4 hits: ";
163  for (int i=0; i<htbtmg.BH4Count(); i++) {
164  if (i) s << ", ";
165  s << htbtmg.BH4Hits(i);
166  }
167  s << endl;
168 
169  s << "Beam Coincidence hits: ";
170  for (int i=0; i<htbtmg.BeamCoincidenceCount(); i++) {
171  if (i) s << ", ";
172  s << htbtmg.BeamCoincidenceHits(i);
173  }
174  s << endl;
175 
176  return s;
177  }
double TOF1Jtime() const
Returns the TOF1J time (zero otherwise)
Definition: HcalTBTiming.h:38
int i
Definition: DBlmapReader.cc:9
int S4Count() const
Returns the number of hits from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:60
double M2Hits(int index) const
Returns the indexed hit time from muon veto scintillator M2.
Definition: HcalTBTiming.h:76
double S1Hits(int index) const
Returns the indexed hit time from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:81
int S2Count() const
Returns the number of hits from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:56
double M3Hits(int index) const
Returns the indexed hit time from muon veto scintillator M3.
Definition: HcalTBTiming.h:78
int S3Count() const
Returns the number of hits from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:58
double triggerTime() const
Returns the trigger time in ns.
Definition: HcalTBTiming.h:25
double ttcL1Atime() const
Returns the Level 1 Accept time in ns.
Definition: HcalTBTiming.h:28
int S1Count() const
Returns the number of hits from scintillator S1, which is 12cm x 12cm.
Definition: HcalTBTiming.h:54
double BH1Hits(int index) const
Returns the indexed hit time from beam halo counter UP HORIZONTAL.
Definition: HcalTBTiming.h:90
int BH2Count() const
Returns the number of hits from beam halo counter left from particle view.
Definition: HcalTBTiming.h:65
double TOF2Stime() const
Returns the TOF2S time (zero otherwise)
Definition: HcalTBTiming.h:40
int BH1Count() const
Returns the number of hits from beam halo counter up horizontal.
Definition: HcalTBTiming.h:63
double S4Hits(int index) const
Returns the indexed hit time from scintillator S4, which is 12cm x 12cm.
Definition: HcalTBTiming.h:87
double BH4Hits(int index) const
Returns the indexed hit time from beam halo counter DOWN HORZINTAL.
Definition: HcalTBTiming.h:96
int BH3Count() const
Returns the number of hits from beam halo counter right from particle view.
Definition: HcalTBTiming.h:67
double TOF2Jtime() const
Returns the TOF2J time (zero otherwise)
Definition: HcalTBTiming.h:42
double S3Hits(int index) const
Returns the indexed hit time from scintillator S3, which is 2cm x 2cm.
Definition: HcalTBTiming.h:85
double BeamCoincidenceHits(int index) const
Returns the indexed hit time from Beam Coincidence.
Definition: HcalTBTiming.h:72
double BH3Hits(int index) const
Returns the indexed hit time from beam halo counter BEAM RIGHT FROM PARTICLE&#39;S VIEW.
Definition: HcalTBTiming.h:94
double M1Hits(int index) const
Returns the indexed hit time from muon veto scintillator M1.
Definition: HcalTBTiming.h:74
double laserFlash() const
Returns the laser activation time in ns.
Definition: HcalTBTiming.h:31
double TOF1Stime() const
Returns the TOF1S time (zero otherwise)
Definition: HcalTBTiming.h:36
int BeamCoincidenceCount() const
Returns the number of hits from Beam Coincidence.
Definition: HcalTBTiming.h:45
int M2Count() const
Returns the number of hits from muon veto scintillator M2.
Definition: HcalTBTiming.h:49
int BH4Count() const
Returns the number of hits from beam halo counter down horizontal.
Definition: HcalTBTiming.h:69
int M3Count() const
Returns the number of hits from muon veto scintillator M3.
Definition: HcalTBTiming.h:51
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:92
double S2Hits(int index) const
Returns the indexed hit time from scintillator S2, which is 4cm x 4cm.
Definition: HcalTBTiming.h:83
double qiePhase() const
Returns the QIE phase for 2003 testbeam data (zero otherwise)
Definition: HcalTBTiming.h:33
int M1Count() const
Returns the number of hits from muon veto scintillator M1.
Definition: HcalTBTiming.h:47