CMS 3D CMS Logo

HcalTBRunData.h
Go to the documentation of this file.
1 #ifndef HCALTBRUNDATA_H
2 #define HCALTBRUNDATA_H 1
3 
4 #include <string>
5 #include <iostream>
6 
17 public:
18  HcalTBRunData();
19 
20  // Getter methods
22  const std::string& runType() const { return runType_; }
24  const std::string& beamMode() const { return beamMode_; }
25 
27  double beamEnergyGeV() const { return beamEnergyGeV_; }
28 
29  // Setter methods
30  void setRunData(const char* run_type, const char* beam_mode, double beam_energy_gev);
31 
32 private:
36 };
37 
38 std::ostream& operator<<(std::ostream& s, const HcalTBRunData& htbrd);
39 
40 #endif
double beamEnergyGeV() const
Returns the beam energy in GeV.
Definition: HcalTBRunData.h:27
void setRunData(const char *run_type, const char *beam_mode, double beam_energy_gev)
Definition: HcalTBRunData.cc:7
std::ostream & operator<<(std::ostream &s, const HcalTBRunData &htbrd)
const std::string & beamMode() const
Returns the beam mode string.
Definition: HcalTBRunData.h:24
std::string beamMode_
Definition: HcalTBRunData.h:34
const std::string & runType() const
Returns the run type string.
Definition: HcalTBRunData.h:22
double beamEnergyGeV_
Definition: HcalTBRunData.h:35
std::string runType_
Definition: HcalTBRunData.h:33