ATLAS Offline Software
LArCalorimeter
LArG4
LArG4RunControl
src
LArGeoTB2004Options.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 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
IService* pSvc;
14
ISvcLocator* svcLocator = Gaudi::svcLocator();
15
StatusCode
result
= svcLocator->service(
"DetectorStore"
,pSvc);
16
17
if
(
result
.isSuccess())
18
{
19
StoreGateSvc
*
detStore
=
dynamic_cast<
StoreGateSvc
*
>
(pSvc);
20
if
(!
detStore
){
21
std::cout <<
"LArGeoTB2004Options::saveMe ERROR Could not dynamic cast det store"
<< std::endl;
22
return
;
23
}
24
result
=
detStore
->record(
this
,
"LArGeoTB2004Options"
);
25
if
(!
result
.isSuccess())
26
std::cout <<
"Can not record LArGeoTB2004Options"
<< std::endl;
27
}
28
}
29
30
void
LArGeoTB2004Options::printMe
()
const
31
{
32
std::cout <<
" *** *** This is the object of type LArGeoTB2004Options *** *** \n"
;
33
std::cout <<
" ** H1 Cryostat X Position = "
<<
m_CryoXPosition
<<
"\n *** *** \n"
;
34
std::cout <<
" ** H1 Table Y Position = "
<<
m_TableYPosition
<<
"\n *** *** \n"
;
35
std::cout <<
" ** Run1 = "
<<
m_Run1
<<
"\n *** *** \n"
;
36
std::cout <<
" ** Emec = "
<<
m_emec
<<
"\n *** *** \n"
;
37
std::cout <<
" ** Hec = "
<<
m_hec
<<
"\n *** *** \n"
;
38
std::cout <<
" ** Fcal = "
<<
m_fcal
<<
"\n *** *** \n"
;
39
std::cout <<
" ** Coldnose = "
<<
m_coldnose
<<
"\n *** *** \n"
;
40
std::cout <<
" ** Print step = "
<<
m_printstep
<<
"\n *** *** \n"
;
41
std::cout <<
" ** Check primary = "
<<
m_checkprim
<<
"\n *** *** \n"
;
42
std::cout <<
" ** Check other = "
<<
m_checkother
<<
"\n *** *** \n"
;
43
}
get_generator_info.result
result
Definition:
get_generator_info.py:21
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
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:128
LArGeoTB2004Options::m_coldnose
bool m_coldnose
Definition:
LArGeoTB2004Options.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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:30
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 Thu Jul 4 2024 21:20:20 for ATLAS Offline Software by
1.8.18