Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
24 m_inputModuleAlignmentTextFile(
""),
25 m_inputStrawAlignmentTextFile(
""),
26 m_outputModuleAlignmentTextFile(
""),
27 m_outputStrawAlignmentTextFile(
""),
29 m_moduleAlignTag(
"TRTAlign_00"),
30 m_stawAlignTag(
"TrtCalibDx_00"),
32 m_runRangeEnd(9999999),
34 m_eventRangeEnd(9999999)
76 ATH_MSG_INFO(
"Straw alignment will be registered with IOV");
96 ATH_MSG_INFO(
"Module alignment will be registered with IOV");
108 return StatusCode::SUCCESS;
124 if(
sc!=StatusCode::SUCCESS) {
126 return StatusCode::FAILURE;
133 if(
sc!=StatusCode::SUCCESS) {
135 return StatusCode::FAILURE;
140 if( StatusCode::SUCCESS !=
p_caldbtool->streamOutObjects()) {
142 return StatusCode::FAILURE;
147 ATH_MSG_ERROR(
" Could not register Straw Alignment objects ");
148 return StatusCode::FAILURE;
157 if(
sc!=StatusCode::SUCCESS) {
159 return StatusCode::FAILURE;
166 if(
sc!=StatusCode::SUCCESS) {
168 return StatusCode::FAILURE;
173 if( StatusCode::SUCCESS !=
p_aligndbtool->streamOutAlignObjects()) {
175 return StatusCode::FAILURE;
185 ATH_MSG_ERROR(
" Could not register Module Alignment objects ");
186 return StatusCode::FAILURE;
193 return StatusCode::SUCCESS;
202 for(
int strlay=0;strlay<3;strlay++) {
210 <<
"bec -1 layer 0 sector 1 plane "
213 <<
" x " <<
x <<
" y " <<
y <<
" z " <<
z <<
endmsg;
220 <<
"bec 1 layer 0 sector 1 plane "
223 <<
" x " <<
x <<
" y " <<
y <<
" z " <<
z <<
endmsg;
227 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
std::string m_inputModuleAlignmentTextFile
text file to read module alignment data
virtual StatusCode execute(void) override
std::string m_inputStrawAlignmentTextFile
text file to read straw alignment data
virtual StatusCode initialize(void) override
const TRT_ID * m_trt
trt id helper
ServiceHandle< ITRT_AlignDbSvc > p_aligndbtool
db tool
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::string m_stawAlignTag
IOV version tag for straw alignment.
std::string m_outputModuleAlignmentTextFile
output module level text file
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
const Amg::Vector3D & strawCenter(int straw) const
Straw Surface: Local -> global transform of the straw via integer.
bool msgLvl(const MSG::Level lvl) const
const InDetDD::TRT_DetectorManager * m_trtman
detector manager
std::string m_outputStrawAlignmentTextFile
output module level text file
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
int m_eventRangeEnd
IOV range.
int m_eventRangeBegin
IOV range.
bool m_doRegIOV
register structures in the IOV service
bool m_doWriteToPOOL
stream structures to output
bool m_setup
true for first event
const TRT_BaseElement * getElement(Identifier id) const
Access Elements Generically---------------------------------------------—.
TRTStrawAlign(const std::string &name, ISvcLocator *pSvcLocator)
int m_runRangeEnd
IOV range.
ServiceHandle< ITRT_StrawAlignDbSvc > p_caldbtool
db tool
Algorithm to make individual Straw Alignment.
std::string m_moduleAlignTag
IOV version tag for module alignment.
std::string m_outputPOOLFile
POOL file to write.
virtual StatusCode finalize(void) override
Class for storing/accessing trt endpoint corrections data.
int m_runRangeBegin
IOV range.