4#ifndef CALOEVENT_CALOBCIDAVERAGE_H
5#define CALOEVENT_CALOBCIDAVERAGE_H
8#include <unordered_map>
9#include "Identifier/Identifier.h"
23 const size_t idx =
m_mcSym->ZPhiSymOflIndex(
h);
28 if (!
id.is_valid())
return 0;
29 const size_t idx =
m_mcSym->ZPhiSymOflIndex(
id);
36 if (!
id.is_valid())
return 0;
37 const size_t idx =
m_mcSym->ZPhiSymOnlIndex(
id);
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
char data[hepevt_bytes_allocation_ATLAS]
std::vector with extra alignment.
Header file for AthHistogramAlgorithm.
CxxUtils::vec_aligned_vector< float > m_avg
const size_t m_oflHashMax
float average(const Identifier &id) const
float average(const HWIdentifier &id) const
float averageOflHash(const IdentifierHash h) const
float average(size_t idx) const
This is a "hash" representation of an Identifier.
Helper class to handle z-phi symmetry of calibration constants in MC.
static constexpr size_t NO_INDEX
Return for an index if there's no valid symmetric identifier.
aligned_vector< T, 64 > vec_aligned_vector
A std::vector with alignment sufficient for any vector instructions on this platform.