CMS 3D CMS Logo

Public Member Functions | Private Attributes

HcalTBRunData Class Reference

#include <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.

                               :
    runType_(""),
    beamMode_(""),
    beamEnergyGeV_(0.0) {
  }

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

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

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

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

                                                                {
    runType_       = run_type;
    beamMode_      = beam_mode;
    beamEnergyGeV_ = beam_energy_gev;
  }

Member Data Documentation

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