CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
HcalTBRunData.h File Reference
#include <string>
#include <iostream>
#include "boost/cstdint.hpp"

Go to the source code of this file.

Classes

class  HcalTBRunData
 

Functions

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

Function Documentation

std::ostream& operator<< ( std::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