7#ifndef LARLATOMEMAPPING_H
8#define LARLATOMEMAPPING_H
11#include "Identifier/Identifier.h"
16#include <unordered_map>
22#define N_LATOME_CHANNELS 320
54 std::unordered_map<unsigned,std::vector< HWIdentifier> >
m_map;
61 auto it =
m_map.find(sourceID);
65 const std::vector<HWIdentifier>& chanVec = it->second;
74#include "AthenaKernel/CondCont.h"
#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
class to provide SC mapping
std::vector< std::vector< HWIdentifier > > m_onlineID
LArLATOMEMapping(unsigned nLatomes=0)
const HWIdentifier m_hwidEmpty
Invalid default instance of HWIdentifier.
std::unordered_map< unsigned, std::vector< HWIdentifier > > m_map
friend class LArLATOMEMappingAlg
class which fills object from conditions DB
HWIdentifier getChannelID(const unsigned int sourceID, const unsigned int chan) const
create a HWIdentifier from an Identifier
std::vector< unsigned int > m_sourceID