ATLAS Offline Software
|
provides Calorimeter Sampling enum More...
#include <CaloSampling.h>
Public Types | |
enum | CaloSample |
enum | CaloSample |
Static Public Member Functions | |
static constexpr unsigned int | getNumberOfSamplings () |
Get number of available samplings. More... | |
static unsigned int | getSamplingPattern (const CaloSample s) |
Get a unsigned with one bit set More... | |
static constexpr unsigned int | barrelPattern () |
Get the bit-pattern for barrel samplings. More... | |
static constexpr unsigned int | endcapPattern () |
Get the bit-pattern for endcap samplings. More... | |
static std::string | getSamplingName (CaloSample theSample) |
Returns a string (name) for each CaloSampling. More... | |
static std::string | getSamplingName (unsigned int theSample) |
Returns a string (name) for each CaloSampling. More... | |
static CaloSample | getSampling (const std::string &name) |
Return the sampling code for a given name. More... | |
static unsigned int | getNumberOfSamplings () |
Get number of available samplings. More... | |
static unsigned int | getSamplingPattern (const CaloSample s) |
Get a unsigned with one bit set More... | |
static unsigned int | barrelPattern () |
Get the bit-pattern for barrel samplings. More... | |
static unsigned int | endcapPattern () |
Get the bit-pattern for endcap samplings. More... | |
static std::string | getSamplingName (CaloSample theSample) |
Returns a string (name) for each CaloSampling. More... | |
static std::string | getSamplingName (unsigned int theSample) |
Returns a string (name) for each CaloSampling. More... | |
provides Calorimeter Sampling enum
Definition at line 17 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
Definition at line 22 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
Definition at line 22 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/CaloGeoHelpers/CaloSampling.h.
|
static |
Get the bit-pattern for barrel samplings.
|
inlinestaticconstexpr |
Get the bit-pattern for barrel samplings.
Definition at line 75 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
inlinestaticconstexpr |
Get the bit-pattern for endcap samplings.
Definition at line 84 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
static |
Get the bit-pattern for endcap samplings.
|
static |
Get number of available samplings.
|
inlinestaticconstexpr |
Get number of available samplings.
Definition at line 30 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
static |
Return the sampling code for a given name.
[in] | name | The name to translate. |
Returns Unknown
if the name is not known.
Definition at line 32 of file Calorimeter/CaloGeoHelpers/Root/CaloSampling.cxx.
|
static |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |
Definition at line 18 of file Calorimeter/CaloGeoHelpers/Root/CaloSampling.cxx.
|
static |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |
|
static |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |
Definition at line 24 of file Calorimeter/CaloGeoHelpers/Root/CaloSampling.cxx.
|
static |
Returns a string (name) for each CaloSampling.
[in] | theSample | CaloSampling::CaloSample enumerator value |
|
inlinestatic |
Get a unsigned with one bit set
Definition at line 33 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/CaloGeoHelpers/CaloSampling.h.
|
inlinestatic |
Get a unsigned with one bit set
Definition at line 36 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.