5#ifndef TRT_CONDITIONSSERVICES_TRT_STRAWALIGNDBSVC_H
6#define TRT_CONDITIONSSERVICES_TRT_STRAWALIGNDBSVC_H
16#include "GaudiKernel/ToolHandle.h"
21#include "GaudiKernel/ServiceHandle.h"
27 class TRT_DetectorManager ;
67 const std::string&
file);
73 StatusCode
registerObjects(std::string tag,
int run1,
int event1,
int run2,
int event2)
const;
111 return const_cast<StrawDxContainer*
>(
rc) ;
114inline const TRT_StrawAlignDbSvc::StrawDxContainer*
117 const StrawDxContainer*
rc =
nullptr;
abstract interface to TRT straw alignment constants
Class for storing/accessing trt endpoint corrections data.
This is an Identifier helper class for the TRT subdetector.
Define macros for attributes used to control the static checker.
#define ATLAS_NO_CHECK_FILE_THREAD_SAFETY
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Identifier for TRT detector elements in the conditions code.
This is an Identifier helper class for the TRT subdetector.
TRT_StrawAlignDbSvc(const std::string &name, ISvcLocator *pSvcLocator)
constructor
virtual StatusCode readTextFile(const std::string &file)
read calibration from text file into TDS
virtual ~TRT_StrawAlignDbSvc()
destructor
float getDx2(const Identifier &id) const
get shift far from electronics
float getDx1(const Identifier &id) const
get shift near electronics
StatusCode writeTextFile(const std::string &file) const
write calibration constants to flat text file
std::string m_par_strawtextfile
TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
const InDetDD::TRT_DetectorManager * m_trtman
void setDx(const TRTCond::ExpandedIdentifier &id, float dx1, float dx2, float dxerr)
set endpoints for a TRTCond::ExpandedIdentifier
virtual StatusCode finalize()
tool finalize
StatusCode streamOutObjects() const
write the calibration objects to output, after cleaning
StatusCode IOVCallBack()
IOV call back for dx objects. normally this doesn't do anything.
virtual StatusCode initialize()
tool initialize
StrawDxContainer * getDxContainer() const
access to containers
float getDxErr(const Identifier &id) const
get error on shift
StatusCode registerObjects(std::string tag, int run1, int event1, int run2, int event2) const
register calibration objects with the IoV service
const StrawDxContainer * getConstDxContainer() const
ServiceHandle< StoreGateSvc > m_detStore
std::string m_par_dxcontainerkey
ToolHandle< IAthenaOutputStreamTool > m_streamer