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