5#ifndef CALOTRIGGERTOWERSERVICE_H
6#define CALOTRIGGERTOWERSERVICE_H
187 Gaudi::Property<std::string>
m_TTCellMapKey{
this,
"LArTTCellMapKey",
"LArTTCellMapAtlas"};
Cached pointer with atomic update.
static const InterfaceID IID_CaloTriggerTowerService("CaloTriggerTowerService", 1, 0)
Helper class for offline TT identifiers.
This is a StoreGate object holding the TT offline-online map.
This is a StoreGate object holding the TT PPM to RX channels map.
Gaudi::Property< std::string > m_caloTTOnAttrIdMapKey
HWIdentifier createTTChannelID(const Identifier &id, bool bQuiet=false) const
create a TT HWIdentifier from a TT Identifier
const CaloTTOnAttrIdMap * getCaloTTOnAttrIdMap() const
const LArEM_ID * m_emHelper
pointer to the LArEM offline Id helper
static const InterfaceID & interfaceID()
Retrieve interface ID.
const CaloTTOnOffIdMap * getCaloTTOnOffIdMap() const
Identifier cnvToIdentifier(const HWIdentifier &id, bool bQuiet=false) const
create a TT Identifier from a TT HWIdentifier
CxxUtils::CachedPointer< const CaloTTPpmRxIdMap > m_caloTTPpmRxIdMap
CaloTriggerTowerService(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Gaudi::Property< std::string > m_caloTTOnOffIdMapKey
unsigned int pos_neg(const HWIdentifier &id) const
return 0 for z<0 channels and 1 for z>0 channels
CxxUtils::CachedPointer< const CaloTTOnAttrIdMap > m_caloTTOnAttrIdMap
bool is_in_lvl1(const Identifier &id) const
return true if the cell is in the lvl1 sums; some channels mapped to TT are only in HLT (last HEC c...
const LArTTCellMap * getTTCellMap() const
unsigned int module_type(const HWIdentifier &id) const
To get the type of the module connected to the channel:
std::vector< Identifier > createCellIDvecLayer(const Identifier &id) const
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID,...
unsigned int em_had(const HWIdentifier &id) const
return the corresponding sampling of channelId:
const CaloTTPpmRxIdMap * getCaloTTPpmRxIdMap() const
unsigned int barrel_endcap_fcal(const HWIdentifier &id) const
To know if a channel belongs to the barrel, end cap or fcal parts.
std::vector< L1CaloRxCoolChannelId > cnvCoolChannelIdToRxId(const L1CaloCoolChannelId &ppmCoolChannelId) const
returns a vector of L1CaloRxCoolChannelId corresponding to a L1CaloCoolChannelId
L1CaloCoolChannelId cnvRxIdToCoolChannelId(const L1CaloRxCoolChannelId &rxCoolChannelId) const
returns a TDAQ CoolChannelId corresponding to a L1CaloRxCoolChannelId
Gaudi::Property< std::string > m_TTCellMapKey
CxxUtils::CachedPointer< const CaloTTOnOffIdMap > m_caloTTOnOffIdMap
virtual StatusCode initialize() override
Identifier whichTTID(const Identifier &id) const
return the offline id (CaloLVL1_ID) of the TT to which a cell id (CaloCell_ID) belongs The call is ...
const CaloLVL1_ID * m_lvl1Helper
pointer to the Calo TT offline Id helper
const TTOnlineID * m_ttonlineHelper
pointer to the Calo TT online Id helper
HWIdentifier cnvCoolChannelIdToHWID(const L1CaloCoolChannelId &coolChannelId) const
create an HWIdentifier from an TDAQ CoolChannelId
std::vector< Identifier > createCellIDvecTT(const Identifier &id) const
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID,...
const LArOnlineID * m_onlineHelper
pointer to the LAr Online Id helper
Gaudi::Property< std::string > m_caloTTPpmRxIdMapKey
L1CaloCoolChannelId createL1CoolChannelId(const HWIdentifier &id) const
create a CoolChannelId (used by TDAQ framework) from a HWIdentifier
CxxUtils::CachedPointer< const LArTTCellMap > m_TTCellMap
Encapsulates the ID of one channel of conditions data in COOL, ie the ID of a row in a table.
Encapsulates the ID of one Rx channel of conditions data in COOL, ie the ID of a row in a table.
Helper class for LArEM offline identifiers.
This is a StoreGate object holding the offline TT-cell map.
Helper class for Calo TT online identifiers.
Cached pointer with atomic update.