CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 13 of file HcalTBRunData.cc.

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

13  {
14  s << "Run type = " << htbrd.runType() << endl;
15  s << "Beam Mode = " << htbrd.beamMode() << endl;
16  s << "Beam Energy = " << htbrd.beamEnergyGeV() << " GeV" << endl;
17  return s;
18 }
double beamEnergyGeV() const
Returns the beam energy in GeV.
Definition: HcalTBRunData.h:27
const std::string & beamMode() const
Returns the beam mode string.
Definition: HcalTBRunData.h:24
const std::string & runType() const
Returns the run type string.
Definition: HcalTBRunData.h:22