|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARRAWCONDITIONS_LARMCSYM_H
6 #define LARRAWCONDITIONS_LARMCSYM_H
34 std::vector<HWIdentifier>&& oflHashtoSymOnl,
35 std::vector<HWIdentifier>&& onlHashtoSymOnl,
36 std::vector<HWIdentifier>&&
symIds
41 static constexpr
size_t NO_INDEX =
static_cast<size_t> (-1);
132 const std::vector<HWIdentifier>&
symIds()
const {
146 typedef std::pair<Identifier32::value_type, uint32_t>
IdPair_t;
147 std::vector<IdPair_t>
149 const std::vector<HWIdentifier>&
symIds)
const;
162 #include "AthenaKernel/CondCont.h"
HWIdentifier ZPhiSymOnl(const IdentifierHash notSymOnlHash) const
Find the symmetric HWID for an online channel hash.
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
size_t ZPhiSymOnlIndex(const HWIdentifier notSymOnlId) const
Find the index in symIds() of the symmetric HWID for an online channel identifier.
size_t ZPhiSymOnlIndex(const IdentifierHash notSymOnlHash) const
Find the index in symIds() of the symmetric HWID for an online channel hash.
const std::vector< HWIdentifier > m_symIds
bool is_tile(const Identifier id) const
test if the id belongs to the Tiles
HWIdentifier ZPhiSymOfl(const Identifier notSymOffId) const
Find the symmetric HWID for an offline cell identifier.
Helper class to handle z-phi symmetry of calibration constants in MC.
std::pair< Identifier32::value_type, uint32_t > IdPair_t
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
HWIdentifier ZPhiSymOfl(const IdentifierHash notSymOffHash) const
Find the symmetric HWID for an offline cell hash.
Helper class for offline cell identifiers.
const std::vector< IdPair_t > m_oflHashtoSymOnl
const std::vector< IdPair_t > m_onlHashtoSymOnl
const LArOnlineID * m_onlineID
std::pair< size_t, size_t > hashMax() const
Return the hash-max as pair<onlHashMax,oflHashMax>
const CaloCell_ID * m_caloCellID
size_t ZPhiSymOflIndex(const IdentifierHash notSymOffHash) const
Find the index in symIds() of the symmetric HWID for an offline cell hash.
static constexpr size_t NO_INDEX
Return for an index if there's no valid symmetric identifier.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
CONDCONT_DEF(LArMCSym, 159334782)
size_t ZPhiSymOflIndex(const Identifier notSymOffId) const
Find the index in symIds() of the symmetric HWID for an offline cell identifier.
const std::vector< HWIdentifier > & symIds() const
Return the list of symmetric hashes.
std::vector< IdPair_t > initIndices(const std::vector< HWIdentifier > &ids, const std::vector< HWIdentifier > &symIds) const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
macros to associate a CLID to a type