CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/TBDataFormats/HcalTBObjects/src/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().

                                                              {

    s << "Trigger time     = " << htbtmg.triggerTime() << endl;
    s << "TTC L1A time     = " << htbtmg.ttcL1Atime() << endl;
    s << "Laser Flash      = " << htbtmg.laserFlash() << endl;
    s << "QIE Phase        = " << htbtmg.qiePhase() << endl;
    s << "TOF1S            = " << htbtmg.TOF1Stime() << endl;
    s << "TOF1J            = " << htbtmg.TOF1Jtime() << endl;
    s << "TOF2S            = " << htbtmg.TOF2Stime() << endl;
    s << "TOF2J            = " << htbtmg.TOF2Jtime() << endl;

    s << "M1 hits: ";
    for (int i=0; i<htbtmg.M1Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.M1Hits(i);
    }
    s << endl;

    s << "M2 hits: ";
    for (int i=0; i<htbtmg.M2Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.M2Hits(i);
    }
    s << endl;

    s << "M3 hits: ";
    for (int i=0; i<htbtmg.M3Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.M3Hits(i);
    }
    s << endl;

    s << "S1 hits: ";
    for (int i=0; i<htbtmg.S1Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.S1Hits(i);
    }
    s << endl;

    s << "S2 hits: ";
    for (int i=0; i<htbtmg.S2Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.S2Hits(i);
    }
    s << endl;

    s << "S3 hits: ";
    for (int i=0; i<htbtmg.S3Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.S3Hits(i);
    }
    s << endl;

    s << "S4 hits: ";
    for (int i=0; i<htbtmg.S4Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.S4Hits(i);
    }
    s << endl;

    s << "BH1 hits: ";
    for (int i=0; i<htbtmg.BH1Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.BH1Hits(i);
    }
    s << endl;

    s << "BH2 hits: ";
    for (int i=0; i<htbtmg.BH2Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.BH2Hits(i);
    }
    s << endl;

    s << "BH3 hits: ";
    for (int i=0; i<htbtmg.BH3Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.BH3Hits(i);
    }
    s << endl;

    s << "BH4 hits: ";
    for (int i=0; i<htbtmg.BH4Count(); i++) {
      if (i) s << ", ";
      s << htbtmg.BH4Hits(i);
    }
    s << endl;

    s << "Beam Coincidence hits: ";
    for (int i=0; i<htbtmg.BeamCoincidenceCount(); i++) {
      if (i) s << ", ";
      s << htbtmg.BeamCoincidenceHits(i);
    }
    s << endl;

    return s;
  }