CMS 3D CMS Logo

HcalTBRunData Class Reference

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

#include <TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h>

List of all members.

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_


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
2006/04/12 21:46:00
Revision
1.3
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.

00005                                :
00006     runType_(""),
00007     beamMode_(""),
00008     beamEnergyGeV_(0.0) {
00009   }


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<<().

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   }


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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:23:58 2009 for CMSSW by  doxygen 1.5.4