![]() |
ATLAS Offline Software
|
algorithmic methods of the legacy CaloSampling.h class used by the legacy CaloCluster object More...
#include <CaloSamplingHelper.h>
Public Types | |
| enum | CaloSample |
| enum | CaloSample |
Public Member Functions | |
| CaloSamplingHelper ()=default | |
| ~CaloSamplingHelper ()=default | |
| CaloSamplingHelper (const CaloSamplingHelper &rhs)=delete | |
| CaloSamplingHelper & | operator= (const CaloSamplingHelper &rhs)=delete |
Static Public Member Functions | |
| static CaloSample | getSampling (const CaloCell &c) |
| Retrieves the sampling indicator for a cell. More... | |
| static unsigned int | getSamplingBit (const CaloSample &rSample) |
| Return a unique bit set for a given sampling. More... | |
| static unsigned int | getSamplingBit (const CaloCell &rCell) |
| Return a unique bit set for a given sampling. More... | |
| static bool | isEMSampling (const CaloSample &rSample) |
| Get sampling characteristics. More... | |
| static bool | isHADSampling (const CaloSample &rSample) |
| static bool | isBarrelSampling (const CaloSample &rSample) |
| static bool | isEndCapSampling (const CaloSample &rSample) |
| static bool | isLArSampling (const CaloSample &rSample) |
| static bool | isTileSampling (const CaloSample &rSample) |
| static const std::string & | getSamplingName (const CaloSampling::CaloSample theSample) |
| Returns a string (name) for each CaloSampling. More... | |
| static CaloSampling::CaloSample | getSamplingId (const std::string &samplingName) |
Returns the CaloSampling::CaloSample enumerator value. More... | |
| static bool | getSamplings (const std::vector< CaloCell_ID::SUBCALO > &theCalos, std::vector< CaloSampling::CaloSample > &theSamplings) |
| Returns a list of samplings enumerators for a list of sub-calos. More... | |
| static bool | getSamplings (const CaloCell_ID::SUBCALO &theCalo, std::vector< CaloSampling::CaloSample > &theSamplings) |
| Returns a list of samplings enumerators for a list of sub-calos This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| static bool | getCalos (const std::vector< CaloSampling::CaloSample > &theSamplings, std::vector< CaloCell_ID::SUBCALO > &theCalos) |
| Returns a list of sub-calos for a list of samplings. More... | |
| static constexpr unsigned int | getNumberOfSamplings () |
| Get number of available samplings. 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 | 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 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 unsigned int | endcapPattern () |
| Get the bit-pattern for endcap samplings. 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 Private Member Functions | |
| static bool | matchPattern (const CaloSample &rSample, const unsigned int &mask) |
Static Private Attributes | |
| static const unsigned int | m_EMMask = 0x000000ff |
| static const unsigned int | m_HADMask = 0x00ffff00 |
| static const unsigned int | m_BarrelMask = 0x001ff00f |
| static const unsigned int | m_EndCapMask = 0x00e00ff0 |
| static const unsigned int | m_LArMask = 0x00e00fff |
| static const unsigned int | m_TileMask = 0x001ff000 |
| static const std::map< std::string, CaloSampling::CaloSample > | m_lookUp |
| static const std::string | m_unknown ="Unknown" |
algorithmic methods of the legacy CaloSampling.h class used by the legacy CaloCluster object
Definition at line 19 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
inherited |
Definition at line 22 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
inherited |
Definition at line 22 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/CaloGeoHelpers/CaloSampling.h.
|
default |
|
default |
|
delete |
|
staticinherited |
Get the bit-pattern for barrel samplings.
|
inlinestaticconstexprinherited |
Get the bit-pattern for barrel samplings.
Definition at line 75 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
inlinestaticconstexprinherited |
Get the bit-pattern for endcap samplings.
Definition at line 84 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
staticinherited |
Get the bit-pattern for endcap samplings.
|
static |
Returns a list of sub-calos for a list of samplings.
| [in] | theSamplings | vector of sampling enumerators |
| [out] | theCalos | vector of calo enumerators |
Definition at line 127 of file CaloUtils/src/CaloSamplingHelper.cxx.
|
staticinherited |
Get number of available samplings.
|
inlinestaticconstexprinherited |
Get number of available samplings.
Definition at line 30 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
static |
Retrieves the sampling indicator for a cell.
| c | reference to a non-modifiable CaloCell |
Returns CaloSampling::Unknown if sampling cannot be found.
Definition at line 39 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
staticinherited |
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.
Return a unique bit set for a given sampling.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| rCell | const reference to a CaloCell object |
Returns 0 if cell has CaloSampling::Unknown indicator.
Definition at line 51 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
inlinestatic |
Return a unique bit set for a given sampling.
| rSample | reference to a non-modifiable sampling indicator |
Returns 0 for CaloSampling::Unknown .
Definition at line 48 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
static |
Returns the CaloSampling::CaloSample enumerator value.
| [in] | samplingName | string with sampling name |
Definition at line 63 of file CaloUtils/src/CaloSamplingHelper.cxx.
|
static |
Returns a string (name) for each CaloSampling.
| [in] | theSample | CaloSampling::CaloSample enumerator value |
Definition at line 44 of file CaloUtils/src/CaloSamplingHelper.cxx.
|
staticinherited |
Returns a string (name) for each CaloSampling.
| [in] | theSample | CaloSampling::CaloSample enumerator value |
Definition at line 24 of file Calorimeter/CaloGeoHelpers/Root/CaloSampling.cxx.
|
inlinestaticinherited |
Get a unsigned with one bit set
Definition at line 33 of file Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimParametrization/tools/CaloGeoHelpers/CaloSampling.h.
|
inlinestaticinherited |
Get a unsigned with one bit set
Definition at line 36 of file Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h.
|
static |
Returns a list of samplings enumerators for a list of sub-calos This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | theCalo | calo enumerator |
Definition at line 122 of file CaloUtils/src/CaloSamplingHelper.cxx.
|
static |
Returns a list of samplings enumerators for a list of sub-calos.
| [in] | theCalos | vector of calo enumerators |
| [out] | theSamplings | vector of sampling enumerators |
Definition at line 70 of file CaloUtils/src/CaloSamplingHelper.cxx.
|
static |
Definition at line 67 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
static |
Get sampling characteristics.
Definition at line 57 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
static |
Definition at line 72 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
static |
Definition at line 62 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
static |
Definition at line 77 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
static |
Definition at line 82 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
staticprivate |
Definition at line 87 of file CaloEvent/src/CaloSamplingHelper.cxx.
|
delete |
|
staticprivate |
Definition at line 79 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 77 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 80 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 78 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 81 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 55 of file CaloUtils/CaloUtils/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 82 of file CaloEvent/CaloEvent/CaloSamplingHelper.h.
|
staticprivate |
Definition at line 56 of file CaloUtils/CaloUtils/CaloSamplingHelper.h.
1.8.18