![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_STRAWALIGNDBSVC_H
6 #define TRT_STRAWALIGNDBSVC_H
15 #include "GaudiKernel/ToolHandle.h"
21 #include "GaudiKernel/ServiceHandle.h"
27 class TRT_DetectorManager ;
70 const std::string&
file);
180 return StatusCode::SUCCESS;
182 return AthService::queryInterface( riid, ppvIf );
185 #endif // TRT_STRAWALIGNDBSVC_H
const InDetDD::TRT_DetectorManager * m_trtman
id helper
const StrawDxContainer * getConstDxContainer() const
ToolHandle< IAthenaOutputStreamTool > m_streamer
persistifiable container
void setDx(const TRTCond::ExpandedIdentifier &id, float dx1, float dx2, float dxerr)
set endpoints for a TRTCond::ExpandedIdentifier
StatusCode IOVCallBack(IOVSVC_CALLBACK_ARGS)
IOV call back for dx objects. normally this doesn't do anything.
static const InterfaceID & interfaceID()
bool m_par_forcecallback
input text file
const_pointer_type cptr() const
safer explicit ptr accessor
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
float getDxErr(const Identifier &id) const
get error on shift
virtual StatusCode readTextFile(const std::string &file)
read calibration from text file into TDS
StatusCode writeTextFile(const std::string &file) const
write calibration constants to flat text file
TRT_StrawAlignDbSvc(const std::string &name, ISvcLocator *pSvcLocator)
constructor
abstract interface to TRT straw alignment constants
int straw(const Identifier &id) const
const DataHandle< StrawDxContainer > m_dxcontainer
detector manager
virtual ~TRT_StrawAlignDbSvc()
destructor
StatusCode registerObjects(std::string tag, int run1, int event1, int run2, int event2) const
register calibration objects with the IoV service
::StatusCode StatusCode
StatusCode definition for legacy code.
ServiceHandle< StoreGateSvc > m_detStore
bool isValid() const
RETRIEVES the DO to check it is valid and unlocked.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
std::string m_par_strawtextfile
folder name
TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
float getDx1(const ExpandedIdentifier &id) const
access to unpacked dx
int phi_module(const Identifier &id) const
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
StrawDxContainer * getDxContainer() const
access to containers
StatusCode streamOutObjects() const
write the calibration objects to output, after cleaning
float getDxErr(const ExpandedIdentifier &id) const
access to unpacked dx error
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIf)
access to interfaceID
const TRT_ID * m_trtid
force callback to manager
float getDx2(const Identifier &id) const
get shift far from electronics
void setDx(const ExpandedIdentifier &id, float dx1, float dx2, float dxerr)
set dx
virtual StatusCode finalize()
tool finalize
Identifier for TRT detector elements in the conditions code.
Define macros for attributes used to control the static checker.
float getDx1(const Identifier &id) const
get shift near electronics
Class for storing/accessing trt endpoint corrections data.
float getDx2(const ExpandedIdentifier &id) const
virtual StatusCode initialize()
tool initialize
std::string m_par_dxcontainerkey