![]() |
ATLAS Offline Software
|
#include <InDetAlignCog.h>
Classes | |
| class | Params_t |
Public Member Functions | |
| InDetAlignCog (const std::string &name, ISvcLocator *pSvcLocator) | |
| StatusCode | initialize () |
| StatusCode | execute () |
| StatusCode | finalize () |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| 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 | 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 |
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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| StatusCode | getSiElements (const InDetDD::SiDetectorElementCollection *, const bool, InDetAlignCog::Params_t ¶ms) |
| StatusCode | getTRT_Elements (const InDetDD::TRT_DetElementCollection *, const bool, InDetAlignCog::Params_t ¶ms) |
| StatusCode | shiftIDbyCog () |
| void | addL1 () |
| void | enableCoG (Amg::Transform3D &, bool, bool, bool, bool, bool, bool) |
| StatusCode | normalizeTransform (Amg::Transform3D &, const int) |
| void | scaleTransform (Amg::Transform3D &, const float) |
| Amg::Transform3D | sumTransforms (const Amg::Transform3D &, const Amg::Transform3D &) const |
| void | prepareDerivative (const Amg::Transform3D &, const bool=false) |
| void | accumulate (const Amg::Transform3D &, double *) |
| void | accumulateChi2 (const Amg::Transform3D &, AmgSymMatrix(6)&, AmgVector(6)&, const double *) |
| std::string | printTransform (const Amg::Transform3D &) const |
| bool | testIdentity (const Amg::Transform3D &, double, double) const |
| const Amg::Transform3D | getL1Transform (int bec) |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| const PixelID * | m_pixid |
| const SCT_ID * | m_sctid |
| const TRT_ID * | m_trtid |
| ToolHandle< IInDetAlignDBTool > | m_IDAlignDBTool |
| ServiceHandle< ITRT_AlignDbSvc > | m_TRTAlignDbTool |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"} |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"} |
| SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > | m_trtDetEleContKey {this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"} |
| int | m_det |
| Pixel=1, SCT=2, Pixel+SCT=12, TRT=3, all (silicon and TRT)=99. | |
| int | m_Si_bec |
| Barrel=1, Endcaps=+-2, all (silicon)=99. | |
| int | m_TRT_bec |
| Barrel=-1, Endcaps=+-2, all (TRT)=99. | |
| int | m_Si_layer |
| a particular silicon layer or all (silicon)=99 | |
| int | m_TRT_layer |
| a particular TRT layer or all (TRT)=99 | |
| bool | m_firstEvent |
| bool | m_fullMatrix |
| bool | m_printDB |
| bool | m_SiTxtOutput |
| output Si constants to txt file ? | |
| bool | m_TRT_TxtOutput |
| output TRT constants to txt file ? | |
| bool | m_useChi2 |
| double | m_errTrans |
| acceptable value for residual global translation | |
| double | m_errRot |
| acceptable value for residual global rotation angles | |
| double | m_sigXpixB |
| assumed error for Pixel barrel local X matchnig in the Xi2 method | |
| double | m_sigYpixB |
| double | m_sigZpixB |
| double | m_sigXpixE |
| assumed error for Pixel endcap local X matchnig in the Xi2 method | |
| double | m_sigYpixE |
| double | m_sigZpixE |
| double | m_sigXsctB |
| assumed error for SCT barrel local X matchnig in the Xi2 method | |
| double | m_sigYsctB |
| double | m_sigZsctB |
| double | m_sigXsctE |
| double | m_sigYsctE |
| double | m_sigZsctE |
| double | m_sigXtrtB |
| assumed error for TRT barrel local X matchnig in the Xi2 method | |
| double | m_sigYtrtB |
| double | m_sigZtrtB |
| double | m_sigXtrtE |
| double | m_sigYtrtE |
| double | m_sigZtrtE |
| bool | m_doTX |
| bool | m_doTY |
| bool | m_doTZ |
| enable/disable writing of indivitual DoF's to the db | |
| bool | m_doRX |
| bool | m_doRY |
| bool | m_doRZ |
| bool | m_doCoG |
| enable/disable introducing the CoG correction to the output objects | |
| bool | m_doL1 |
| enable/disable introducing the arbitrary L1 correction to the output objects | |
| double | m_traX |
| double | m_traY |
| double | m_traZ |
| translation/rotation values (CLHEP::mm, CLHEP::rad) for the arbitrary transformation | |
| double | m_rotX |
| double | m_rotY |
| double | m_rotZ |
| int | m_counter |
| normalization factor | |
| std::string | m_sitxtfile |
| text file with dump of Si alignment constants after cog shift | |
| std::string | m_trt_txtfile |
| text file with dump of TRT alignment constants after cog shift | |
| std::string | m_SQLiteTag |
| SQLite tag name. | |
| Amg::Transform3D | m_glob_x |
| Amg::Transform3D | m_glob_y |
| Amg::Transform3D | m_glob_z |
| Amg::Transform3D | m_grot_x |
| Amg::Transform3D | m_grot_y |
| Amg::Transform3D | m_grot_z |
| double | m_cog [6] {} |
| Amg::Transform3D | m_CoG |
| double | m_resglob [6] {} |
| Amg::Transform3D | m_ResGlob |
| DataObjIDColl | m_extendedExtraObjects |
| 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 40 of file InDetAlignCog.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDetAlignCog::InDetAlignCog | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 83 of file InDetAlignCog.cxx.
|
private |
Definition at line 681 of file InDetAlignCog.cxx.
|
private |
Extract parameters from input transform
Extract Jacobian partial derivatives (dl/dG):
Increment the first and the second derivative
Definition at line 749 of file InDetAlignCog.cxx.
|
private |
Definition at line 946 of file InDetAlignCog.cxx.
|
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.
|
private |
Definition at line 924 of file InDetAlignCog.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
| StatusCode InDetAlignCog::execute | ( | ) |
Definition at line 227 of file InDetAlignCog.cxx.
|
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 |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
| StatusCode InDetAlignCog::finalize | ( | ) |
Definition at line 417 of file InDetAlignCog.cxx.
|
private |
Definition at line 670 of file InDetAlignCog.cxx.
|
private |
Decide about the actual errors:
Definition at line 460 of file InDetAlignCog.cxx.
|
private |
Decide about the actual errors:
Definition at line 582 of file InDetAlignCog.cxx.
| StatusCode InDetAlignCog::initialize | ( | ) |
Definition at line 190 of file InDetAlignCog.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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
private |
Definition at line 967 of file InDetAlignCog.cxx.
|
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.
|
private |
These represent small Local frame transformations transformed into Global:
These represent small Global frame transformations transformed into Local:
Definition at line 840 of file InDetAlignCog.cxx.
|
private |
Definition at line 1029 of file InDetAlignCog.cxx.
|
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.
|
private |
Definition at line 993 of file InDetAlignCog.cxx.
|
private |
Definition at line 878 of file InDetAlignCog.cxx.
|
private |
Definition at line 1011 of file InDetAlignCog.cxx.
|
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< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Definition at line 1071 of file InDetAlignCog.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 178 of file InDetAlignCog.h.
|
private |
Definition at line 177 of file InDetAlignCog.h.
|
private |
normalization factor
Definition at line 162 of file InDetAlignCog.h.
|
private |
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
enable/disable introducing the CoG correction to the output objects
Definition at line 150 of file InDetAlignCog.h.
|
private |
enable/disable introducing the arbitrary L1 correction to the output objects
Definition at line 151 of file InDetAlignCog.h.
|
private |
Definition at line 146 of file InDetAlignCog.h.
|
private |
Definition at line 147 of file InDetAlignCog.h.
|
private |
Definition at line 148 of file InDetAlignCog.h.
|
private |
Definition at line 143 of file InDetAlignCog.h.
|
private |
Definition at line 144 of file InDetAlignCog.h.
|
private |
enable/disable writing of indivitual DoF's to the db
Definition at line 145 of file InDetAlignCog.h.
|
private |
acceptable value for residual global rotation angles
Definition at line 123 of file InDetAlignCog.h.
|
private |
acceptable value for residual global translation
Definition at line 122 of file InDetAlignCog.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 115 of file InDetAlignCog.h.
|
private |
Definition at line 116 of file InDetAlignCog.h.
|
private |
Definition at line 169 of file InDetAlignCog.h.
|
private |
Definition at line 170 of file InDetAlignCog.h.
|
private |
Definition at line 171 of file InDetAlignCog.h.
|
private |
Definition at line 172 of file InDetAlignCog.h.
|
private |
Definition at line 173 of file InDetAlignCog.h.
|
private |
Definition at line 174 of file InDetAlignCog.h.
|
private |
Definition at line 98 of file InDetAlignCog.h.
|
private |
Definition at line 104 of file InDetAlignCog.h.
|
private |
Definition at line 93 of file InDetAlignCog.h.
|
private |
Definition at line 117 of file InDetAlignCog.h.
|
private |
Definition at line 182 of file InDetAlignCog.h.
|
private |
Definition at line 181 of file InDetAlignCog.h.
|
private |
Definition at line 157 of file InDetAlignCog.h.
|
private |
Definition at line 158 of file InDetAlignCog.h.
|
private |
Definition at line 159 of file InDetAlignCog.h.
|
private |
Definition at line 105 of file InDetAlignCog.h.
|
private |
Definition at line 94 of file InDetAlignCog.h.
|
private |
Barrel=1, Endcaps=+-2, all (silicon)=99.
Definition at line 110 of file InDetAlignCog.h.
|
private |
a particular silicon layer or all (silicon)=99
Definition at line 112 of file InDetAlignCog.h.
|
private |
assumed error for Pixel barrel local X matchnig in the Xi2 method
Definition at line 124 of file InDetAlignCog.h.
|
private |
assumed error for Pixel endcap local X matchnig in the Xi2 method
Definition at line 127 of file InDetAlignCog.h.
|
private |
assumed error for SCT barrel local X matchnig in the Xi2 method
Definition at line 130 of file InDetAlignCog.h.
|
private |
Definition at line 133 of file InDetAlignCog.h.
|
private |
assumed error for TRT barrel local X matchnig in the Xi2 method
Definition at line 136 of file InDetAlignCog.h.
|
private |
Definition at line 139 of file InDetAlignCog.h.
|
private |
Definition at line 125 of file InDetAlignCog.h.
|
private |
Definition at line 128 of file InDetAlignCog.h.
|
private |
Definition at line 131 of file InDetAlignCog.h.
|
private |
Definition at line 134 of file InDetAlignCog.h.
|
private |
Definition at line 137 of file InDetAlignCog.h.
|
private |
Definition at line 140 of file InDetAlignCog.h.
|
private |
Definition at line 126 of file InDetAlignCog.h.
|
private |
Definition at line 129 of file InDetAlignCog.h.
|
private |
Definition at line 132 of file InDetAlignCog.h.
|
private |
Definition at line 135 of file InDetAlignCog.h.
|
private |
Definition at line 138 of file InDetAlignCog.h.
|
private |
Definition at line 141 of file InDetAlignCog.h.
|
private |
text file with dump of Si alignment constants after cog shift
Definition at line 164 of file InDetAlignCog.h.
|
private |
output Si constants to txt file ?
Definition at line 118 of file InDetAlignCog.h.
|
private |
SQLite tag name.
Definition at line 166 of file InDetAlignCog.h.
|
private |
Definition at line 154 of file InDetAlignCog.h.
|
private |
Definition at line 155 of file InDetAlignCog.h.
|
private |
translation/rotation values (CLHEP::mm, CLHEP::rad) for the arbitrary transformation
Definition at line 156 of file InDetAlignCog.h.
|
private |
Barrel=-1, Endcaps=+-2, all (TRT)=99.
Definition at line 111 of file InDetAlignCog.h.
|
private |
a particular TRT layer or all (TRT)=99
Definition at line 113 of file InDetAlignCog.h.
|
private |
text file with dump of TRT alignment constants after cog shift
Definition at line 165 of file InDetAlignCog.h.
|
private |
output TRT constants to txt file ?
Definition at line 119 of file InDetAlignCog.h.
|
private |
Definition at line 102 of file InDetAlignCog.h.
|
private |
Definition at line 106 of file InDetAlignCog.h.
|
private |
Definition at line 95 of file InDetAlignCog.h.
|
private |
Definition at line 120 of file InDetAlignCog.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.