#include <TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h>
Public Member Functions | |
double | beamEnergyGeV () const |
Returns the beam energy in GeV. | |
const std::string & | beamMode () const |
Returns the beam mode string. | |
HcalTBRunData () | |
const std::string & | runType () const |
Returns the run type string. | |
void | setRunData (const char *run_type, const char *beam_mode, double beam_energy_gev) |
Private Attributes | |
double | beamEnergyGeV_ |
std::string | beamMode_ |
std::string | runType_ |
Definition at line 18 of file HcalTBRunData.h.
HcalTBRunData::HcalTBRunData | ( | ) |
Definition at line 5 of file HcalTBRunData.cc.
00005 : 00006 runType_(""), 00007 beamMode_(""), 00008 beamEnergyGeV_(0.0) { 00009 }
double HcalTBRunData::beamEnergyGeV | ( | ) | const [inline] |
Returns the beam energy in GeV.
Definition at line 29 of file HcalTBRunData.h.
References beamEnergyGeV_.
Referenced by operator<<().
00029 { return beamEnergyGeV_; }
const std::string& HcalTBRunData::beamMode | ( | ) | const [inline] |
Returns the beam mode string.
Definition at line 26 of file HcalTBRunData.h.
References beamMode_.
Referenced by operator<<().
00026 { return beamMode_; }
const std::string& HcalTBRunData::runType | ( | ) | const [inline] |
Returns the run type string.
Definition at line 24 of file HcalTBRunData.h.
References runType_.
Referenced by operator<<().
00024 { return runType_; }
void HcalTBRunData::setRunData | ( | const char * | run_type, | |
const char * | beam_mode, | |||
double | beam_energy_gev | |||
) |
Definition at line 11 of file HcalTBRunData.cc.
References beamEnergyGeV_, beamMode_, and runType_.
Referenced by hcaltb::HcalTBSlowDataUnpacker::unpack().
00013 { 00014 runType_ = run_type; 00015 beamMode_ = beam_mode; 00016 beamEnergyGeV_ = beam_energy_gev; 00017 }
double HcalTBRunData::beamEnergyGeV_ [private] |
std::string HcalTBRunData::beamMode_ [private] |
std::string HcalTBRunData::runType_ [private] |