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"
Helper base class for offline cell identifiers.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Header file for AthHistogramAlgorithm.
Helper base class for offline cell identifiers.
This is a "hash" representation of an Identifier.
Helper class to handle z-phi symmetry of calibration constants in MC.
HWIdentifier ZPhiSymOfl(const Identifier notSymOffId) const
Find the symmetric HWID for an offline cell identifier.
const std::vector< HWIdentifier > & symIds() const
Return the list of symmetric hashes.
size_t ZPhiSymOflIndex(const IdentifierHash notSymOffHash) const
Find the index in symIds() of the symmetric HWID for an offline cell hash.
const LArOnlineID_Base * m_onlineID
std::pair< Identifier32::value_type, uint32_t > IdPair_t
HWIdentifier ZPhiSymOnl(const IdentifierHash notSymOnlHash) const
Find the symmetric HWID for an online channel hash.
size_t ZPhiSymOnlIndex(const HWIdentifier notSymOnlId) const
Find the index in symIds() of the symmetric HWID for an online channel identifier.
const std::vector< IdPair_t > m_oflHashtoSymOnl
const std::vector< HWIdentifier > m_symIds
HWIdentifier ZPhiSymOfl(const IdentifierHash notSymOffHash) const
Find the symmetric HWID for an offline cell hash.
size_t ZPhiSymOflIndex(const Identifier notSymOffId) const
Find the index in symIds() of the symmetric HWID for an offline cell identifier.
size_t ZPhiSymOnlIndex(const IdentifierHash notSymOnlHash) const
Find the index in symIds() of the symmetric HWID for an online channel hash.
std::pair< size_t, size_t > hashMax() const
Return the hash-max as pair<onlHashMax,oflHashMax>
std::vector< IdPair_t > initIndices(const std::vector< HWIdentifier > &ids, const std::vector< HWIdentifier > &symIds) const
static constexpr size_t NO_INDEX
Return for an index if there's no valid symmetric identifier.
const std::vector< IdPair_t > m_onlHashtoSymOnl
HWIdentifier ZPhiSymOnl(const HWIdentifier notSymOnlId) const
Find the symmetric HWID for an online channel identifier.
const CaloCell_Base_ID * m_caloCellID
Helper for the Liquid Argon Calorimeter cell identifiers.