ATLAS Offline Software
TRTStrawAlign.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRTCONDITIONSALGS_TRTSTRAWALIGN_H
6 #define TRTCONDITIONSALGS_TRTSTRAWALIGN_H
7 
13 //
14 #include <vector>
15 #include <string>
17 #include "GaudiKernel/ServiceHandle.h"
18 
19 namespace InDetDD{
20 class TRT_DetectorManager;
21 }
22 class TRT_ID;
24 class ITRT_AlignDbSvc;
25 
26 
28 public:
29  TRTStrawAlign(const std::string& name, ISvcLocator* pSvcLocator);
31 
32  StatusCode initialize(void);
33  StatusCode execute(void);
34  StatusCode finalize(void);
35 
36 private:
42  const TRT_ID* m_trt;
43  bool m_setup;
44 
45  // algorithm parameters to be set in the jobOptions
47  bool m_doRegIOV;
52  std::string m_outputPOOLFile;
53  std::string m_moduleAlignTag;
54  std::string m_stawAlignTag;
59 
60 };
61 
62 
63 #endif // TRTCONDITIONSALGS_TRTSTRAWALIGN_H
TRTStrawAlign::m_inputModuleAlignmentTextFile
std::string m_inputModuleAlignmentTextFile
text file to read module alignment data
Definition: TRTStrawAlign.h:48
TRTStrawAlign
Definition: TRTStrawAlign.h:27
TRTStrawAlign::m_inputStrawAlignmentTextFile
std::string m_inputStrawAlignmentTextFile
text file to read straw alignment data
Definition: TRTStrawAlign.h:49
TRTStrawAlign::m_trt
const TRT_ID * m_trt
trt id helper
Definition: TRTStrawAlign.h:42
TRTStrawAlign::p_aligndbtool
ServiceHandle< ITRT_AlignDbSvc > p_aligndbtool
db tool
Definition: TRTStrawAlign.h:38
TRTStrawAlign::m_stawAlignTag
std::string m_stawAlignTag
IOV version tag for straw alignment.
Definition: TRTStrawAlign.h:54
TRTStrawAlign::m_outputModuleAlignmentTextFile
std::string m_outputModuleAlignmentTextFile
output module level text file
Definition: TRTStrawAlign.h:50
TRTStrawAlign::m_doStrawAlign
bool m_doStrawAlign
Definition: TRTStrawAlign.h:39
ITRT_AlignDbSvc
Definition: ITRT_AlignDbSvc.h:29
TRTStrawAlign::m_trtman
const InDetDD::TRT_DetectorManager * m_trtman
detector manager
Definition: TRTStrawAlign.h:41
TRTStrawAlign::m_outputStrawAlignmentTextFile
std::string m_outputStrawAlignmentTextFile
output module level text file
Definition: TRTStrawAlign.h:51
TRTStrawAlign::initialize
StatusCode initialize(void)
Definition: TRTStrawAlign.cxx:70
AthAlgorithm.h
TRTStrawAlign::execute
StatusCode execute(void)
Definition: TRTStrawAlign.cxx:148
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTStrawAlign::m_eventRangeEnd
int m_eventRangeEnd
IOV range.
Definition: TRTStrawAlign.h:58
TRTStrawAlign::~TRTStrawAlign
~TRTStrawAlign(void)
AthAlgorithm
Definition: AthAlgorithm.h:47
TRTStrawAlign::m_eventRangeBegin
int m_eventRangeBegin
IOV range.
Definition: TRTStrawAlign.h:57
TRTStrawAlign::m_doRegIOV
bool m_doRegIOV
register structures in the IOV service
Definition: TRTStrawAlign.h:47
TRTStrawAlign::m_doWriteToPOOL
bool m_doWriteToPOOL
stream structures to output
Definition: TRTStrawAlign.h:46
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TRTStrawAlign::m_setup
bool m_setup
true for first event
Definition: TRTStrawAlign.h:43
TRTStrawAlign::m_doModuleAlign
bool m_doModuleAlign
Definition: TRTStrawAlign.h:40
TRT_ID
Definition: TRT_ID.h:84
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition: TRT_DetectorManager.h:69
TRTStrawAlign::TRTStrawAlign
TRTStrawAlign(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRTStrawAlign.cxx:25
TRTStrawAlign::m_runRangeEnd
int m_runRangeEnd
IOV range.
Definition: TRTStrawAlign.h:56
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
TRTStrawAlign::finalize
StatusCode finalize(void)
Definition: TRTStrawAlign.cxx:238
TRTStrawAlign::p_caldbtool
ServiceHandle< ITRT_StrawAlignDbSvc > p_caldbtool
db tool
Definition: TRTStrawAlign.h:37
ITRT_StrawAlignDbSvc
Definition: ITRT_StrawAlignDbSvc.h:31
TRTStrawAlign::m_moduleAlignTag
std::string m_moduleAlignTag
IOV version tag for module alignment.
Definition: TRTStrawAlign.h:53
TRTStrawAlign::m_outputPOOLFile
std::string m_outputPOOLFile
POOL file to write.
Definition: TRTStrawAlign.h:52
TRTStrawAlign::m_runRangeBegin
int m_runRangeBegin
IOV range.
Definition: TRTStrawAlign.h:55
ServiceHandle< ITRT_StrawAlignDbSvc >