ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LArGeoTBGeometricOptions Class Reference

#include <LArGeoTBGeometricOptions.h>

Collaboration diagram for LArGeoTBGeometricOptions:

Public Member Functions

 LArGeoTBGeometricOptions ()
 
void saveMe ()
 
void printMe ()
 
void CryoEtaPosition (double value)
 
void CryoPhiPosition (double value)
 
double CryoEtaPosition (void) const
 
double CryoPhiPosition (void) const
 

Private Attributes

double m_CryoEtaPosition
 
double m_CryoPhiPosition
 

Detailed Description

Definition at line 19 of file LArGeoTBGeometricOptions.h.

Constructor & Destructor Documentation

◆ LArGeoTBGeometricOptions()

LArGeoTBGeometricOptions::LArGeoTBGeometricOptions ( )
inline

Definition at line 25 of file LArGeoTBGeometricOptions.h.

25  :
28  {}

Member Function Documentation

◆ CryoEtaPosition() [1/2]

void LArGeoTBGeometricOptions::CryoEtaPosition ( double  value)
inline

Definition at line 34 of file LArGeoTBGeometricOptions.h.

◆ CryoEtaPosition() [2/2]

double LArGeoTBGeometricOptions::CryoEtaPosition ( void  ) const
inline

Definition at line 38 of file LArGeoTBGeometricOptions.h.

38 { return m_CryoEtaPosition; }

◆ CryoPhiPosition() [1/2]

void LArGeoTBGeometricOptions::CryoPhiPosition ( double  value)
inline

Definition at line 35 of file LArGeoTBGeometricOptions.h.

◆ CryoPhiPosition() [2/2]

double LArGeoTBGeometricOptions::CryoPhiPosition ( void  ) const
inline

Definition at line 39 of file LArGeoTBGeometricOptions.h.

39 { return m_CryoPhiPosition; }

◆ printMe()

void LArGeoTBGeometricOptions::printMe ( )

Definition at line 30 of file LArGeoTBGeometricOptions.cxx.

31 {
32  std::cout << " *** *** This is the object of type LArGeoTBGeometricOptions *** *** \n";
33  std::cout << " ** CryoEtaPosition = " << m_CryoEtaPosition << "\n *** *** \n";
34  std::cout << " ** CryoPhiPosition = " << m_CryoPhiPosition << "\n *** *** \n";
35 }

◆ saveMe()

void LArGeoTBGeometricOptions::saveMe ( )

Definition at line 11 of file LArGeoTBGeometricOptions.cxx.

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 << "LArGeoTBGeometricOptions::saveMe ERROR Could not dynamic cast det store" << std::endl;
22  return;
23  }
24  result=detStore->record(this,"LArGeoTBGeometricOptions");
25  if(!result.isSuccess())
26  std::cout << "Can not record LArGeoTBGeometricOptions" << std::endl;
27  }
28 }

Member Data Documentation

◆ m_CryoEtaPosition

double LArGeoTBGeometricOptions::m_CryoEtaPosition
private

Definition at line 44 of file LArGeoTBGeometricOptions.h.

◆ m_CryoPhiPosition

double LArGeoTBGeometricOptions::m_CryoPhiPosition
private

Definition at line 47 of file LArGeoTBGeometricOptions.h.


The documentation for this class was generated from the following files:
get_generator_info.result
result
Definition: get_generator_info.py:21
athena.value
value
Definition: athena.py:122
LArGeoTBGeometricOptions::m_CryoPhiPosition
double m_CryoPhiPosition
Definition: LArGeoTBGeometricOptions.h:47
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
LArGeoTBGeometricOptions::m_CryoEtaPosition
double m_CryoEtaPosition
Definition: LArGeoTBGeometricOptions.h:44