![]() |
ATLAS Offline Software
|
#include <InDetAlignModuleTool.h>
Public Types | |
| typedef DataVector< AlignPar > | AlignParVec |
| typedef DataVector< AlignParVec > | AlignPar2DVec |
Public Member Functions | |
| InDetAlignModuleTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~InDetAlignModuleTool () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual int | subDetElementIDHash (Identifier id) const override |
| Returns identifier hash for sub-TrkDetElementBase structure based on detector type. | |
| virtual void | setMeasurementProperties (Trk::AlignTSOS *atsos) const override |
| allows to set detector specific properties of AlignTSOS. | |
| AlignModuleListType | alignModuleListType () const override |
| returns type of AlignModuleList (see AlignModuleList.h for more info) | |
| virtual void | setAlignModules (AlignModuleList *alignmods, std::vector< AlignModuleList * > *idHashMaps) override |
| sets alignModuleLists and idHash maps for a set of AlignModules. | |
| virtual void | setAlignParLists (AlignPar2DVec *fullAlignParList, AlignPar2DVec *alignParList=0) override |
| Sets the AlignParLists using boost::multi_array. | |
| virtual void | setSubDetElement (AlignModule::DetectorType detType, bool status) override |
| set and retrieve flag whether or not the sub-TrkDetElementBase structures are aligned for a given detector type | |
| virtual bool | subDetElement (AlignModule::DetectorType detType) const override |
| virtual AlignModule * | findAlignModule (const RIO_OnTrack *rio, AlignModule::DetectorType detType) const override |
| Returns pointer to AlignModule containing RIO. | |
| virtual AlignModule * | findAlignModule (const TrkDetElementBase *det, AlignModule::DetectorType detType) const override |
| Returns pointer to AlignModule containing RIO. | |
| virtual int | nAlignParameters () const override |
| Returns total number of alignment parameters. | |
| virtual const AlignModuleList * | alignModules1D () override |
| Returns 1-D vector of all AlignModules containing all detector types. | |
| virtual AlignParVec * | alignParList1D () override |
| Returns 1-D vector of all AlignPars for all detector types. | |
| virtual AlignParVec * | getAlignPars (const AlignModule *alignModule) const override |
| returns vector of AlignPars for an AlignModule | |
| virtual void | shiftModule (const AlignModule *, const Track *, AlignModule::TransformParameters, double) const override |
| methods used for numerical derivative to shift module before refitting track and restore to normal position, to be inherited by detector-specific align modules | |
| virtual void | restoreModule (const AlignModule *) const override |
| virtual void | fillDetAlignmentParameters (const TrkDetElementBase *det, DataVector< AlignPar > *apVec, AlignModule::DetectorType detType) const override |
| fills values for alignment parameters for a detector element, applying AlignModule transforms if necessary | |
| virtual const AlignModuleList * | getAlignModuleCollection () const override |
| Returns collection of AlignModules for a particular detector type. | |
| AlignParVec * | getFullAlignPars (const AlignModule *alignModule) const override |
| returns vector of full AlignPars for an AlignModule | |
| AlignModule::DetectorType | getDetectorType (const TrkDetElementBase *det) const override |
| Returns detector type (AlignModule enum) for a detector element. | |
| AlignPar2DVec * | alignParList () const |
| returns complete AlignParList (active parameters only) | |
| AlignPar2DVec * | fullAlignParList () const |
| returns complete AlignParList | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
| virtual void | setAlignParLists (DataVector< DataVector< AlignPar > > *fullAlignParList, DataVector< DataVector< AlignPar > > *alignParList)=0 |
| sets AlignPar for AlignModules for a particular detector type | |
| virtual void | setLogStream (std::ostream *os) |
| sets the output stream for the logfile | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Protected Attributes | |
| const AtlasDetectorID * | m_idHelper = nullptr |
| Used to identify type of detector. | |
| std::ostream * | m_logStream = nullptr |
| logfile output stream | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| const TRT_ID * | m_trtHelper |
| TRT id helper. | |
| IntegerProperty | m_alignModuleListType {this, "AlignModuleListType", Trk::L3} |
| uses Trk enum AlignModuleListType (L1,L2,L3,L1_5,L2_5) | |
| AlignModuleList * | m_alignModules = nullptr |
| list of AlignModules | |
| std::vector< const AlignModuleList * > | m_alignModuleMaps |
| maps detector element idHash to AlignModule | |
| AlignPar2DVec * | m_alignParList = nullptr |
| contains active parameters | |
| AlignPar2DVec * | m_fullAlignParList = nullptr |
| contains all parameters | |
| std::vector< AlignModule * > | m_alignModules1D |
| 1-D vector of AlignModules | |
| AlignParVec | m_alignParList1D |
| 1-D vector of AlignPars | |
| std::vector< bool > | m_subDetElement |
| identify detectors aligning structures smaller than TrkDetElementBase | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 30 of file InDetAlignModuleTool.h.
|
inherited |
Definition at line 40 of file AlignModuleTool.h.
|
inherited |
Definition at line 39 of file AlignModuleTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::InDetAlignModuleTool::InDetAlignModuleTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 16 of file InDetAlignModuleTool.cxx.
|
virtualdefault |
|
inlineoverridevirtualinherited |
returns type of AlignModuleList (see AlignModuleList.h for more info)
Implements Trk::IAlignModuleTool.
Definition at line 48 of file AlignModuleTool.h.
|
inlineoverridevirtualinherited |
Returns 1-D vector of all AlignModules containing all detector types.
Implements Trk::IAlignModuleTool.
Definition at line 88 of file AlignModuleTool.h.
|
inlineinherited |
returns complete AlignParList (active parameters only)
Definition at line 143 of file AlignModuleTool.h.
|
inlineoverridevirtualinherited |
Returns 1-D vector of all AlignPars for all detector types.
Implements Trk::IAlignModuleTool.
Definition at line 91 of file AlignModuleTool.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
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
|
overridevirtualinherited |
fills values for alignment parameters for a detector element, applying AlignModule transforms if necessary
Implements Trk::IAlignModuleTool.
Definition at line 195 of file AlignModuleTool.cxx.
|
overridevirtual |
Reimplemented from Trk::AlignModuleTool.
Definition at line 47 of file InDetAlignModuleTool.cxx.
|
overridevirtualinherited |
Returns pointer to AlignModule containing RIO.
Returns 0 if not found.
Implements Trk::IAlignModuleTool.
Definition at line 140 of file AlignModuleTool.cxx.
|
overridevirtualinherited |
Returns pointer to AlignModule containing RIO.
Returns 0 if not found.
Implements Trk::IAlignModuleTool.
Definition at line 109 of file AlignModuleTool.cxx.
|
inlineinherited |
returns complete AlignParList
Definition at line 146 of file AlignModuleTool.h.
|
inlineoverridevirtualinherited |
Returns collection of AlignModules for a particular detector type.
Implements Trk::IAlignModuleTool.
Definition at line 120 of file AlignModuleTool.h.
|
overridevirtualinherited |
returns vector of AlignPars for an AlignModule
Implements Trk::IAlignModuleTool.
Definition at line 184 of file AlignModuleTool.cxx.
|
overridevirtualinherited |
Returns detector type (AlignModule enum) for a detector element.
Implements Trk::IAlignModuleTool.
Definition at line 283 of file AlignModuleTool.cxx.
|
overridevirtualinherited |
returns vector of full AlignPars for an AlignModule
Implements Trk::IAlignModuleTool.
Definition at line 303 of file AlignModuleTool.cxx.
|
overridevirtual |
Reimplemented from Trk::AlignModuleTool.
Definition at line 27 of file InDetAlignModuleTool.cxx.
|
overridevirtualinherited |
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.
|
inlinestaticinherited |
Definition at line 148 of file IAlignModuleTool.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
inlineoverridevirtualinherited |
Returns total number of alignment parameters.
Implements Trk::IAlignModuleTool.
Definition at line 85 of file AlignModuleTool.h.
|
overridevirtualinherited |
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inlineoverridevirtualinherited |
|
overridevirtualinherited |
sets alignModuleLists and idHash maps for a set of AlignModules.
AlignModuleList should be of type Combined, containing detector elements of different types.
Implements Trk::IAlignModuleTool.
Definition at line 59 of file AlignModuleTool.cxx.
|
overridevirtualinherited |
Sets the AlignParLists using boost::multi_array.
Lists are owned by GeometryManagerTool.
Definition at line 83 of file AlignModuleTool.cxx.
|
pure virtualinherited |
sets AlignPar for AlignModules for a particular detector type
|
inlinevirtualinherited |
sets the output stream for the logfile
Definition at line 140 of file IAlignModuleTool.h.
|
overridevirtual |
allows to set detector specific properties of AlignTSOS.
Fan-out angle is set here for SCT measurements in the endcaps.
Reimplemented from Trk::IAlignModuleTool.
Definition at line 70 of file InDetAlignModuleTool.cxx.
|
inlineoverridevirtualinherited |
set and retrieve flag whether or not the sub-TrkDetElementBase structures are aligned for a given detector type
Implements Trk::IAlignModuleTool.
Definition at line 65 of file AlignModuleTool.h.
|
inlineoverridevirtualinherited |
methods used for numerical derivative to shift module before refitting track and restore to normal position, to be inherited by detector-specific align modules
Reimplemented from Trk::IAlignModuleTool.
Definition at line 104 of file AlignModuleTool.h.
|
inlineoverridevirtualinherited |
|
overridevirtual |
Returns identifier hash for sub-TrkDetElementBase structure based on detector type.
In the inner detector it is only implemented for TRT where the structure is a single straw
Reimplemented from Trk::AlignModuleTool.
Definition at line 59 of file InDetAlignModuleTool.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
privateinherited |
uses Trk enum AlignModuleListType (L1,L2,L3,L1_5,L2_5)
Definition at line 153 of file AlignModuleTool.h.
|
privateinherited |
maps detector element idHash to AlignModule
Definition at line 156 of file AlignModuleTool.h.
|
privateinherited |
list of AlignModules
Definition at line 155 of file AlignModuleTool.h.
|
privateinherited |
1-D vector of AlignModules
Definition at line 161 of file AlignModuleTool.h.
|
privateinherited |
contains active parameters
Definition at line 158 of file AlignModuleTool.h.
|
privateinherited |
1-D vector of AlignPars
Definition at line 162 of file AlignModuleTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
contains all parameters
Definition at line 159 of file AlignModuleTool.h.
|
protectedinherited |
Used to identify type of detector.
Definition at line 149 of file AlignModuleTool.h.
|
protectedinherited |
logfile output stream
Definition at line 144 of file IAlignModuleTool.h.
|
privateinherited |
identify detectors aligning structures smaller than TrkDetElementBase
Definition at line 164 of file AlignModuleTool.h.
|
private |
TRT id helper.
Definition at line 50 of file InDetAlignModuleTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.