ATLAS Offline Software
ITRT_StrawAlignDbSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ITRT_STRAWALIGNDBSVC_H
6 #define ITRT_STRAWALIGNDBSVC_H
7 
12 #include <string>
13 #include "GaudiKernel/IService.h"
15 
16 class Identifier;
17 namespace TRTCond {
18  class ExpandedIdentifier;
19  class RtRelation;
20  class StrawDxContainer;
21 }
23 namespace InDetDD {
24  class TRT_DetectorManager ;
25 }
26 
30 class ITRT_StrawAlignDbSvc: virtual public IService
31 {
32  public:
34  static const InterfaceID& interfaceID() ;
35  virtual TRTCond::ExpandedIdentifier trtcondid( const Identifier&, int) const =0;
36  virtual void setDx( const TRTCond::ExpandedIdentifier&, float, float, float ) =0;
37  virtual StatusCode writeTextFile(const std::string&) const =0;
38  virtual StatusCode readTextFile(const std::string&) =0;
39  virtual StatusCode streamOutObjects () const =0;
40  virtual StatusCode registerObjects (std::string, int, int, int, int) const=0;
41  virtual StrawDxContainer* getDxContainer() const =0;
43  virtual float getDx1( const Identifier&) const =0;
44  virtual float getDx2( const Identifier&) const =0;
45  virtual float getDxErr( const Identifier& ) const =0 ;
46  virtual void setDx( const Identifier&, float, float, float) =0;
47 
48 };
49 
51 // inline methods
53 
54 inline const InterfaceID& ITRT_StrawAlignDbSvc::interfaceID() {
55  static const InterfaceID id("ITRT_StrawAlignDbSvc",1,0);
56  return id;
57 }
58 
59 #endif // ITRT_STRAWALIGNDBTOOL_H
ITRT_StrawAlignDbSvc::trtcondid
virtual TRTCond::ExpandedIdentifier trtcondid(const Identifier &, int) const =0
ITRT_StrawAlignDbSvc::interfaceID
static const InterfaceID & interfaceID()
Definition: ITRT_StrawAlignDbSvc.h:54
ITRT_StrawAlignDbSvc::streamOutObjects
virtual StatusCode streamOutObjects() const =0
IAthenaOutputStreamTool
This is a tool that allows streaming out of DataObjects. This has been factorized out from AthenaOutp...
Definition: IAthenaOutputStreamTool.h:70
ExpandedIdentifier
Definition: DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h:108
ITRT_StrawAlignDbSvc::getDxErr
virtual float getDxErr(const Identifier &) const =0
ITRT_StrawAlignDbSvc::StrawDxContainer
TRTCond::StrawDxContainer StrawDxContainer
Definition: ITRT_StrawAlignDbSvc.h:33
ITRT_StrawAlignDbSvc::setDx
virtual void setDx(const TRTCond::ExpandedIdentifier &, float, float, float)=0
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
ITRT_StrawAlignDbSvc::getDxContainer
virtual StrawDxContainer * getDxContainer() const =0
ITRT_StrawAlignDbSvc::getDx2
virtual float getDx2(const Identifier &) const =0
ITRT_StrawAlignDbSvc::setDx
virtual void setDx(const Identifier &, float, float, float)=0
ITRT_StrawAlignDbSvc::readTextFile
virtual StatusCode readTextFile(const std::string &)=0
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITRT_StrawAlignDbSvc::IOVCallBack
virtual StatusCode IOVCallBack(IOVSVC_CALLBACK_ARGS)=0
ITRT_StrawAlignDbSvc::writeTextFile
virtual StatusCode writeTextFile(const std::string &) const =0
ITRT_StrawAlignDbSvc::getDx1
virtual float getDx1(const Identifier &) const =0
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
TRTCond::StrawDxContainer
Definition: StrawDxContainer.h:109
ITRT_StrawAlignDbSvc::registerObjects
virtual StatusCode registerObjects(std::string, int, int, int, int) const =0
TRTCond
Definition: BasicRtRelation.cxx:8
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
ITRT_StrawAlignDbSvc
Definition: ITRT_StrawAlignDbSvc.h:31
IOVSvcDefs.h
defines and typedefs for IOVSvc
TRTCond::ExpandedIdentifier
Identifier for TRT detector elements in the conditions code.
Definition: InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:30