ATLAS Offline Software
LArNoisyROAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARCELLREC_LARNOISYROALG_H
6 #define LARCELLREC_LARNOISYROALG_H
7 
22 #include "GaudiKernel/ToolHandle.h"
30 
31 class CaloCellContainer;
32 
34 {
35  public:
36 
37  LArNoisyROAlg(const std::string &name,ISvcLocator *pSvcLocator);
38  virtual StatusCode initialize() override;
39  virtual StatusCode execute (const EventContext& ctx) const override;
40  virtual StatusCode finalize() override;
41 
42 
43  private:
44  ToolHandle<ILArNoisyROTool> m_noisyROTool;
45 
46  Gaudi::Property<bool> m_isMC { this, "isMC", false, "Are we working with simu?" };
47  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
48  SG::WriteDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this,"EventInfoDecorKey","EventInfo.larFlags"};
49  SG::ReadHandleKey<CaloCellContainer> m_CaloCellContainerName {this, "CaloCellContainer", "AllCalo", "input cell container key"};
50  SG::WriteHandleKey<LArNoisyROSummary> m_outputKey {this, "OutputKey", "LArNoisyROSummary", "output object key"};
51  SG::ReadCondHandleKey<LArBadFebCont> m_knownBadFEBsVecKey {this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"};
52  SG::ReadCondHandleKey<LArBadFebCont> m_knownMNBFEBsVecKey {this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"};
53 
54 };
55 
56 
57 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::EventInfo >
LArNoisyROAlg::m_CaloCellContainerName
SG::ReadHandleKey< CaloCellContainer > m_CaloCellContainerName
Definition: LArNoisyROAlg.h:49
ILArNoisyROTool.h
LArNoisyROAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: LArNoisyROAlg.cxx:39
LArNoisyROAlg
Find list of suspicious preamplifiers and Front End Boards from cell collection.
Definition: LArNoisyROAlg.h:34
LArNoisyROAlg::initialize
virtual StatusCode initialize() override
Definition: LArNoisyROAlg.cxx:27
SG::ReadHandleKey< xAOD::EventInfo >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArNoisyROAlg::m_outputKey
SG::WriteHandleKey< LArNoisyROSummary > m_outputKey
Definition: LArNoisyROAlg.h:50
LArBadChannelCont.h
SG::WriteHandleKey< LArNoisyROSummary >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArNoisyROAlg::m_knownMNBFEBsVecKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
Definition: LArNoisyROAlg.h:52
LArNoisyROAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: LArNoisyROAlg.h:47
LArNoisyROAlg::m_noisyROTool
ToolHandle< ILArNoisyROTool > m_noisyROTool
Definition: LArNoisyROAlg.h:44
AthReentrantAlgorithm.h
LArNoisyROAlg::m_isMC
Gaudi::Property< bool > m_isMC
Definition: LArNoisyROAlg.h:46
LArNoisyROAlg::LArNoisyROAlg
LArNoisyROAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArNoisyROAlg.cxx:20
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
LArNoisyROSummary.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
EventInfo.h
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
LArNoisyROAlg::m_knownBadFEBsVecKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
Definition: LArNoisyROAlg.h:51
LArNoisyROAlg::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: LArNoisyROAlg.h:48
LArNoisyROAlg::finalize
virtual StatusCode finalize() override
Definition: LArNoisyROAlg.cxx:145