![]() |
ATLAS Offline Software
|
#include <SiTrkAlignDBTool.h>
Public Member Functions | |
| SiTrkAlignDBTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| constructor | |
| virtual | ~SiTrkAlignDBTool () |
| destructor | |
| virtual StatusCode | initialize () |
| initialize method | |
| virtual StatusCode | finalize () |
| finalize method | |
| void | writeAlignPar () |
| Writes alignment parameters. | |
| void | setNtuple (TFile *file) |
| sets ntuple to be used to write output | |
| virtual void | setLogStream (std::ostream *os) |
| sets the output stream for the logfile | |
| virtual StatusCode | preSolve () |
| sets up initial alignment constants before solving | |
| 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 |
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 | |
| std::ostream * | m_logStream = nullptr |
| logfile output stream | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | updateDB () |
| updates alignment constants in the DB | |
| bool | checkPixelLevel () |
| bool | checkSCTLevel () |
| bool | checkSiLevel () |
| void | updateSiL0asL1 (Identifier idL0, const Amg::Transform3D &transform) |
| void | updateAsL3 (const Trk::AlignModule *module, const Amg::Transform3D &transform, double) |
| void | printTransform (const Amg::Transform3D &tr) const |
| void | updateAsL2 (const Trk::AlignModule *module, const Amg::Transform3D &transform, const int) |
| void | updateAsL16 (const Trk::AlignModule *module, double) |
| virtual Identifier | GetL1L2fromL3Identifier (const Identifier &ident, const int &level) const |
| convert L3 module identifier to L1 or L2 | |
| 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_pixHelper |
| pointer to PIX detector manager | |
| const SCT_ID * | m_sctHelper |
| pointer to SCT detector manager | |
| const AtlasDetectorID * | m_idHelper |
| bool | m_writeSQLFile |
| flag wether to write out .db file or not (file is not needed in parallel jobs) | |
| std::string | m_SQLiteTag |
| tag name for the ConditionsDB | |
| std::string | m_outputAlignFile |
| filename for the textfile with final alignment constants | |
| std::string | m_outIBLDistFile |
| filename for the textfile with final IBLDist params | |
| std::string | m_outGlobalFolderFile |
| filename for the textfile with final GlobalFolder constants | |
| bool | m_writeTextFile |
| flag whether to write out the final constants into text file | |
| bool | m_writeOldConstants |
| flag whether to write out the initial constants into text file | |
| std::string | m_oldIBLDistFile |
| filename for the textfile with initial IBLDist params | |
| std::string | m_oldAlignFile |
| filename for the textfile with initial alignment constants | |
| std::string | m_oldGlobalFolderFile |
| filename for the textfile with initial GlobalFolder constants | |
| bool | m_updateConstants |
| flag whether to update the constants | |
| ToolHandle< IInDetAlignDBTool > | m_IDAlignDBTool |
| ToolHandle< Trk::IAlignModuleTool > | m_alignModuleTool |
| ToolHandle< Trk::IGeometryManagerTool > | m_pixelGeoManager |
| ToolHandle< Trk::IGeometryManagerTool > | m_sctGeoManager |
| ToolHandle< Trk::IGeometryManagerTool > | m_siGeoManager |
| TFile * | m_ntuple |
| int | m_pixelAlignLevel |
| int | m_pixelAlignLevelBarrel |
| int | m_pixelAlignLevelEndcaps |
| bool | m_pixelaAlignDBM |
| int | m_sctAlignLevel |
| int | m_sctAlignLevelBarrel |
| int | m_sctAlignLevelEndcaps |
| int | m_siAlignLevel |
| bool | m_doSi |
| bool | m_doPixel |
| bool | m_doSCT |
| bool | m_writeAsL3 |
| bool | m_writeAsL2 |
| bool | m_writeAsL16 |
| 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 44 of file SiTrkAlignDBTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::SiTrkAlignDBTool::SiTrkAlignDBTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
constructor
Definition at line 36 of file SiTrkAlignDBTool.cxx.
|
virtual |
|
private |
Definition at line 233 of file SiTrkAlignDBTool.cxx.
|
private |
Definition at line 291 of file SiTrkAlignDBTool.cxx.
|
private |
Definition at line 329 of file SiTrkAlignDBTool.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.
|
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
|
virtual |
finalize method
Implements Trk::ITrkAlignDBTool.
Definition at line 225 of file SiTrkAlignDBTool.cxx.
|
privatevirtual |
convert L3 module identifier to L1 or L2
< no translation needed
check whether PIX
< Whole pixel det. at L1
check whether SCT
< barrel + 2 x EC at L1
< take care of the case where level != 1,2,3 or ident neither pix nor sct
Definition at line 866 of file SiTrkAlignDBTool.cxx.
|
virtual |
initialize method
Implements Trk::ITrkAlignDBTool.
Definition at line 102 of file SiTrkAlignDBTool.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 58 of file ITrkAlignDBTool.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.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.
|
inlinevirtualinherited |
sets up initial alignment constants before solving
Definition at line 52 of file ITrkAlignDBTool.h.
|
private |
Definition at line 854 of file SiTrkAlignDBTool.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.
|
inlinevirtualinherited |
sets the output stream for the logfile
Definition at line 49 of file ITrkAlignDBTool.h.
|
inlinevirtual |
sets ntuple to be used to write output
Reimplemented from Trk::ITrkAlignDBTool.
Definition at line 64 of file SiTrkAlignDBTool.h.
|
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.
|
private |
Definition at line 807 of file SiTrkAlignDBTool.cxx.
|
private |
Definition at line 736 of file SiTrkAlignDBTool.cxx.
|
private |
if (apBowX!=0){
double z = sielem->center()[2];
const double y0y0 = 366.5*366.5;
ATH_MSG_DEBUG("Z position : "<< z); double bowx = apBowX * ( z*z - y0y0 ) / y0y0; This is in the module frame, as bowing corrections are directly L3 Amg::Translation3D translation_bow(bowx , 0, 0 ); dbtransform *= translation_bow; }
Definition at line 639 of file SiTrkAlignDBTool.cxx.
|
private |
updates alignment constants in the DB
Definition at line 380 of file SiTrkAlignDBTool.cxx.
|
private |
Definition at line 586 of file SiTrkAlignDBTool.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
virtual |
Writes alignment parameters.
Reimplemented from Trk::ITrkAlignDBTool.
Definition at line 347 of file SiTrkAlignDBTool.cxx.
|
private |
Definition at line 106 of file SiTrkAlignDBTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 126 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 127 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 125 of file SiTrkAlignDBTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 105 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 91 of file SiTrkAlignDBTool.h.
|
protectedinherited |
logfile output stream
Definition at line 55 of file ITrkAlignDBTool.h.
|
private |
Definition at line 112 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with initial alignment constants
Definition at line 101 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with initial GlobalFolder constants
Definition at line 102 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with initial IBLDist params
Definition at line 100 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with final GlobalFolder constants
Definition at line 97 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with final IBLDist params
Definition at line 96 of file SiTrkAlignDBTool.h.
|
private |
filename for the textfile with final alignment constants
Definition at line 95 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 117 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 114 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 115 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 116 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 108 of file SiTrkAlignDBTool.h.
|
private |
pointer to PIX detector manager
Definition at line 89 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 119 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 120 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 121 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 109 of file SiTrkAlignDBTool.h.
|
private |
pointer to SCT detector manager
Definition at line 90 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 123 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 110 of file SiTrkAlignDBTool.h.
|
private |
tag name for the ConditionsDB
Definition at line 94 of file SiTrkAlignDBTool.h.
|
private |
flag whether to update the constants
Definition at line 103 of file SiTrkAlignDBTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 131 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 130 of file SiTrkAlignDBTool.h.
|
private |
Definition at line 129 of file SiTrkAlignDBTool.h.
|
private |
flag whether to write out the initial constants into text file
Definition at line 99 of file SiTrkAlignDBTool.h.
|
private |
flag wether to write out .db file or not (file is not needed in parallel jobs)
Definition at line 93 of file SiTrkAlignDBTool.h.
|
private |
flag whether to write out the final constants into text file
Definition at line 98 of file SiTrkAlignDBTool.h.