ATLAS Offline Software
SCT_RODVetoCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
16 #ifndef SCT_CONDITIONSALGORITHMS_RODVETOCONDALG_H
17 #define SCT_CONDITIONSALGORITHMS_RODVETOCONDALG_H
18 
19 // Athena
21 
25 
26 // STL
27 #include <string>
28 #include <vector>
29 
30 // Forward declarations
31 class SCT_ID;
32 
35  public:
36  SCT_RODVetoCondAlg(const std::string &name, ISvcLocator *pSvcLocator);
37  virtual ~SCT_RODVetoCondAlg() = default;
38 
39  virtual StatusCode initialize() override final;
40  virtual StatusCode execute(const EventContext& ctx) const override final;
41  virtual StatusCode finalize() override final;
42  virtual bool isReEntrant() const override final { return false; }
43 
44  private:
45  ToolHandle<ISCT_CablingTool> m_cabling{this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"};
46  const SCT_ID* m_pHelper{nullptr};
47  SG::WriteCondHandleKey<IdentifierSet> m_badIds{this, "BadModuleIds", "BadSCTModuleIds_RODVeto", "Write key for bad module identifiers"};
48  UnsignedIntegerArrayProperty m_badRODElementsInput{this, "BadRODIds", {}, "Input list of RODs to be vetoed"};
49 }; //end of class
50 
51 #endif // SCT_RODVetoCondAlg_H
SCT_RODVetoCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_RODVetoCondAlg.cxx:29
WriteCondHandleKey.h
SCT_RODVetoCondAlg::SCT_RODVetoCondAlg
SCT_RODVetoCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_RODVetoCondAlg.cxx:23
SCT_RODVetoCondAlg::m_badIds
SG::WriteCondHandleKey< IdentifierSet > m_badIds
Definition: SCT_RODVetoCondAlg.h:47
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_RODVetoCondAlg::m_cabling
ToolHandle< ISCT_CablingTool > m_cabling
Definition: SCT_RODVetoCondAlg.h:45
SCT_RODVetoCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_RODVetoCondAlg.cxx:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_RODVetoCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_RODVetoCondAlg.cxx:82
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_RODVetoCondAlg::m_pHelper
const SCT_ID * m_pHelper
Definition: SCT_RODVetoCondAlg.h:46
SCT_RODVetoCondAlg
Algorithm needs to show calling the SCT_RODVeto to exclude bad components.
Definition: SCT_RODVetoCondAlg.h:34
SCT_ID
Definition: SCT_ID.h:68
SCT_RODVetoCondAlg::~SCT_RODVetoCondAlg
virtual ~SCT_RODVetoCondAlg()=default
ISCT_CablingTool.h
SG::WriteCondHandleKey< IdentifierSet >
SCT_RODVetoCondAlg::m_badRODElementsInput
UnsignedIntegerArrayProperty m_badRODElementsInput
Definition: SCT_RODVetoCondAlg.h:48
SCT_RODVetoCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_RODVetoCondAlg.h:42
IdentifierSet.h