ATLAS Offline Software
LArCalorimeter
LArG4
LArG4RunControl
src
LArGeoTBGeometricOptions.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/LArGeoTBGeometricOptions.h
"
6
7
#include "GaudiKernel/ISvcLocator.h"
8
#include "GaudiKernel/Bootstrap.h"
9
#include "
StoreGate/StoreGateSvc.h
"
10
11
void
LArGeoTBGeometricOptions::saveMe
()
12
{
13
SmartIF<StoreGateSvc>
detStore
{Gaudi::svcLocator()->service(
"DetectorStore"
)};
14
if
(!
detStore
) {
15
std::cout <<
"LArGeoTBGeometricOptions::saveMe ERROR Could not dynamic cast det store"
<< std::endl;
16
return
;
17
}
18
if
(!
detStore
->record(
this
,
"LArGeoTBGeometricOptions"
).isSuccess()) {
19
std::cout <<
"Can not record LArGeoTBGeometricOptions"
<< std::endl;
20
}
21
}
22
23
void
LArGeoTBGeometricOptions::printMe
()
24
{
25
std::cout <<
" *** *** This is the object of type LArGeoTBGeometricOptions *** *** \n"
;
26
std::cout <<
" ** CryoEtaPosition = "
<<
m_CryoEtaPosition
<<
"\n *** *** \n"
;
27
std::cout <<
" ** CryoPhiPosition = "
<<
m_CryoPhiPosition
<<
"\n *** *** \n"
;
28
}
LArGeoTBGeometricOptions::m_CryoPhiPosition
double m_CryoPhiPosition
Definition:
LArGeoTBGeometricOptions.h:47
LArGeoTBGeometricOptions::printMe
void printMe()
Definition:
LArGeoTBGeometricOptions.cxx:23
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
LArGeoTBGeometricOptions::saveMe
void saveMe()
Definition:
LArGeoTBGeometricOptions.cxx:11
LArGeoTBGeometricOptions.h
StoreGateSvc.h
LArGeoTBGeometricOptions::m_CryoEtaPosition
double m_CryoEtaPosition
Definition:
LArGeoTBGeometricOptions.h:44
Generated on Thu Nov 7 2024 21:19:39 for ATLAS Offline Software by
1.8.18