provides Calorimeter Sampling enum More...
#include <CaloSampling.h>
Public Types | |
enum | CaloSample |
Static Public Member Functions | |
static unsigned int | getNumberOfSamplings () |
Get number of available samplings. | |
static unsigned int | getSamplingPattern (const CaloSample s) |
Get a unsigned with one bit set. | |
static unsigned int | barrelPattern () |
Get the bit-pattern for barrel samplings. | |
static unsigned int | endcapPattern () |
Get the bit-pattern for endcap samplings. | |
static std::string | getSamplingName (CaloSample theSample) |
Returns a string (name) for each CaloSampling. | |
static std::string | getSamplingName (unsigned int theSample) |
Returns a string (name) for each CaloSampling. |
provides Calorimeter Sampling enum
std::string CaloSampling::getSamplingName | ( | unsigned int | theSample | ) | [static] |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |
std::string CaloSampling::getSamplingName | ( | CaloSample | theSample | ) | [static] |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |