CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalTBRunData.cc File Reference
#include "TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const HcalTBRunData &htbrd)
 

Function Documentation

ostream& operator<< ( ostream &  s,
const HcalTBRunData htbrd 
)

Definition at line 19 of file HcalTBRunData.cc.

References HcalTBRunData::beamEnergyGeV(), HcalTBRunData::beamMode(), HcalTBRunData::runType(), and alignCSCRings::s.

19  {
20  s << "Run type = " << htbrd.runType() << endl;
21  s << "Beam Mode = " << htbrd.beamMode() << endl;
22  s << "Beam Energy = " << htbrd.beamEnergyGeV() << " GeV" << endl;
23  return s;
24  }
double beamEnergyGeV() const
Returns the beam energy in GeV.
Definition: HcalTBRunData.h:29
const std::string & beamMode() const
Returns the beam mode string.
Definition: HcalTBRunData.h:26
const std::string & runType() const
Returns the run type string.
Definition: HcalTBRunData.h:24