ATLAS Offline Software
AlignStoreProviderAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef ACTSGEOMETRY_ALIGNSTOREPROVIDERALG_H
5 #define ACTSGEOMETRY_ALIGNSTOREPROVIDERALG_H
6 
13 
21 namespace ActsTrk{
23  public:
25  AlignStoreProviderAlg(const std::string& name, ISvcLocator* pSvcLocator);
26 
28 
29  StatusCode initialize() override final;
30 
31  StatusCode execute(const EventContext& ctx) const override final;
32 
33  private:
35  SG::ReadCondHandleKey<DetectorAlignStore> m_inputKey{this, "CondAlignStore", ""};
39  ServiceHandle<IActsTrackingGeometrySvc> m_trackingGeoSvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
41  ServiceHandle<ActsTrk::IDetectorVolumeSvc> m_detVolSvc{this,"DetectorVolumeSvc", "DetectorVolumeSvc"};
43  Gaudi::Property<int> m_detType{this, "DetectorType", static_cast<int>(DetectorType::UnDefined)};
46  Gaudi::Property<bool> m_splitPhysVolCache{this, "SplitPhysVolCache", false};
48  Gaudi::Property<bool> m_splitActsTrfCache{this, "SplitActsTrfCache", false};
50  Gaudi::Property<bool> m_fillAlignStoreCache{this, "FillAlignCache", true};
53 
54  Gaudi::Property<bool> m_loadTrkGeoSvc{this, "LoadTrackingGeoSvc", true,
55  "Toggle whether the tracking geometry svc shall be retrieved"};
56 
57  Gaudi::Property<bool> m_loadDetVolSvc{this, "LoadDetectorVolumeSvc", false,
58  "Toggle whether the detector volume svc shall be retrieved"};
59 
60  };
61 }
62 #endif
ActsTrk::AlignStoreProviderAlg::m_splitActsTrfCache
Gaudi::Property< bool > m_splitActsTrfCache
Flag toggline whether the final transforms of the ActsDet volumes shall be split per event.
Definition: AlignStoreProviderAlg.h:48
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
ActsTrk::DetectorType
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Definition: GeometryDefs.h:17
ActsTrk::AlignStoreProviderAlg::m_inputKey
SG::ReadCondHandleKey< DetectorAlignStore > m_inputKey
Key to the alignment transformations for the detector volumes.
Definition: AlignStoreProviderAlg.h:35
ActsTrk::DetectorAlignStore
Definition: DetectorAlignStore.h:20
ActsTrk::AlignStoreProviderAlg::execute
StatusCode execute(const EventContext &ctx) const override final
Definition: AlignStoreProviderAlg.cxx:46
ActsTrk::DetectorType::UnDefined
@ UnDefined
Small Thing Gap chambers (NSW)
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
ActsTrk::AlignStoreProviderAlg::m_loadTrkGeoSvc
Gaudi::Property< bool > m_loadTrkGeoSvc
Definition: AlignStoreProviderAlg.h:54
ActsTrk::AlignStoreProviderAlg::m_Type
DetectorType m_Type
Static cast of >DetectorType< property.
Definition: AlignStoreProviderAlg.h:52
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ActsTrk::AlignStoreProviderAlg::AlignStoreProviderAlg
AlignStoreProviderAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: AlignStoreProviderAlg.cxx:10
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IActsTrackingGeometrySvc.h
ActsTrk::AlignStoreProviderAlg::~AlignStoreProviderAlg
virtual ~AlignStoreProviderAlg()
ActsTrk::AlignStoreProviderAlg::m_detVolSvc
ServiceHandle< ActsTrk::IDetectorVolumeSvc > m_detVolSvc
ServiceHandle to the IDetectorVolumeSvc.
Definition: AlignStoreProviderAlg.h:41
ActsTrk::AlignStoreProviderAlg::m_outputKey
SG::WriteHandleKey< DetectorAlignStore > m_outputKey
Key to the alignment transformations written by the alg.
Definition: AlignStoreProviderAlg.h:37
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
IDetectorVolumeSvc.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DetectorAlignStore.h
ActsTrk::AlignStoreProviderAlg
Definition: AlignStoreProviderAlg.h:22
ActsTrk::AlignStoreProviderAlg::m_fillAlignStoreCache
Gaudi::Property< bool > m_fillAlignStoreCache
Flag toggling whether the alignment store shall be filled with the transforms or not.
Definition: AlignStoreProviderAlg.h:50
ActsTrk::AlignStoreProviderAlg::m_trackingGeoSvc
ServiceHandle< IActsTrackingGeometrySvc > m_trackingGeoSvc
ServiceHandle to the ActsTrackingGeometry.
Definition: AlignStoreProviderAlg.h:39
ActsTrk::AlignStoreProviderAlg::initialize
StatusCode initialize() override final
Definition: AlignStoreProviderAlg.cxx:15
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
ActsTrk::AlignStoreProviderAlg::m_detType
Gaudi::Property< int > m_detType
Flag determining the subdetector. Needs to be static castable to DetectorType.
Definition: AlignStoreProviderAlg.h:43
ActsTrk::AlignStoreProviderAlg::m_splitPhysVolCache
Gaudi::Property< bool > m_splitPhysVolCache
Flag toggling whether the full GeoAlignmentStore shall be written to store gate or whether the absolu...
Definition: AlignStoreProviderAlg.h:46
ActsTrk::AlignStoreProviderAlg::m_loadDetVolSvc
Gaudi::Property< bool > m_loadDetVolSvc
Definition: AlignStoreProviderAlg.h:57
ServiceHandle< IActsTrackingGeometrySvc >