Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_CONDITIONSSERVICES_TRT_ALIGNDBSVC_H
6 #define TRT_CONDITIONSSERVICES_TRT_ALIGNDBSVC_H
26 #include "GaudiKernel/ToolHandle.h"
31 #include "GaudiKernel/ServiceHandle.h"
37 class TRT_DetectorManager ;
StatusCode setAlignTransformL2(Identifier ident, Amg::Transform3D trans)
set Level 2 AlignableTransform for an identifier
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
std::vector< Amg::Transform3D * > m_amgTransformCache
StatusCode tweakAlignTransformL2(Identifier ident, const Amg::Transform3D &trans)
tweak Level 2 AlignableTransform for an identifier
std::vector< int > m_alignchans
channels
AlignableTransform * getTransPtr(const std::string &key) const
get AlignableTransform pointer for an object key
std::string findkey(const Identifier &ident, const std::string &type) const
Return the object key for a given identifier and data type.
StatusCode tweakAlignTransform(Identifier ident, Amg::Transform3D trans, unsigned int level)
tweak AlignableTransform for an identifier
A CondMultChanCollection is a template class which can hold a collection of T* objects which are inte...
static int getRingForStrawLayer(int strawlayer)
Returns the ring for a given strawLayer.
StatusCode writeGlobalFolderFile(const std::string &file) const
const InDetDD::TRT_DetectorManager * m_trtman
detector manager
std::string m_par_alitextfile
input text file
const Amg::Transform3D * getAlignmentTransformL1Ptr(Identifier const &ident) const
get Level L1 Transform for an identifier
std::vector< std::string > m_alignobjs
folder names
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
const AlignableTransform * cgetTransPtr(const std::string &key) const
get const AlignableTransform pointer for an object key
StatusCode setAlignTransform(Identifier ident, Amg::Transform3D trans, unsigned int level)
set AlignableTransform for an identifier
TRT_AlignDbSvc(const std::string &name, ISvcLocator *pSvcLocator)
constructor
StatusCode IOVCallBack(IOVSVC_CALLBACK_ARGS)
Call back function for alignment folders.
StatusCode createAlignObjectsWhichDoNotAlreadyExist()
Create an empty set of AlignableTransforms for the transforms which are not created by XXXXXXX from t...
const Amg::Transform3D * getAlignmentTransformPtr(const Identifier &ident, unsigned int level) const
get Level L2 Transform for an identifier
abstract interface to TRT straw alignment constants
ToolHandle< IAthenaOutputStreamTool > m_streamer
OutputStreamTool.
StatusCode readAlignTextFile(const std::string &file)
read AlignableTransforms from text file into TDS
virtual ~TRT_AlignDbSvc()
destructor
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
const AlignableTransformContainer * getContainer() const
Return the container.
StatusCode createAlignObjects() const
Create an empty set of AlignableTransforms for the GeoModel setup.
std::string m_alignString
alignment string searched for
const Amg::Transform3D getAlignmentTransformL1(Identifier const &ident) const
get Level 1 AlignableTransform for an identifier
StatusCode setAlignTransformL3(Identifier ident, Amg::Transform3D trans)
set Level 3 AlignableTransform for an identifier
StatusCode streamOutAlignObjects() const
write the alignment objects to output
ServiceHandle< StoreGateSvc > m_detStore
StatusCode setAlignTransformL1(Identifier ident, const Amg::Transform3D &trans)
set Level 1 AlignableTransform for an identifier
void printCondObjects() const
Output the conditions objects currently in memory.
StatusCode writeStrawAlignTextFile(const std::string &file) const
std::string m_alignroot
root alignment folder
virtual StatusCode initialize()
tool initialize
an iterator over instances of a given type in StoreGateSvc. It d-casts and caches locally the pointed...
virtual StatusCode finalize()
tool finalize
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
std::string m_alignDBprefix
StatusCode tweakAlignTransformL3(Identifier ident, Amg::Transform3D trans)
tweak Level 3 AlignableTransform for an identifier
const Amg::Transform3D getAlignmentTransformL2(Identifier const &ident) const
get Level 2 AlignableTransform for an identifier
StatusCode tweakGlobalFolder(Identifier ident, const Amg::Transform3D &trans)
tweak L1 DB for global folders for an identifier
const Amg::Transform3D * getAlignmentTransformL2Ptr(Identifier const &ident) const
get Level L2 Transform for an identifier
ServiceHandle< ITRT_StrawAlignDbSvc > m_trtStrawAlignDbSvc
StatusCode tweakAlignTransformL1(Identifier ident, const Amg::Transform3D &trans)
tweak Level 1 AlignableTransform for an identifier
static std::string intToString(int input)
Convert from an int to a string.
abstract interface to Service to manage TRT alignment conditions
const TRT_ID * m_trtid
trt id helper
static void printTransform(const std::string &thisName, const Amg::Transform3D &transform)
Output the transform to the cout, for debugging.
const Amg::Transform3D getAlignmentTransform(const Identifier &ident, unsigned int level) const
get AlignableTransform for an identifier
bool isOldKey(const std::string &input) const
Returns the true if the input key is from the old endcap scheme.
const DataHandle< AlignableTransformContainer > m_aligncontainerhandle
Define macros for attributes used to control the static checker.
StatusCode registerAlignObjects(const std::string &tag, int run1, int event1, int run2, int event2) const
register alignment objects with the IoV service
StatusCode writeAlignTextFile(const std::string &file) const
write AlignableTransforms to flat text file
static std::string prefixtag(const std::string &key)
Return the prefix tag for a given calibration folder.