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

#include <LArGeoTB2004Options.h>

Collaboration diagram for LArGeoTB2004Options:

Public Member Functions

 LArGeoTB2004Options ()
 
void saveMe ()
 
void printMe () const
 
void CryoXPosition (double value)
 
void TableYPosition (double value)
 
void Run1 (bool value)
 
void Emec (bool value)
 
void Hec (bool value)
 
void Fcal (bool value)
 
void Coldnose (bool value)
 
void Printstep (bool value)
 
void Checkprim (bool value)
 
void Checkother (bool value)
 
double CryoXPosition (void) const
 
double TableYPosition (void) const
 
bool isRun1 (void) const
 
bool isEmec (void) const
 
bool isHec (void) const
 
bool isFcal (void) const
 
bool isColdnose (void) const
 
bool isPrintstep (void) const
 
bool isCheckprim (void) const
 
bool isCheckother (void) const
 

Private Attributes

double m_CryoXPosition
 
double m_TableYPosition
 
bool m_Run1
 
bool m_emec
 
bool m_hec
 
bool m_fcal
 
bool m_coldnose
 
bool m_printstep
 
bool m_checkprim
 
bool m_checkother
 

Detailed Description

Definition at line 15 of file LArGeoTB2004Options.h.

Constructor & Destructor Documentation

◆ LArGeoTB2004Options()

LArGeoTB2004Options::LArGeoTB2004Options ( )
inline

Definition at line 21 of file LArGeoTB2004Options.h.

21  :
22  m_CryoXPosition(0.0),
23  m_TableYPosition(0.0),
24  m_Run1(false),m_emec(true),m_hec(true),m_fcal(true),m_coldnose(true),m_printstep(false),m_checkprim(false),m_checkother(false)
25  {}

Member Function Documentation

◆ Checkother()

void LArGeoTB2004Options::Checkother ( bool  value)
inline

Definition at line 40 of file LArGeoTB2004Options.h.

40 { m_checkother = value; }

◆ Checkprim()

void LArGeoTB2004Options::Checkprim ( bool  value)
inline

Definition at line 39 of file LArGeoTB2004Options.h.

39 { m_checkprim = value; }

◆ Coldnose()

void LArGeoTB2004Options::Coldnose ( bool  value)
inline

Definition at line 37 of file LArGeoTB2004Options.h.

37 { m_coldnose = value; }

◆ CryoXPosition() [1/2]

void LArGeoTB2004Options::CryoXPosition ( double  value)
inline

Definition at line 31 of file LArGeoTB2004Options.h.

◆ CryoXPosition() [2/2]

double LArGeoTB2004Options::CryoXPosition ( void  ) const
inline

Definition at line 43 of file LArGeoTB2004Options.h.

43 { return m_CryoXPosition; }

◆ Emec()

void LArGeoTB2004Options::Emec ( bool  value)
inline

Definition at line 34 of file LArGeoTB2004Options.h.

34 { m_emec = value; }

◆ Fcal()

void LArGeoTB2004Options::Fcal ( bool  value)
inline

Definition at line 36 of file LArGeoTB2004Options.h.

36 { m_fcal = value; }

◆ Hec()

void LArGeoTB2004Options::Hec ( bool  value)
inline

Definition at line 35 of file LArGeoTB2004Options.h.

35 { m_hec = value; }

◆ isCheckother()

bool LArGeoTB2004Options::isCheckother ( void  ) const
inline

Definition at line 52 of file LArGeoTB2004Options.h.

52 { return m_checkother; }

◆ isCheckprim()

bool LArGeoTB2004Options::isCheckprim ( void  ) const
inline

Definition at line 51 of file LArGeoTB2004Options.h.

51 { return m_checkprim; }

◆ isColdnose()

bool LArGeoTB2004Options::isColdnose ( void  ) const
inline

Definition at line 49 of file LArGeoTB2004Options.h.

49 { return m_coldnose; }

◆ isEmec()

bool LArGeoTB2004Options::isEmec ( void  ) const
inline

Definition at line 46 of file LArGeoTB2004Options.h.

46 { return m_emec; }

◆ isFcal()

bool LArGeoTB2004Options::isFcal ( void  ) const
inline

Definition at line 48 of file LArGeoTB2004Options.h.

48 { return m_fcal; }

◆ isHec()

bool LArGeoTB2004Options::isHec ( void  ) const
inline

Definition at line 47 of file LArGeoTB2004Options.h.

47 { return m_hec; }

◆ isPrintstep()

bool LArGeoTB2004Options::isPrintstep ( void  ) const
inline

Definition at line 50 of file LArGeoTB2004Options.h.

50 { return m_printstep; }

◆ isRun1()

bool LArGeoTB2004Options::isRun1 ( void  ) const
inline

Definition at line 45 of file LArGeoTB2004Options.h.

45 { return m_Run1; }

◆ printMe()

void LArGeoTB2004Options::printMe ( ) const

Definition at line 30 of file LArGeoTB2004Options.cxx.

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 }

◆ Printstep()

void LArGeoTB2004Options::Printstep ( bool  value)
inline

Definition at line 38 of file LArGeoTB2004Options.h.

38 { m_printstep = value; }

◆ Run1()

void LArGeoTB2004Options::Run1 ( bool  value)
inline

Definition at line 33 of file LArGeoTB2004Options.h.

33 { m_Run1 = value; }

◆ saveMe()

void LArGeoTB2004Options::saveMe ( )

Definition at line 11 of file LArGeoTB2004Options.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 << "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 }

◆ TableYPosition() [1/2]

void LArGeoTB2004Options::TableYPosition ( double  value)
inline

Definition at line 32 of file LArGeoTB2004Options.h.

◆ TableYPosition() [2/2]

double LArGeoTB2004Options::TableYPosition ( void  ) const
inline

Definition at line 44 of file LArGeoTB2004Options.h.

44 { return m_TableYPosition; }

Member Data Documentation

◆ m_checkother

bool LArGeoTB2004Options::m_checkother
private

Definition at line 74 of file LArGeoTB2004Options.h.

◆ m_checkprim

bool LArGeoTB2004Options::m_checkprim
private

Definition at line 72 of file LArGeoTB2004Options.h.

◆ m_coldnose

bool LArGeoTB2004Options::m_coldnose
private

Definition at line 68 of file LArGeoTB2004Options.h.

◆ m_CryoXPosition

double LArGeoTB2004Options::m_CryoXPosition
private

Definition at line 56 of file LArGeoTB2004Options.h.

◆ m_emec

bool LArGeoTB2004Options::m_emec
private

Definition at line 62 of file LArGeoTB2004Options.h.

◆ m_fcal

bool LArGeoTB2004Options::m_fcal
private

Definition at line 66 of file LArGeoTB2004Options.h.

◆ m_hec

bool LArGeoTB2004Options::m_hec
private

Definition at line 64 of file LArGeoTB2004Options.h.

◆ m_printstep

bool LArGeoTB2004Options::m_printstep
private

Definition at line 70 of file LArGeoTB2004Options.h.

◆ m_Run1

bool LArGeoTB2004Options::m_Run1
private

Definition at line 60 of file LArGeoTB2004Options.h.

◆ m_TableYPosition

double LArGeoTB2004Options::m_TableYPosition
private

Definition at line 58 of file LArGeoTB2004Options.h.


The documentation for this class was generated from the following files:
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
athena.value
value
Definition: athena.py:122
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::m_TableYPosition
double m_TableYPosition
Definition: LArGeoTB2004Options.h:58
LArGeoTB2004Options::m_fcal
bool m_fcal
Definition: LArGeoTB2004Options.h:66