ATLAS Offline Software
Loading...
Searching...
No Matches
LArNoisyROAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCELLREC_LARNOISYROALG_H
6#define LARCELLREC_LARNOISYROALG_H
7
20
21
22
24#include "GaudiKernel/ToolHandle.h"
35
37
39{
40 public:
41
42 LArNoisyROAlg(const std::string &name,ISvcLocator *pSvcLocator);
43 virtual StatusCode initialize() override;
44 virtual StatusCode execute (const EventContext& ctx) const override;
45 virtual StatusCode finalize() override;
46
47 typedef std::map<int, int> hvmap_type;
48
49 private:
50 ToolHandle<ILArNoisyROTool> m_noisyROTool;
51
52 Gaudi::Property<bool> m_isMC { this, "isMC", false, "Are we working with simu?" };
53 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
55 SG::ReadHandleKey<CaloCellContainer> m_CaloCellContainerName {this, "CaloCellContainer", "AllCalo", "input cell container key"};
56 SG::WriteHandleKey<LArNoisyROSummary> m_outputKey {this, "OutputKey", "LArNoisyROSummary", "output object key"};
57 SG::ReadCondHandleKey<LArBadFebCont> m_knownBadFEBsVecKey {this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"};
58 SG::ReadCondHandleKey<LArBadFebCont> m_knownMNBFEBsVecKey {this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"};
59 SG::ReadCondHandleKey<LArHVNMap> m_hvMapKey {this, "HVMapKey", "", "key to read HVline Ncells map"};
60 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloDetDescrMgrKey{this,"CaloDetDescrManager", "CaloDetDescrManager"};
61 SG::ReadCondHandleKey<LArHVIdMapping> m_hvCablingKey {this, "LArHVIdMapping", "", "SG key for HV ID mapping"};
62
63};
64
65
66#endif
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Container class for CaloCell.
SG::ReadCondHandleKey< LArHVNMap > m_hvMapKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
SG::WriteHandleKey< LArNoisyROSummary > m_outputKey
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
virtual StatusCode initialize() override
ToolHandle< ILArNoisyROTool > m_noisyROTool
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
std::map< int, int > hvmap_type
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
SG::ReadHandleKey< CaloCellContainer > m_CaloCellContainerName
Gaudi::Property< bool > m_isMC
LArNoisyROAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.