ATLAS Offline Software
ITRT_AlignDbSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITRT_ALIGNDBSVC_H
6 #define ITRT_ALIGNDBSVC_H
7 
15 #include "GaudiKernel/IService.h"
16 #include "AthenaKernel/IOVSvcDefs.h" // For IOVSVC_CALLBACK_ARGS macro def.
17 // Amg
20 #include <string>
21 
22 class AlignableTransform;
23 class Identifier;
24 
28 class ITRT_AlignDbSvc: virtual public IService
29 {
30  public:
31 
34 
37 
39  virtual StatusCode writeAlignTextFile(const std::string & filename) const =0;
40  virtual StatusCode writeStrawAlignTextFile(const std::string & filename) const = 0;
41  virtual StatusCode writeGlobalFolderFile(const std::string & filename) const = 0;
42 
44  virtual StatusCode readAlignTextFile(const std::string & filename) =0;
45 
47  virtual StatusCode streamOutAlignObjects () const =0;
48 
50  virtual StatusCode registerAlignObjects(const std::string& , int, int, int, int) const =0;
51 
54 
57 
59  virtual const Amg::Transform3D getAlignmentTransform(Identifier const& ident, unsigned int level) const =0;
60  virtual const Amg::Transform3D* getAlignmentTransformPtr(Identifier const& ident, unsigned int level) const =0;
61 };
62 
63 #endif
ITRT_AlignDbSvc::IOVCallBack
virtual StatusCode IOVCallBack(IOVSVC_CALLBACK_ARGS)=0
Call back function for alignment folders.
ITRT_AlignDbSvc::writeGlobalFolderFile
virtual StatusCode writeGlobalFolderFile(const std::string &filename) const =0
ITRT_AlignDbSvc
Definition: ITRT_AlignDbSvc.h:29
ITRT_AlignDbSvc::tweakAlignTransform
virtual StatusCode tweakAlignTransform(Identifier, Amg::Transform3D, unsigned int level)=0
tweak AlignableTransform for an identifier
ITRT_AlignDbSvc::getAlignmentTransform
virtual const Amg::Transform3D getAlignmentTransform(Identifier const &ident, unsigned int level) const =0
get AlignableTransform for an identifier
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
ITRT_AlignDbSvc::DeclareInterfaceID
DeclareInterfaceID(ITRT_AlignDbSvc, 1, 0)
access to interfaceID
GeoPrimitives.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
ITRT_AlignDbSvc::readAlignTextFile
virtual StatusCode readAlignTextFile(const std::string &filename)=0
read AlignableTransforms from text file into TDS
ITRT_AlignDbSvc::writeStrawAlignTextFile
virtual StatusCode writeStrawAlignTextFile(const std::string &filename) const =0
AlignableTransform
Definition: AlignableTransform.h:24
ITRT_AlignDbSvc::registerAlignObjects
virtual StatusCode registerAlignObjects(const std::string &, int, int, int, int) const =0
register alignment objects with the IoV service
EventPrimitives.h
ITRT_AlignDbSvc::getAlignmentTransformPtr
virtual const Amg::Transform3D * getAlignmentTransformPtr(Identifier const &ident, unsigned int level) const =0
TRT::Hit::ident
@ ident
Definition: HitInfo.h:77
ITRT_AlignDbSvc::streamOutAlignObjects
virtual StatusCode streamOutAlignObjects() const =0
write the alignment objects to output
ITRT_AlignDbSvc::writeAlignTextFile
virtual StatusCode writeAlignTextFile(const std::string &filename) const =0
write AlignableTransforms to flat text file
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
IOVSvcDefs.h
defines and typedefs for IOVSvc
ITRT_AlignDbSvc::setAlignTransform
virtual StatusCode setAlignTransform(Identifier ident, Amg::Transform3D trans, unsigned int level)=0
set AlignableTransform for an identifier
Identifier
Definition: IdentifierFieldParser.cxx:14