test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HcalTBRunData Class Reference

#include <HcalTBRunData.h>

Public Member Functions

double beamEnergyGeV () const
 Returns the beam energy in GeV. More...
 
const std::string & beamMode () const
 Returns the beam mode string. More...
 
 HcalTBRunData ()
 
const std::string & runType () const
 Returns the run type string. More...
 
void setRunData (const char *run_type, const char *beam_mode, double beam_energy_gev)
 

Private Attributes

double beamEnergyGeV_
 
std::string beamMode_
 
std::string runType_
 

Detailed Description

This class contains data associated with a run, such as character strings describing the run type, beam mode, and also the beam energy.

Date:
2005/10/06 22:21:33
Revision:
1.2
Author
P. Dudero - Minnesota

Definition at line 18 of file HcalTBRunData.h.

Constructor & Destructor Documentation

HcalTBRunData::HcalTBRunData ( )

Definition at line 5 of file HcalTBRunData.cc.

5  :
6  runType_(""),
7  beamMode_(""),
8  beamEnergyGeV_(0.0) {
9  }
std::string beamMode_
Definition: HcalTBRunData.h:38
double beamEnergyGeV_
Definition: HcalTBRunData.h:39
std::string runType_
Definition: HcalTBRunData.h:37

Member Function Documentation

double HcalTBRunData::beamEnergyGeV ( ) const
inline

Returns the beam energy in GeV.

Definition at line 29 of file HcalTBRunData.h.

References beamEnergyGeV_.

Referenced by operator<<().

29 { return beamEnergyGeV_; }
double beamEnergyGeV_
Definition: HcalTBRunData.h:39
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<<().

26 { return beamMode_; }
std::string beamMode_
Definition: HcalTBRunData.h:38
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<<().

24 { return runType_; }
std::string runType_
Definition: HcalTBRunData.h:37
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().

13  {
14  runType_ = run_type;
15  beamMode_ = beam_mode;
16  beamEnergyGeV_ = beam_energy_gev;
17  }
std::string beamMode_
Definition: HcalTBRunData.h:38
double beamEnergyGeV_
Definition: HcalTBRunData.h:39
std::string runType_
Definition: HcalTBRunData.h:37

Member Data Documentation

double HcalTBRunData::beamEnergyGeV_
private

Definition at line 39 of file HcalTBRunData.h.

Referenced by beamEnergyGeV(), and setRunData().

std::string HcalTBRunData::beamMode_
private

Definition at line 38 of file HcalTBRunData.h.

Referenced by beamMode(), and setRunData().

std::string HcalTBRunData::runType_
private

Definition at line 37 of file HcalTBRunData.h.

Referenced by runType(), and setRunData().