![]() |
ATLAS Offline Software
|
#include <InDetAlignDBTool.h>
Public Member Functions | |
| InDetAlignDBTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~InDetAlignDBTool () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual void | createDB () const override |
| virtual void | dispGroup (const int dettype, const int bec, const int layer, const int ring, const int sector, const float rphidisp, const float rdisp, const float zdisp, const int syst, const int level, const int skip) const override |
| virtual void | writeFile (const bool ntuple, const std::string &file) const override |
| virtual void | writeIBLDistFile (const std::string &file) const override |
| virtual void | writeGlobalFolderFile (const std::string &file) const override |
| virtual void | readTextFile (const std::string &file) const override |
| virtual void | readNtuple (const std::string &file) const override |
| virtual bool | idToDetSet (const Identifier ident, int &det, int &bec, int &layer, int &ring, int §or, int &side) const override |
| virtual std::string | dirkey (const Identifier &, const int) const override |
| virtual std::string | dirkey (const int, const int, const int, const int) const override |
| virtual std::string | dirkey (const int, const int, const int, const int, const int) const override |
| virtual std::string | DBMkey (const int, const int, const int, const int) const override |
| virtual bool | setTrans (const Identifier &ident, const int level, const Amg::Transform3D &trans) const override |
| virtual bool | setTrans (const Identifier &ident, const int level, const Amg::Vector3D &translate, double alpha, double beta, double gamma) const override |
| virtual bool | tweakTrans (const Identifier &ident, const int level, const Amg::Transform3D &trans) const override |
| virtual bool | tweakTrans (const Identifier &ident, const int level, const Amg::Vector3D &translate, double alpha, double beta, double gamma) const override |
| virtual bool | tweakIBLDist (const int, const float) const override |
| This is the tweak function for the IBLDist DB. | |
| virtual bool | tweakGlobalFolder (const Identifier &ident, const int level, const Amg::Transform3D &trans) const |
| This is the tweak function for the GlobalFolder DB. | |
| virtual Identifier | getL1L2fromL3Identifier (const Identifier &ident, const int &level) const override |
| convert L3 module identifier to L1 or L2 | |
| virtual Amg::Transform3D | getTransL123 (const Identifier &ident) const override |
| get cumulative L1, L2, L3 trafo for (L3-) module. | |
| virtual Amg::Transform3D | getTrans (const Identifier &ident, const int level) const override |
| return value of particular transform specified by identifier and level calculates L1 and L2 identifiers automatically by getL1L2fromL3Identifier if L3 identifier passed. | |
| virtual StatusCode | outputObjs () override |
| virtual void | fillDB (const std::string &tag, const unsigned int run1, const unsigned int event1, const unsigned int run2, const unsigned int event2) const override |
| virtual void | printDB (const int level) const override |
| virtual void | sortTrans () const override |
| void | extractAlphaBetaGamma (const Amg::Transform3D &trans, double &alpha, double &beta, double &gamma) const override |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| AlignableTransform * | getTransPtr (const std::string &key) const |
| const AlignableTransform * | cgetTransPtr (const std::string &key) const |
| void | fakeGeom (const int nbpix, const int necpix, const int nbsct, const int necsct) |
| 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 InDetDD::PixelDetectorManager * | m_pixman {} |
| const InDetDD::SCT_DetectorManager * | m_sctman {} |
| bool | m_dynamicDB {false} |
| std::vector< const InDetDD::SiDetectorManager * > | m_managers |
| std::vector< std::string > | m_alignobjs |
| std::vector< int > | m_alignchans |
| CondAttrListCollection * | m_attrListCollection {} |
| std::string | m_par_dbkey |
| Gaudi::Property< bool > | m_par_newdb {this, "NewDB", true, "create database using new (collection) format"} |
| Gaudi::Property< bool > | m_par_scttwoside {this, "SCTTwoSide", false, "create structures with separated SCT module sides"} |
| Gaudi::Property< int > | m_par_fake {this, "FakeDB", 0, "set to 1 to fake full ATLAS geom, 2 to fake CTB geom"} |
| ToolHandle< IAthenaOutputStreamTool > | m_par_condstream {this, "CondStream", "AthenaOutputStreamTool/AthenaOutputStreamTool"} |
| Gaudi::Property< std::string > | m_par_dbroot { this, "DBRoot", "/Indet/Align", "Root folder for alignment" } |
| name of the root folder for constants, which can be set via the <key> syntax. | |
| Gaudi::Property< bool > | m_par_oldTextFile {this, "OldTextFile", false, "Input text file using old format"} |
| Gaudi::Property< bool > | m_forceUserDBConfig {this, "forceUserDBConfig", false, "Set to true to override any DB auto-configuration"} |
| Gaudi::Property< std::string > | m_pixmanName {this, "PixelManager", "Pixel", "Pixel manager name" } |
| Gaudi::Property< std::string > | m_sctmanName {this, "SCT_Manager", "SCT", "SCT manager name" } |
| Gaudi::Property< bool > | m_doPix {this, "AlignPixel", true, "Include Pixel" } |
| Gaudi::Property< bool > | m_doStrip {this, "AlignStrip", true, "Include SCT/ITkStrip" } |
| 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 53 of file InDetAlignDBTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDetAlignDBTool::InDetAlignDBTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 60 of file InDetAlignDBTool.cxx.
|
virtual |
Definition at line 67 of file InDetAlignDBTool.cxx.
|
private |
Definition at line 1317 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 233 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 460 of file InDetAlignDBTool.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.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 395 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 406 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 427 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 477 of file InDetAlignDBTool.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1408 of file InDetAlignDBTool.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
|
private |
Definition at line 1340 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1215 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Definition at line 227 of file InDetAlignDBTool.cxx.
|
overridevirtual |
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
Implements IInDetAlignDBTool.
Definition at line 1085 of file InDetAlignDBTool.cxx.
|
overridevirtual |
return value of particular transform specified by identifier and level calculates L1 and L2 identifiers automatically by getL1L2fromL3Identifier if L3 identifier passed.
return value of particular transform specified by identifier and level calculates L1 and L2 identifiers automatically by getL1L2fromL3Identifier if L3 identifier passed
L1, L2 are in global, L3 in local frame.
Implements IInDetAlignDBTool.
Definition at line 1140 of file InDetAlignDBTool.cxx.
|
overridevirtual |
get cumulative L1, L2, L3 trafo for (L3-) module.
get cumulative L1, L2, L3 trafo for (L3-) module
Result is in local frame.
Implements IInDetAlignDBTool.
Definition at line 1116 of file InDetAlignDBTool.cxx.
|
private |
Definition at line 1295 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 368 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Definition at line 70 of file InDetAlignDBTool.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 70 of file IInDetAlignDBTool.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.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1153 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1255 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 940 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 817 of file InDetAlignDBTool.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.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 991 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1023 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1397 of file InDetAlignDBTool.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.
|
virtual |
This is the tweak function for the GlobalFolder DB.
Definition at line 1480 of file InDetAlignDBTool.cxx.
|
overridevirtual |
This is the tweak function for the IBLDist DB.
Implements IInDetAlignDBTool.
Definition at line 1433 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1037 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 1071 of file InDetAlignDBTool.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 613 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 768 of file InDetAlignDBTool.cxx.
|
overridevirtual |
Implements IInDetAlignDBTool.
Definition at line 736 of file InDetAlignDBTool.cxx.
|
private |
Definition at line 189 of file InDetAlignDBTool.h.
|
private |
Definition at line 188 of file InDetAlignDBTool.h.
|
private |
Definition at line 191 of file InDetAlignDBTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 206 of file InDetAlignDBTool.h.
|
private |
Definition at line 207 of file InDetAlignDBTool.h.
|
private |
Definition at line 185 of file InDetAlignDBTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 203 of file InDetAlignDBTool.h.
|
private |
Definition at line 186 of file InDetAlignDBTool.h.
|
private |
Definition at line 198 of file InDetAlignDBTool.h.
|
private |
Definition at line 193 of file InDetAlignDBTool.h.
|
private |
name of the root folder for constants, which can be set via the <key> syntax.
Default: /Indet/Align.
Definition at line 201 of file InDetAlignDBTool.h.
|
private |
Definition at line 197 of file InDetAlignDBTool.h.
|
private |
Definition at line 195 of file InDetAlignDBTool.h.
|
private |
Definition at line 202 of file InDetAlignDBTool.h.
|
private |
Definition at line 196 of file InDetAlignDBTool.h.
|
private |
Definition at line 181 of file InDetAlignDBTool.h.
|
private |
Definition at line 183 of file InDetAlignDBTool.h.
|
private |
Definition at line 204 of file InDetAlignDBTool.h.
|
private |
Definition at line 182 of file InDetAlignDBTool.h.
|
private |
Definition at line 184 of file InDetAlignDBTool.h.
|
private |
Definition at line 205 of file InDetAlignDBTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.