ATLAS Offline Software
ForceIDConditionsAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FORCEIDCONDITIONSALG_H
6 #define FORCEIDCONDITIONSALG_H
7 
12 
14  public:
15  ForceIDConditionsAlg(const std::string& name, ISvcLocator* pSvcLocator)
16  : AthReentrantAlgorithm(name, pSvcLocator) {};
17  virtual ~ForceIDConditionsAlg() {};
18 
19  virtual StatusCode initialize() override;
20 
21  virtual StatusCode execute(const EventContext&) const override { return StatusCode::SUCCESS; };
22 
23  protected:
24  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
25  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
26  SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> m_trtDetEleContKey{this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer"};
27 
28 };
29 
30 #endif
ForceIDConditionsAlg::~ForceIDConditionsAlg
virtual ~ForceIDConditionsAlg()
Definition: ForceIDConditionsAlg.h:17
TRT_DetElementContainer.h
ForceIDConditionsAlg::initialize
virtual StatusCode initialize() override
Definition: ForceIDConditionsAlg.cxx:7
ForceIDConditionsAlg
Definition: ForceIDConditionsAlg.h:13
ForceIDConditionsAlg::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: ForceIDConditionsAlg.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ForceIDConditionsAlg::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition: ForceIDConditionsAlg.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ForceIDConditionsAlg::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: ForceIDConditionsAlg.h:24
ForceIDConditionsAlg::ForceIDConditionsAlg
ForceIDConditionsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ForceIDConditionsAlg.h:15
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
ForceIDConditionsAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: ForceIDConditionsAlg.h:21