ATLAS Offline Software
DetectorAlignCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef ACTSGEOMETRY_ACTSDETALIGNCONDALG_H
5 #define ACTSGEOMETRY_ACTSDETALIGNCONDALG_H
6 
12 
20 namespace ActsTrk{
22  public:
24  using AthReentrantAlgorithm::AthReentrantAlgorithm;
25 
27 
28  StatusCode initialize() override final;
29 
30  StatusCode execute(const EventContext& ctx) const override final;
32  bool isReEntrant() const override final { return false; }
33 
34  private:
40  ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeoSvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
42  Gaudi::Property<int> m_detType{this, "DetectorType", static_cast<int>(DetectorType::UnDefined)};
44  Gaudi::Property<bool> m_fillAlignStoreCache{this, "FillAlignCache", true};
47 
48  };
49 }
50 #endif
ITrackingGeometrySvc.h
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition: GeometryDefs.h:17
ActsTrk::DetectorAlignCondAlg::isReEntrant
bool isReEntrant() const override final
Switch off reentrancy to avoid condition clashes.
Definition: DetectorAlignCondAlg.h:32
ActsTrk::DetectorAlignCondAlg::m_fillAlignStoreCache
Gaudi::Property< bool > m_fillAlignStoreCache
Flag toggling whether the alignment store shall be filled with the transforms or not.
Definition: DetectorAlignCondAlg.h:44
ActsTrk::DetectorType::UnDefined
@ UnDefined
Small Thing Gap chambers (NSW)
WriteCondHandleKey.h
ActsTrk::DetectorAlignCondAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition: DetectorAlignCondAlg.cxx:37
ActsTrk::DetectorAlignCondAlg::m_detType
Gaudi::Property< int > m_detType
Flag determining the subdetector. Needs to be static castable to DetectorType.
Definition: DetectorAlignCondAlg.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ActsTrk::DetectorAlignCondAlg::m_trackingGeoSvc
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeoSvc
ServiceHandle to the ActsTrackingGeometry.
Definition: DetectorAlignCondAlg.h:40
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
ActsTrk::DetectorAlignCondAlg::initialize
StatusCode initialize() override final
Definition: DetectorAlignCondAlg.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsTrk::DetectorAlignCondAlg
Definition: DetectorAlignCondAlg.h:21
ActsTrk::DetectorAlignCondAlg::m_Type
DetectorType m_Type
Static cast of >DetectorType< property.
Definition: DetectorAlignCondAlg.h:46
ActsTrk::DetectorAlignCondAlg::m_inputKey
SG::ReadCondHandleKey< GeoAlignmentStore > m_inputKey
Key to the alignment transformations for the detector volumes.
Definition: DetectorAlignCondAlg.h:36
ReadCondHandleKey.h
AthReentrantAlgorithm.h
DetectorAlignStore.h
ActsTrk::DetectorAlignCondAlg::m_outputKey
SG::WriteCondHandleKey< DetectorAlignStore > m_outputKey
Key to the alignment transformations written by the alg.
Definition: DetectorAlignCondAlg.h:38
SG::ReadCondHandleKey< GeoAlignmentStore >
SG::WriteCondHandleKey
Definition: WriteCondHandleKey.h:20
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MdtCalibInput.h:31
ServiceHandle< ActsTrk::ITrackingGeometrySvc >
ActsTrk::DetectorAlignCondAlg::~DetectorAlignCondAlg
virtual ~DetectorAlignCondAlg()