 |
ATLAS Offline Software
|
Go to the documentation of this file.
28 return StatusCode::SUCCESS;
35 return StatusCode::FAILURE;
39 return StatusCode::FAILURE;
41 return StatusCode::SUCCESS;
46 std::unique_ptr<DetectorAlignStore> newAlignment{};
51 newAlignment = std::make_unique<DetectorAlignStore>(*inStore);
54 if (newAlignment->geoModelAlignment) {
55 newAlignment->geoModelAlignment = std::make_unique<GeoAlignmentStore>(*newAlignment->geoModelAlignment);
56 newAlignment->geoModelAlignment->clearPosCache();
61 newAlignment->trackingAlignment = std::make_unique<TrackingStore>(newAlignment->detType);
64 newAlignment = std::make_unique<DetectorAlignStore>(
m_Type);
77 newAlignment->geoModelAlignment.reset();
82 ATH_CHECK(writeHandle.record(std::move(newAlignment)));
83 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.
Handle class for recording to StoreGate.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
::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