|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigT2CaloCommon_TrigCaloDataAccessSvc_h
6 #define TrigT2CaloCommon_TrigCaloDataAccessSvc_h
52 std::vector<const TileCell*>& loadedCells )
override;
55 std::vector<const TileCell*>& loadedCells )
override;
64 PublicToolHandle<LArRodDecoder>
m_larDecoder {
this,
"LArDecoderTool",
"LArRodDecoder/LArRodDecoder",
"Tool to decode LAr raw data" };
65 PublicToolHandle<TileROD_Decoder>
m_tileDecoder {
this,
"TileDecoderTool",
"TileROD_Decoder/TileROD_Decoder",
"Tool to decode Tile raw data" };
67 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Tool to monitor performance of the service" };
80 {
this,
"MCSymKey",
"LArMCSym",
"SG Key of LArMCSym object"} ;
82 {
this,
"CablingKey",
"LArOnOffIdMap",
"SG Key for LArOnOffIdMapping"} ;
84 {
this,
"RodFebKey",
"LArFebRodMap",
"SG Key for LArFebRodMapping"} ;
86 {
this,
"LArBadChannelKey",
"LArBadChannel",
"Key of the LArBadChannelCont CDO" };
88 {
this,
"LArRoIMapKey",
"LArRoIMap",
"Key of the LArRoIMap CDO" };
90 {
this,
"CaloDetDescrManager",
"CaloDetDescrManager",
"SG Key for CaloDetDescrManager in the Condition Store" };
92 {
this,
"TileHid2RESrcID",
"TileHid2RESrcIDHLT",
"SG Key of TileHid2RESrcID object"} ;
96 (*ii)->setEnergyFast(0.0);
101 (tr)->setTime_nonvirt(-100.0
F);
102 (tr)->setQuality_nonvirt(
static_cast<unsigned char>(255), 0, 0);
103 (tr)->setQuality_nonvirt(
static_cast<unsigned char>(255), 0, 1);
113 std::vector<IdentifierHash>
ids;
115 void merge(
const std::initializer_list<FullDetIDs>&
list ) {
148 unsigned int lateInit(
const EventContext& context );
158 void missingROBs(
const std::vector<uint32_t>& request,
159 const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>&
response,
160 std::set<uint32_t>& missing )
const;
165 void clearMissing(
const std::vector<uint32_t>& request,
166 const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>&
response,
Property holding a SG store/key/clid from which a ReadHandle is made.
void reset_TileCol(TileCellCollection *col)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_onOffIdMappingKey
ToolHandle< IRegSelTool > m_regionSelector_TILE
ToolHandle< IRegSelTool > m_regionSelector_TTEM
SG::ReadCondHandleKey< TileHid2RESrcID > m_tileHid2RESrcIDKey
ToolHandle< GenericMonitoringTool > m_monTool
LArCellCont * larContainer
void merge(const std::initializer_list< FullDetIDs > &list)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
void clearMissing(const std::vector< uint32_t > &request, const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &response, LArCellCont *larcell)
clear fragments of the collection for which ROBs were not available
std::mutex m_lardecoderProtect
std::mutex m_getCollMutex
Convenience structure to keep together all ROBs and IdentifierHashes for whole detectors.
std::mutex m_tiledecoderProtect
unsigned int prepareFullCollections(const EventContext &context)
TileROD_Decoder::D0CellsHLT * d0cells
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArFebRodMapping > m_febRodMappingKey
SG::SlotSpecificObj< HLTCaloEventCache > m_hLTCaloSlot
Class which contains statically allocated LArCellCollections.
ToolHandle< IRegSelTool > m_regionSelector_FCALHAD
TrigCaloDataAccessSvc(const std::string &name, ISvcLocator *pSvcLocator)
Mapping between calorimeter trigger id to offline/online Identifier.
Definition of CaloDetDescrManager.
virtual StatusCode loadMBTS(const EventContext &context, std::vector< const TileCell * > &loadedCells) override
DETID
An enum to define subdetector names.
std::vector< IdentifierHash > ids
Maintain a set of objects, one per slot.
unsigned int prepareTileCollections(const EventContext &context, const IRoiDescriptor &roi)
(Non-const) Iterator class for DataVector/DataList.
std::vector< unsigned int > m_mbts_add_rods
::StatusCode StatusCode
StatusCode definition for legacy code.
Describes the API of the Region of Ineterest geometry.
unsigned int convertROBs(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &robFrags, LArCellCont *larcell, LArRodBlockStructure *&larRodBlockStructure, uint16_t rodMinorVersion, uint32_t robBlockType)
This class builds the Tile cells.
virtual StatusCode loadCollections(const EventContext &context, const IRoiDescriptor &roi, const DETID detID, const int sampling, LArTT_Selector< LArCellCont > &loadedCells) override
unsigned int prepareLArFullCollections(const EventContext &context)
unsigned int prepareTileFullCollections(const EventContext &context)
convience structure to keep together a collection and auxiliar full collection selectors
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
virtual StatusCode finalize() override
CaloCellContainer * fullcont
ToolHandle< IRegSelTool > m_regionSelector_TTHEC
std::vector< IdentifierHash > m_rIdstile
std::mutex m_dataPrepMutex
TileCellCont * tileContainer
void reset_LArCol(LArCellCollection *coll)
unsigned int prepareLArCollections(const EventContext &context, const IRoiDescriptor &roi, const int sampling, DETID detector)
LAr TT collections preparation code.
Container Class for LArCell in a ROB used by EF.
ToolHandle< IRegSelTool > m_regionSelector_FCALEM
Gaudi::Property< bool > m_applyOffsetCorrection
virtual StatusCode loadFullCollections(const EventContext &context, CaloConstCellContainer &cont) override
Container class for CaloCell.
std::vector< uint32_t > m_vrodid32fullDet
SG::ReadCondHandleKey< LArMCSym > m_mcsymKey
const std::vector< unsigned int > * m_mbts_rods
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
std::vector< std::vector< uint32_t > > m_vrodid32fullDetHG
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Status
Athena specific StatusCode values.
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
CaloCellContainer that can accept const cell pointers.
unsigned int prepareMBTSCollections(const EventContext &context)
std::vector< uint32_t > robs
Maintain a set of objects, one per slot.
PublicToolHandle< LArRodDecoder > m_larDecoder
std::vector< uint32_t > m_vrodid32tile
LArRodBlockStructure * larRodBlockStructure_per_slot
unsigned int lateInit(const EventContext &context)
void missingROBs(const std::vector< uint32_t > &request, const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &response, std::set< uint32_t > &missing) const
fill the set of missing robs given the request and response from RoBDatProvider
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
SG::ReadCondHandleKey< LArRoIMap > m_larRoIMapKey
PublicToolHandle< TileROD_Decoder > m_tileDecoder