ATLAS Offline Software
LArCalorimeter
LArG4
LArG4RunControl
src
LArGeoTB2004Options.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArG4RunControl/LArGeoTB2004Options.h
"
6
7
#include "GaudiKernel/ISvcLocator.h"
8
#include "GaudiKernel/Bootstrap.h"
9
#include "
StoreGate/StoreGateSvc.h
"
10
11
void
LArGeoTB2004Options::saveMe
()
12
{
13
SmartIF<StoreGateSvc>
detStore
{Gaudi::svcLocator()->service(
"DetectorStore"
)};
14
if
(!
detStore
) {
15
std::cout <<
"LArGeoTB2004Options::saveMe ERROR Could not dynamic cast det store"
<< std::endl;
16
return
;
17
}
18
if
(!
detStore
->record(
this
,
"LArGeoTB2004Options"
).isSuccess()) {
19
std::cout <<
"Can not record LArGeoTB2004Options"
<< std::endl;
20
}
21
}
22
23
void
LArGeoTB2004Options::printMe
()
const
24
{
25
std::cout <<
" *** *** This is the object of type LArGeoTB2004Options *** *** \n"
;
26
std::cout <<
" ** H1 Cryostat X Position = "
<<
m_CryoXPosition
<<
"\n *** *** \n"
;
27
std::cout <<
" ** H1 Table Y Position = "
<<
m_TableYPosition
<<
"\n *** *** \n"
;
28
std::cout <<
" ** Run1 = "
<<
m_Run1
<<
"\n *** *** \n"
;
29
std::cout <<
" ** Emec = "
<<
m_emec
<<
"\n *** *** \n"
;
30
std::cout <<
" ** Hec = "
<<
m_hec
<<
"\n *** *** \n"
;
31
std::cout <<
" ** Fcal = "
<<
m_fcal
<<
"\n *** *** \n"
;
32
std::cout <<
" ** Coldnose = "
<<
m_coldnose
<<
"\n *** *** \n"
;
33
std::cout <<
" ** Print step = "
<<
m_printstep
<<
"\n *** *** \n"
;
34
std::cout <<
" ** Check primary = "
<<
m_checkprim
<<
"\n *** *** \n"
;
35
std::cout <<
" ** Check other = "
<<
m_checkother
<<
"\n *** *** \n"
;
36
}
LArGeoTB2004Options::m_Run1
bool m_Run1
Definition:
LArGeoTB2004Options.h:60
LArGeoTB2004Options::m_hec
bool m_hec
Definition:
LArGeoTB2004Options.h:64
LArGeoTB2004Options::m_printstep
bool m_printstep
Definition:
LArGeoTB2004Options.h:70
LArGeoTB2004Options::m_CryoXPosition
double m_CryoXPosition
Definition:
LArGeoTB2004Options.h:56
LArGeoTB2004Options::m_checkprim
bool m_checkprim
Definition:
LArGeoTB2004Options.h:72
LArGeoTB2004Options::m_coldnose
bool m_coldnose
Definition:
LArGeoTB2004Options.h:68
LArGeoTB2004Options::m_emec
bool m_emec
Definition:
LArGeoTB2004Options.h:62
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
LArGeoTB2004Options::m_checkother
bool m_checkother
Definition:
LArGeoTB2004Options.h:74
LArGeoTB2004Options.h
LArGeoTB2004Options::printMe
void printMe() const
Definition:
LArGeoTB2004Options.cxx:23
LArGeoTB2004Options::saveMe
void saveMe()
Definition:
LArGeoTB2004Options.cxx:11
LArGeoTB2004Options::m_TableYPosition
double m_TableYPosition
Definition:
LArGeoTB2004Options.h:58
StoreGateSvc.h
LArGeoTB2004Options::m_fcal
bool m_fcal
Definition:
LArGeoTB2004Options.h:66
Generated on Fri Jan 10 2025 21:13:14 for ATLAS Offline Software by
1.8.18