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

#include <LArG4TBPosOptions.h>

Collaboration diagram for LArG4TBPosOptions:

Public Member Functions

 LArG4TBPosOptions ()
 
void saveMe ()
 
void printMe ()
 
void PositionNickname (const std::string &value)
 
void PositionNicknumber (int value)
 
const std::string & PositionNickname (void) const
 
int PositionNicknumber (void) const
 

Private Attributes

std::string m_PositionNickname
 
int m_PositionNicknumber
 

Detailed Description

Definition at line 19 of file LArG4TBPosOptions.h.

Constructor & Destructor Documentation

◆ LArG4TBPosOptions()

LArG4TBPosOptions::LArG4TBPosOptions ( )
inline

Definition at line 25 of file LArG4TBPosOptions.h.

25  :
26  m_PositionNickname("POSITION1"),

Member Function Documentation

◆ PositionNickname() [1/2]

void LArG4TBPosOptions::PositionNickname ( const std::string &  value)
inline

Definition at line 33 of file LArG4TBPosOptions.h.

◆ PositionNickname() [2/2]

const std::string& LArG4TBPosOptions::PositionNickname ( void  ) const
inline

Definition at line 37 of file LArG4TBPosOptions.h.

37 { return m_PositionNickname; }

◆ PositionNicknumber() [1/2]

void LArG4TBPosOptions::PositionNicknumber ( int  value)
inline

Definition at line 34 of file LArG4TBPosOptions.h.

◆ PositionNicknumber() [2/2]

int LArG4TBPosOptions::PositionNicknumber ( void  ) const
inline

Definition at line 38 of file LArG4TBPosOptions.h.

38 { return m_PositionNicknumber; }

◆ printMe()

void LArG4TBPosOptions::printMe ( )

Definition at line 23 of file LArG4TBPosOptions.cxx.

24 {
25  std::cout << " *** *** This is the object of type LArG4TBPosOptions *** *** \n";
26  std::cout << " ** PositionNickname = " << m_PositionNickname << "\n *** *** \n";
27  std::cout << " ** PositionNicknumber = " << m_PositionNicknumber << "\n *** *** \n";
28 }

◆ saveMe()

void LArG4TBPosOptions::saveMe ( )

Definition at line 11 of file LArG4TBPosOptions.cxx.

12 {
13  SmartIF<StoreGateSvc> detStore{Gaudi::svcLocator()->service("DetectorStore")};
14  if (!detStore) {
15  std::cout << "LArG4TBPosOptions::saveMe ERROR Could not dynamic cast det store" << std::endl;
16  return;
17  }
18  if (!detStore->record(this,"LArG4TBPosOptions").isSuccess()) {
19  std::cout << "Can not record LArG4BarrelOptions" << std::endl;
20  }
21 }

Member Data Documentation

◆ m_PositionNickname

std::string LArG4TBPosOptions::m_PositionNickname
private

Definition at line 43 of file LArG4TBPosOptions.h.

◆ m_PositionNicknumber

int LArG4TBPosOptions::m_PositionNicknumber
private

Definition at line 46 of file LArG4TBPosOptions.h.


The documentation for this class was generated from the following files:
athena.value
value
Definition: athena.py:124
LArG4TBPosOptions::m_PositionNicknumber
int m_PositionNicknumber
Definition: LArG4TBPosOptions.h:46
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
LArG4TBPosOptions::m_PositionNickname
std::string m_PositionNickname
Definition: LArG4TBPosOptions.h:43