![]() |
ATLAS Offline Software
|
interface to TRT straw alignment constants More...
#include <TRT_StrawAlignDbSvc.h>
Public Member Functions | |
| TRT_StrawAlignDbSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| constructor | |
| virtual | ~TRT_StrawAlignDbSvc () |
| destructor | |
| virtual StatusCode | initialize () |
| tool initialize | |
| virtual StatusCode | finalize () |
| tool finalize | |
| TRTCond::ExpandedIdentifier | trtcondid (const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const |
| create an TRTCond::ExpandedIdentifier from a TRTID identifier | |
| void | setDx (const TRTCond::ExpandedIdentifier &id, float dx1, float dx2, float dxerr) |
| set endpoints for a TRTCond::ExpandedIdentifier | |
| StatusCode | writeTextFile (const std::string &file) const |
| write calibration constants to flat text file | |
| virtual StatusCode | readTextFile (const std::string &file) |
| read calibration from text file into TDS | |
| StatusCode | readTextFile (StrawDxContainer *dxcontainer, const std::string &file) |
| StatusCode | streamOutObjects () const |
| write the calibration objects to output, after cleaning | |
| StatusCode | registerObjects (std::string tag, int run1, int event1, int run2, int event2) const |
| register calibration objects with the IoV service | |
| StrawDxContainer * | getDxContainer () const |
| access to containers | |
| const StrawDxContainer * | getConstDxContainer () const |
| StatusCode | IOVCallBack (IOVSVC_CALLBACK_ARGS) |
| IOV call back for dx objects. normally this doesn't do anything. | |
| float | getDx1 (const Identifier &id) const |
| get shift near electronics | |
| float | getDx2 (const Identifier &id) const |
| get shift far from electronics | |
| float | getDxErr (const Identifier &id) const |
| get error on shift | |
| void | setDx (const Identifier &id, float dx1, float dx2, float dxerr) |
| set shifts | |
Private Attributes | |
| ServiceHandle< StoreGateSvc > | m_detStore |
| std::string | m_par_dxcontainerkey |
| std::string | m_par_strawtextfile |
| bool | m_par_forcecallback |
| const TRT_ID * | m_trtid |
| const InDetDD::TRT_DetectorManager * | m_trtman |
| const DataHandle< StrawDxContainer > | m_dxcontainer |
| ToolHandle< IAthenaOutputStreamTool > | m_streamer |
interface to TRT straw alignment constants
Definition at line 34 of file TRT_StrawAlignDbSvc.h.
| TRT_StrawAlignDbSvc::TRT_StrawAlignDbSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
constructor
Definition at line 27 of file TRT_StrawAlignDbSvc.cxx.
|
virtualdefault |
destructor
|
virtual |
tool finalize
Definition at line 83 of file TRT_StrawAlignDbSvc.cxx.
|
inline |
Definition at line 119 of file TRT_StrawAlignDbSvc.h.
|
inline |
get shift near electronics
Definition at line 150 of file TRT_StrawAlignDbSvc.h.
|
inline |
get shift far from electronics
Definition at line 156 of file TRT_StrawAlignDbSvc.h.
|
inline |
access to containers
Definition at line 113 of file TRT_StrawAlignDbSvc.h.
|
inline |
|
virtual |
tool initialize
Definition at line 49 of file TRT_StrawAlignDbSvc.cxx.
| StatusCode TRT_StrawAlignDbSvc::IOVCallBack | ( | IOVSVC_CALLBACK_ARGS | ) |
IOV call back for dx objects. normally this doesn't do anything.
Definition at line 206 of file TRT_StrawAlignDbSvc.cxx.
|
virtual |
read calibration from text file into TDS
Definition at line 124 of file TRT_StrawAlignDbSvc.cxx.
| StatusCode TRT_StrawAlignDbSvc::readTextFile | ( | StrawDxContainer * | dxcontainer, |
| const std::string & | file ) |
Definition at line 130 of file TRT_StrawAlignDbSvc.cxx.
| StatusCode TRT_StrawAlignDbSvc::registerObjects | ( | std::string | tag, |
| int | run1, | ||
| int | event1, | ||
| int | run2, | ||
| int | event2 ) const |
register calibration objects with the IoV service
Definition at line 186 of file TRT_StrawAlignDbSvc.cxx.
|
inline |
set shifts
Definition at line 168 of file TRT_StrawAlignDbSvc.h.
|
inline |
set endpoints for a TRTCond::ExpandedIdentifier
Definition at line 143 of file TRT_StrawAlignDbSvc.h.
| StatusCode TRT_StrawAlignDbSvc::streamOutObjects | ( | ) | const |
write the calibration objects to output, after cleaning
Definition at line 163 of file TRT_StrawAlignDbSvc.cxx.
|
inline |
create an TRTCond::ExpandedIdentifier from a TRTID identifier
Definition at line 134 of file TRT_StrawAlignDbSvc.h.
| StatusCode TRT_StrawAlignDbSvc::writeTextFile | ( | const std::string & | file | ) | const |
write calibration constants to flat text file
Definition at line 89 of file TRT_StrawAlignDbSvc.cxx.
|
private |
Definition at line 95 of file TRT_StrawAlignDbSvc.h.
|
private |
detector manager
Definition at line 103 of file TRT_StrawAlignDbSvc.h.
|
private |
Definition at line 96 of file TRT_StrawAlignDbSvc.h.
|
private |
input text file
Definition at line 98 of file TRT_StrawAlignDbSvc.h.
|
private |
folder name
Definition at line 97 of file TRT_StrawAlignDbSvc.h.
|
private |
persistifiable container
Definition at line 105 of file TRT_StrawAlignDbSvc.h.
|
private |
force callback to manager
Definition at line 99 of file TRT_StrawAlignDbSvc.h.
|
private |
id helper
Definition at line 100 of file TRT_StrawAlignDbSvc.h.