|
ATLAS Offline Software
|
#include <ActsMuonAlignCondAlg.h>
|
| ActsMuonAlignCondAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~ActsMuonAlignCondAlg ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute (const EventContext &ctx) const override |
|
virtual bool | isReEntrant () const override |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Identifier | alignmentId (const MuonGMR4::MuonReadoutElement *reElement) const |
| Returns the Identifier serving as key to find the alignment parameters connected with the readout element
More...
|
|
StatusCode | loadDeltas (const EventContext &ctx, deltaMap &alignDeltas, alignTechMap &techTransforms) const |
| Loads the ALineContainer from the conditions store and fills the deltaMap with the A-Line delta transformations and the technology map to connect mutually moving detectors. More...
|
|
StatusCode | loadMdtDeformPars (const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const |
| Loads the BLine container and the Mdt-as built parameters from the Conditions store and stores them into the tracking alignment object of the RawGeomAlignmentStore. More...
|
|
StatusCode | loadMmDeformPars (const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const |
|
StatusCode | loadStgcDeformPars (const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const |
|
StatusCode | declareDependencies (const EventContext &ctx, ActsTrk::DetectorType detType, SG::WriteCondHandle< ActsTrk::DetectorAlignStore > &writeHandle) const |
| Loads the corresponding ReadCondHandles from the Conditions store and adds their IOVs to the dependency of the writeHandle. More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
std::vector< ActsTrk::DetectorType > | m_techs {} |
|
SG::ReadCondHandleKey< ALineContainer > | m_readKeyALines |
|
SG::ReadCondHandleKey< BLineContainer > | m_readKeyBLines |
|
SG::ReadCondHandleKey< MdtAsBuiltContainer > | m_readMdtAsBuiltKey |
|
SG::ReadCondHandleKey< NswAsBuiltDbData > | m_readNswAsBuiltKey |
|
SG::ReadCondHandleKey< NswPassivationDbData > | m_readNswPassivKey |
|
SG::WriteCondHandleKeyArray< ActsTrk::DetectorAlignStore > | m_writeKeys |
|
Gaudi::Property< std::string > | m_keyToken |
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
|
const MuonGMR4::MuonDetectorManager * | m_detMgr {nullptr} |
|
Gaudi::Property< bool > | m_applyMmPassivation {this, "applyMmPassivation", false} |
|
Gaudi::Property< bool > | m_applyNswAsBuilt |
|
Gaudi::Property< bool > | m_applyMdtAsBuilt |
|
Gaudi::Property< bool > | m_applyALines {this, "applyALines", false} |
| Apply translations and rotations to align the Muon stations. More...
|
|
Gaudi::Property< bool > | m_applyBLines {this, "applyBLines", false} |
| Apply the chamber deformation model (Mdts + Nsw) More...
|
|
Gaudi::Property< bool > | m_fillAlignStoreCache {this, "FillAlignCache", false} |
| Flag toggling whether the alignment store shall be filled with the transforms or not. More...
|
|
Gaudi::Property< bool > | m_fillGeoAlignStore {this, "FillGeoAlignStore", true} |
| Flag toggling whether the GeoAlignmentStore shall be filled. More...
|
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 27 of file ActsMuonAlignCondAlg.h.
◆ alignTechMap
Association map of the GeoAlignable transforms with the detector technologies.
Definition at line 43 of file ActsMuonAlignCondAlg.h.
◆ deltaMap
Association map of the GeoAlignableTransforms with the rigid alignment transformations.
Definition at line 41 of file ActsMuonAlignCondAlg.h.
◆ StoreGateSvc_t
◆ ActsMuonAlignCondAlg()
ActsMuonAlignCondAlg::ActsMuonAlignCondAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~ActsMuonAlignCondAlg()
virtual ActsMuonAlignCondAlg::~ActsMuonAlignCondAlg |
( |
| ) |
|
|
virtualdefault |
◆ alignmentId()
Returns the Identifier serving as key to find the alignment parameters connected with the readout element
The BML eta 7 stations have their own alignment.
The rest shares the same alignmnet constants with the Mdts
For the NSW, the alignment parameters are stored under the same key as the RE
Definition at line 65 of file ActsMuonAlignCondAlg.cxx.
72 (std::abs(
re->stationEta()) == 7 &&
m_idHelperSvc->stationNameString(
re->identify()) ==
"BML")) {
73 return m_idHelperSvc->rpcIdHelper().elementID(
re->stationName(),
re->stationEta(),
re->stationPhi(), 1);
76 return m_idHelperSvc->mdtIdHelper().elementID(
re->stationName(),
re->stationEta(),
re->stationPhi());
80 return re->identify();
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ declareDependencies()
Loads the corresponding ReadCondHandles from the Conditions store and adds their IOVs to the dependency of the writeHandle.
Definition at line 212 of file ActsMuonAlignCondAlg.cxx.
239 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode ActsMuonAlignCondAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Create the condition handles
Append the alignable transformations to the conditions object
Propagate the cache throughout the geometry
Ensure that the rigid transformations of the detector elements are applied
There's no need to cache the delta parameters longer
The geoModel constants are no longer needed.
Whipe the GeoModelCache
Definition at line 242 of file ActsMuonAlignCondAlg.cxx.
245 unsigned int memBeforeAlign = GeoPerfUtils::getMem();
250 unsigned int numAligned{0};
256 if (writeHandle.isValid()) {
258 <<
" are still valid.");
261 std::unique_ptr<ActsTrk::DetectorAlignStore> writeCdo = std::make_unique<ActsTrk::DetectorAlignStore>(subDet);
263 const std::set<const GeoAlignableTransform*>& toStore = techTransforms[subDet];
265 for (
const GeoAlignableTransform* alignable : toStore) {
266 const std::shared_ptr<const Amg::Transform3D>&
cached = alignDeltas[alignable];
283 if (
re->detectorType() == subDet) {
294 numAligned+=
re->storeAlignedTransforms(*writeCdo);
299 ATH_CHECK(writeHandle.record(std::move(writeCdo)));
302 ATH_MSG_VERBOSE(
"Only "<<numAligned<<
" out of "<<readoutEles.size()<<
" were picked up by the alignment cutalg");
304 techTransforms.clear();
306 GeoClearAbsPosAction whipeTreeTop{};
311 unsigned int memAfterAlign = GeoPerfUtils::getMem();
312 ATH_MSG_INFO(
"Caching of the alignment parameters required "<<(memAfterAlign - memBeforeAlign) / 1024<<
" MB of memory");
313 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ initialize()
StatusCode ActsMuonAlignCondAlg::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ isReEntrant()
virtual bool ActsMuonAlignCondAlg::isReEntrant |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ loadDeltas()
StatusCode ActsMuonAlignCondAlg::loadDeltas |
( |
const EventContext & |
ctx, |
|
|
deltaMap & |
alignDeltas, |
|
|
alignTechMap & |
techTransforms |
|
) |
| const |
|
private |
Loads the ALineContainer from the conditions store and fills the deltaMap with the A-Line delta transformations and the technology map to connect mutually moving detectors.
Construct the identifier to search for the proper Aline transformation
Store the alignable transformation
Definition at line 82 of file ActsMuonAlignCondAlg.cxx.
86 ATH_MSG_DEBUG(
"Loading of the A line parameters deactivated");
87 return StatusCode::SUCCESS;
93 ATH_MSG_INFO(
"Load the alignment of "<<readoutEles.size()<<
" detector elements");
95 const GeoAlignableTransform* alignTrans =
re->alignableTransform();
98 <<
" has no alignable transform.");
101 std::shared_ptr<const Amg::Transform3D>&
cached = alignDeltas[alignTrans];
104 <<
" has been cached before. ");
105 techTransforms[
re->detectorType()].insert(alignTrans);
110 ALineContainer::const_iterator aLineItr = aLineContainer->find(stationId);
111 if (aLineItr == aLineContainer->end()) {
113 <<
". Used "<<
m_idHelperSvc->toString(stationId)<<
" as station Identifier");
117 cached = std::make_shared<Amg::Transform3D>(aLineItr->delta());
118 techTransforms[
re->detectorType()].insert(alignTrans);
120 return StatusCode::SUCCESS;
◆ loadMdtDeformPars()
Loads the BLine container and the Mdt-as built parameters from the Conditions store and stores them into the tracking alignment object of the RawGeomAlignmentStore.
Definition at line 122 of file ActsMuonAlignCondAlg.cxx.
126 return StatusCode::SUCCESS;
128 std::unique_ptr<MdtAlignmentStore> internAlign = std::make_unique<MdtAlignmentStore>(
m_idHelperSvc.get());
133 asBuiltCont = readHandle.cptr();
137 bLines = readHandle.cptr();
140 for (
auto itr = idHelper.module_begin(); itr != idHelper.module_end(); ++itr) {
144 BLineContainer::const_iterator itr = bLines->find(stationId);
145 if (itr != bLines->end()) bline = &(*itr);
149 MdtAsBuiltContainer::const_iterator itr = asBuiltCont->find(stationId);
150 if (itr != asBuiltCont->end()) asBuilt = &(*itr);
152 if (asBuilt || bline) internAlign->
storeDistortion(stationId, bline, asBuilt);
155 store.internalAlignment = std::move(internAlign);
156 return StatusCode::SUCCESS;
◆ loadMmDeformPars()
Replace it by the vector of MmReadout elements once these are implemented
Definition at line 158 of file ActsMuonAlignCondAlg.cxx.
161 return StatusCode::SUCCESS;
163 std::unique_ptr<MmAlignmentStore> internAlign = std::make_unique<MmAlignmentStore>();
170 internAlign->
asBuiltPars = readHandle->microMegaData;
179 BLineContainer::const_iterator itr = readHandle->find(stationId);
180 if (itr != readHandle->end()) internAlign->
cacheBLine(
re->identify(), *itr);
183 store.internalAlignment = std::move(internAlign);
184 return StatusCode::SUCCESS;
◆ loadStgcDeformPars()
Replace it by the vector of MmReadout elements once these are implemented
Definition at line 186 of file ActsMuonAlignCondAlg.cxx.
190 return StatusCode::SUCCESS;
192 std::unique_ptr<sTgcAlignmentStore> internalAlign = std::make_unique<sTgcAlignmentStore>();
204 BLineContainer::const_iterator itr = readHandle->find(stationId);
205 if (itr != readHandle->end()) internalAlign->
cacheBLine(
re->identify(), *itr);
208 store.internalAlignment = std::move(internalAlign);
209 return StatusCode::SUCCESS;
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_applyALines
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_applyALines {this, "applyALines", false} |
|
private |
◆ m_applyBLines
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_applyBLines {this, "applyBLines", false} |
|
private |
◆ m_applyMdtAsBuilt
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_applyMdtAsBuilt |
|
private |
Initial value:{this, "applyMdtAsBuilt", false,
"Toggles the application of the Mdt as-built parameters"}
Definition at line 94 of file ActsMuonAlignCondAlg.h.
◆ m_applyMmPassivation
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_applyMmPassivation {this, "applyMmPassivation", false} |
|
private |
◆ m_applyNswAsBuilt
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_applyNswAsBuilt |
|
private |
Initial value:{this, "applyNswAsBuilt", false,
"Toggles the application of the Nsw as-built parameters"}
Definition at line 91 of file ActsMuonAlignCondAlg.h.
◆ m_detMgr
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_fillAlignStoreCache
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_fillAlignStoreCache {this, "FillAlignCache", false} |
|
private |
Flag toggling whether the alignment store shall be filled with the transforms or not.
Definition at line 101 of file ActsMuonAlignCondAlg.h.
◆ m_fillGeoAlignStore
Gaudi::Property<bool> ActsMuonAlignCondAlg::m_fillGeoAlignStore {this, "FillGeoAlignStore", true} |
|
private |
◆ m_idHelperSvc
◆ m_keyToken
Gaudi::Property<std::string> ActsMuonAlignCondAlg::m_keyToken |
|
private |
Initial value:{this, "CondKeyToken","ActsAlignContainer",
"Common name token of all written alignment objects (e.g.) MdtActsAlignContainer"}
Definition at line 83 of file ActsMuonAlignCondAlg.h.
◆ m_readKeyALines
Initial value:{this, "ReadKeyALines", "ALineContainer",
"Key of the ALine container created from the DB"}
Definition at line 68 of file ActsMuonAlignCondAlg.h.
◆ m_readKeyBLines
Initial value:{this, "ReadKeyBLines", "BLineContainer",
"Key of the BLine container created from the DB"}
Definition at line 71 of file ActsMuonAlignCondAlg.h.
◆ m_readMdtAsBuiltKey
Initial value:{this, "ReadMdtAsBuiltKey", "MdtAsBuiltContainer",
"Key of output muon alignment MDT/AsBuilt condition data"}
Definition at line 74 of file ActsMuonAlignCondAlg.h.
◆ m_readNswAsBuiltKey
Initial value:{this, "ReadNswAsBuiltKey", "NswAsBuiltDbData",
"Key of NswAsBuiltDbData object containing conditions data for NSW as-built params!"}
Definition at line 76 of file ActsMuonAlignCondAlg.h.
◆ m_readNswPassivKey
Initial value:{this, "dMmPassivationKey", "NswPassivationDbData",
"Key of NswPassivationDbData object containing passivation data for MMs"}
Definition at line 78 of file ActsMuonAlignCondAlg.h.
◆ m_techs
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_writeKeys
Initial value:{this, "WriteKeys", {},
"Keys of the alignment technologies"}
Definition at line 81 of file ActsMuonAlignCondAlg.h.
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Gaudi::Property< bool > m_fillGeoAlignStore
Flag toggling whether the GeoAlignmentStore shall be filled.
std::vector< ActsTrk::DetectorType > getDetectorTypes() const
Returns a list of all detector types.
StatusCode loadDeltas(const EventContext &ctx, deltaMap &alignDeltas, alignTechMap &techTransforms) const
Loads the ALineContainer from the conditions store and fills the deltaMap with the A-Line delta trans...
std::string find(const std::string &s)
return a remapped string
std::shared_ptr< GeoAlignmentStore > geoModelAlignment
Store containing the aligned GeoModel nodes.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
StatusCode declareDependencies(const EventContext &ctx, ActsTrk::DetectorType detType, SG::WriteCondHandle< ActsTrk::DetectorAlignStore > &writeHandle) const
Loads the corresponding ReadCondHandles from the Conditions store and adds their IOVs to the dependen...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
@ Tgc
Resitive Plate Chambers.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::vector< const MuonReadoutElement * > getAllReadoutElements() const
Returns the list of all detector elements.
#define ATH_MSG_VERBOSE(x)
Gaudi::Property< bool > m_applyBLines
Apply the chamber deformation model (Mdts + Nsw)
bool empty() const
Test if the key is blank.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_fillAlignStoreCache
Flag toggling whether the alignment store shall be filled with the transforms or not.
Identifier alignmentId(const MuonGMR4::MuonReadoutElement *reElement) const
Returns the Identifier serving as key to find the alignment parameters connected with the readout ele...
void storeDistortion(const Identifier &detElId, const BLinePar *bline, const MdtAsBuiltPar *asBuilt)
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
SG::ReadCondHandleKey< NswAsBuiltDbData > m_readNswAsBuiltKey
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
unsigned int getNumTreeTops() const override final
Access specifically the individual readout element technologies.
@ Mm
Maybe not needed in the migration.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readMdtAsBuiltKey
Eigen::Affine3d Transform3D
const MuonGMR4::MuonDetectorManager * m_detMgr
SG::WriteCondHandleKeyArray< ActsTrk::DetectorAlignStore > m_writeKeys
SG::ReadCondHandleKey< NswPassivationDbData > m_readNswPassivKey
std::unordered_map< const GeoAlignableTransform *, std::shared_ptr< const Amg::Transform3D > > deltaMap
Association map of the GeoAlignableTransforms with the rigid alignment transformations.
std::set< ALinePar, std::less<> > ALineContainer
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Gaudi::Property< bool > m_applyMmPassivation
Gaudi::Property< bool > m_applyNswAsBuilt
std::vector< ActsTrk::DetectorType > m_techs
std::map< ActsTrk::DetectorType, std::set< const GeoAlignableTransform * > > alignTechMap
Association map of the GeoAlignable transforms with the detector technologies.
std::set< MdtAsBuiltPar, std::less<> > MdtAsBuiltContainer
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
PVConstLink getTreeTop(unsigned int i) const override final
Returns the i-th top node of the MuonSystem trees.
std::string to_string(const DetectorType &type)
virtual StatusCode sysInitialize() override
Override sysInitialize.
StatusCode initialize(bool used=true)
def cached(func)
Decorator to cache function return value.
StatusCode loadStgcDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
Container classifier the MDT as-built parameters See parameter description in http://atlas-muon-align...
#define ATH_MSG_WARNING(x)
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
const boost::regex re(r_e)
#define CREATE_READHANDLE(CONT_TYPE, KEY)
@ Rpc
Monitored Drift Tubes.
StatusCode loadMdtDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
Loads the BLine container and the Mdt-as built parameters from the Conditions store and stores them i...
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
SG::ReadCondHandleKey< BLineContainer > m_readKeyBLines
const NswPassivationDbData * passivation
Passivation is subdivided into several PCBs Ship the complete container with the alignment store.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
static EventIDRange infiniteTime()
Produces an EventIDRange that is inifinite in Time and invalid in RunLumi.
std::set< BLinePar, std::less<> > BLineContainer
StatusCode loadMmDeformPars(const EventContext &ctx, ActsTrk::DetectorAlignStore &store) const
Gaudi::Property< std::string > m_keyToken
Gaudi::Property< bool > m_applyALines
Apply translations and rotations to align the Muon stations.
SG::ReadCondHandleKey< ALineContainer > m_readKeyALines
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
sTgcAsBuiltPtr asBuiltPars
Gaudi::Property< bool > m_applyMdtAsBuilt
void addDependency(const EventIDRange &range)