CMS 3D CMS Logo

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(), lat::endl(), i, HcalTBTiming::laserFlash(), HcalTBTiming::M1Count(), HcalTBTiming::M1Hits(), HcalTBTiming::M2Count(), HcalTBTiming::M2Hits(), HcalTBTiming::M3Count(), HcalTBTiming::M3Hits(), HcalTBTiming::qiePhase(), 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().

00081                                                               {
00082 
00083     s << "Trigger time     = " << htbtmg.triggerTime() << endl;
00084     s << "TTC L1A time     = " << htbtmg.ttcL1Atime() << endl;
00085     s << "Laser Flash      = " << htbtmg.laserFlash() << endl;
00086     s << "QIE Phase        = " << htbtmg.qiePhase() << endl;
00087     s << "TOF1S            = " << htbtmg.TOF1Stime() << endl;
00088     s << "TOF1J            = " << htbtmg.TOF1Jtime() << endl;
00089     s << "TOF2S            = " << htbtmg.TOF2Stime() << endl;
00090     s << "TOF2J            = " << htbtmg.TOF2Jtime() << endl;
00091 
00092     s << "M1 hits: ";
00093     for (int i=0; i<htbtmg.M1Count(); i++) {
00094       if (i) s << ", ";
00095       s << htbtmg.M1Hits(i);
00096     }
00097     s << endl;
00098 
00099     s << "M2 hits: ";
00100     for (int i=0; i<htbtmg.M2Count(); i++) {
00101       if (i) s << ", ";
00102       s << htbtmg.M2Hits(i);
00103     }
00104     s << endl;
00105 
00106     s << "M3 hits: ";
00107     for (int i=0; i<htbtmg.M3Count(); i++) {
00108       if (i) s << ", ";
00109       s << htbtmg.M3Hits(i);
00110     }
00111     s << endl;
00112 
00113     s << "S1 hits: ";
00114     for (int i=0; i<htbtmg.S1Count(); i++) {
00115       if (i) s << ", ";
00116       s << htbtmg.S1Hits(i);
00117     }
00118     s << endl;
00119 
00120     s << "S2 hits: ";
00121     for (int i=0; i<htbtmg.S2Count(); i++) {
00122       if (i) s << ", ";
00123       s << htbtmg.S2Hits(i);
00124     }
00125     s << endl;
00126 
00127     s << "S3 hits: ";
00128     for (int i=0; i<htbtmg.S3Count(); i++) {
00129       if (i) s << ", ";
00130       s << htbtmg.S3Hits(i);
00131     }
00132     s << endl;
00133 
00134     s << "S4 hits: ";
00135     for (int i=0; i<htbtmg.S4Count(); i++) {
00136       if (i) s << ", ";
00137       s << htbtmg.S4Hits(i);
00138     }
00139     s << endl;
00140 
00141     s << "BH1 hits: ";
00142     for (int i=0; i<htbtmg.BH1Count(); i++) {
00143       if (i) s << ", ";
00144       s << htbtmg.BH1Hits(i);
00145     }
00146     s << endl;
00147 
00148     s << "BH2 hits: ";
00149     for (int i=0; i<htbtmg.BH2Count(); i++) {
00150       if (i) s << ", ";
00151       s << htbtmg.BH2Hits(i);
00152     }
00153     s << endl;
00154 
00155     s << "BH3 hits: ";
00156     for (int i=0; i<htbtmg.BH3Count(); i++) {
00157       if (i) s << ", ";
00158       s << htbtmg.BH3Hits(i);
00159     }
00160     s << endl;
00161 
00162     s << "BH4 hits: ";
00163     for (int i=0; i<htbtmg.BH4Count(); i++) {
00164       if (i) s << ", ";
00165       s << htbtmg.BH4Hits(i);
00166     }
00167     s << endl;
00168 
00169     s << "Beam Coincidence hits: ";
00170     for (int i=0; i<htbtmg.BeamCoincidenceCount(); i++) {
00171       if (i) s << ", ";
00172       s << htbtmg.BeamCoincidenceHits(i);
00173     }
00174     s << endl;
00175 
00176     return s;
00177   }


Generated on Tue Jun 9 17:56:00 2009 for CMSSW by  doxygen 1.5.4