![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
30 return StatusCode::SUCCESS;
37 return StatusCode::FAILURE;
41 return StatusCode::FAILURE;
43 return StatusCode::SUCCESS;
48 std::unique_ptr<DetectorAlignStore> newAlignment{};
52 if (!readHandle.isValid()) {
54 return StatusCode::FAILURE;
56 newAlignment = std::make_unique<DetectorAlignStore>(**readHandle);
59 if (newAlignment->geoModelAlignment) {
60 newAlignment->geoModelAlignment = std::make_unique<GeoAlignmentStore>(*newAlignment->geoModelAlignment);
61 newAlignment->geoModelAlignment->clearPosCache();
66 newAlignment->trackingAlignment = std::make_unique<TrackingStore>(newAlignment->detType);
69 newAlignment = std::make_unique<DetectorAlignStore>(
m_Type);
82 newAlignment->geoModelAlignment.reset();
87 ATH_CHECK(writeHandle.record(std::move(newAlignment)));
88 return StatusCode::SUCCESS;
Gaudi::Property< bool > m_splitActsTrfCache
Flag toggline whether the final transforms of the ActsDet volumes shall be split per event.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
SG::ReadCondHandleKey< DetectorAlignStore > m_inputKey
Key to the alignment transformations for the detector volumes.
Store holding the transfomations used by the Acts algorithms.
StatusCode execute(const EventContext &ctx) const override final
@ UnDefined
Small Thing Gap chambers (NSW)
Gaudi::Property< bool > m_loadTrkGeoSvc
DetectorType m_Type
Static cast of >DetectorType< property.
An algorithm that can be simultaneously executed in multiple threads.
AlignStoreProviderAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~AlignStoreProviderAlg()
ServiceHandle< ActsTrk::IDetectorVolumeSvc > m_detVolSvc
ServiceHandle to the IDetectorVolumeSvc.
SG::WriteHandleKey< DetectorAlignStore > m_outputKey
Key to the alignment transformations written by the alg.
std::string to_string(const DetectorType &type)
static unsigned int distributedTickets(const DetectorType detType)
Returns the number of all distributed tickets.
Gaudi::Property< bool > m_fillAlignStoreCache
Flag toggling whether the alignment store shall be filled with the transforms or not.
ServiceHandle< IActsTrackingGeometrySvc > m_trackingGeoSvc
ServiceHandle to the ActsTrackingGeometry.
#define ATH_MSG_WARNING(x)
StatusCode initialize() override final
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Gaudi::Property< int > m_detType
Flag determining the subdetector. Needs to be static castable to DetectorType.
Gaudi::Property< bool > m_splitPhysVolCache
Flag toggling whether the full GeoAlignmentStore shall be written to store gate or whether the absolu...
Gaudi::Property< bool > m_loadDetVolSvc