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

#include <MioctTopoCellGeometry.h>

Collaboration diagram for MioctTopoCellGeometry:

Public Member Functions

 MioctTopoCellGeometry ()=default
 
virtual ~MioctTopoCellGeometry ()=default
 
float eta () const
 
float phi () const
 
int ieta () const
 
int iphi () const
 
unsigned int etacode () const
 
unsigned int phicode () const
 
float etamin () const
 
float etamax () const
 
float phimin () const
 
float phimax () const
 
void setEta (float v)
 
void setPhi (float v)
 
void setIEta (int v)
 
void setIPhi (int v)
 
void setEtacode (unsigned int v)
 
void setPhicode (unsigned int v)
 
void setEtamin (float v)
 
void setEtamax (float v)
 
void setPhimin (float v)
 
void setPhimax (float v)
 
virtual void print (const std::string &indent="", unsigned int detail=1) const
 
virtual void writeXML (std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
 

Private Attributes

float m_eta {0}
 
float m_phi {0}
 
int m_ieta {0}
 
int m_iphi {0}
 
unsigned int m_etacode {0}
 
unsigned int m_phicode {0}
 
float m_etamin {0}
 
float m_etamax {0}
 
float m_phimin {0}
 
float m_phimax {0}
 

Detailed Description

Definition at line 15 of file MioctTopoCellGeometry.h.

Constructor & Destructor Documentation

◆ MioctTopoCellGeometry()

MioctTopoCellGeometry::MioctTopoCellGeometry ( )
default

◆ ~MioctTopoCellGeometry()

virtual MioctTopoCellGeometry::~MioctTopoCellGeometry ( )
virtualdefault

Member Function Documentation

◆ eta()

float MioctTopoCellGeometry::eta ( ) const
inline

Definition at line 21 of file MioctTopoCellGeometry.h.

21 { return m_eta; };

◆ etacode()

unsigned int MioctTopoCellGeometry::etacode ( ) const
inline

Definition at line 25 of file MioctTopoCellGeometry.h.

25 { return m_etacode; };

◆ etamax()

float MioctTopoCellGeometry::etamax ( ) const
inline

Definition at line 28 of file MioctTopoCellGeometry.h.

28 { return m_etamax; };

◆ etamin()

float MioctTopoCellGeometry::etamin ( ) const
inline

Definition at line 27 of file MioctTopoCellGeometry.h.

27 { return m_etamin; };

◆ ieta()

int MioctTopoCellGeometry::ieta ( ) const
inline

Definition at line 23 of file MioctTopoCellGeometry.h.

23 { return m_ieta; };

◆ iphi()

int MioctTopoCellGeometry::iphi ( ) const
inline

Definition at line 24 of file MioctTopoCellGeometry.h.

24 { return m_iphi; };

◆ phi()

float MioctTopoCellGeometry::phi ( ) const
inline

Definition at line 22 of file MioctTopoCellGeometry.h.

22 { return m_phi; };

◆ phicode()

unsigned int MioctTopoCellGeometry::phicode ( ) const
inline

Definition at line 26 of file MioctTopoCellGeometry.h.

26 { return m_phicode; };

◆ phimax()

float MioctTopoCellGeometry::phimax ( ) const
inline

Definition at line 30 of file MioctTopoCellGeometry.h.

30 { return m_phimax; };

◆ phimin()

float MioctTopoCellGeometry::phimin ( ) const
inline

Definition at line 29 of file MioctTopoCellGeometry.h.

29 { return m_phimin; };

◆ print()

void MioctTopoCellGeometry::print ( const std::string &  indent = "",
unsigned int  detail = 1 
) const
virtual

Definition at line 12 of file MioctTopoCellGeometry.cxx.

12  {
13  cout << indent << "MioctTopoCellGeometry: " << endl;
14  //cout << indent << "\tlvl1 master table id: " << lvl1MasterTableId() << endl;
15  //printNameIdV(indent);
16  cout << indent << "\tetacode " << m_etacode << endl;
17  cout << indent << "\tphicode " << m_phicode << endl;
18  cout << indent << "\teta " << m_eta << endl;
19  cout << indent << "\tphi " << m_phi << endl;
20  cout << indent << "\tetamin " << m_etamin << endl;
21  cout << indent << "\tetamax " << m_etamax << endl;
22  cout << indent << "\tphimin " << m_phimin << endl;
23  cout << indent << "\tphimax " << m_phimax << endl;
24 }

◆ setEta()

void MioctTopoCellGeometry::setEta ( float  v)
inline

Definition at line 33 of file MioctTopoCellGeometry.h.

33 { m_eta = v; };

◆ setEtacode()

void MioctTopoCellGeometry::setEtacode ( unsigned int  v)
inline

Definition at line 37 of file MioctTopoCellGeometry.h.

37 { m_etacode = v; };

◆ setEtamax()

void MioctTopoCellGeometry::setEtamax ( float  v)
inline

Definition at line 40 of file MioctTopoCellGeometry.h.

40 { m_etamax = v; };

◆ setEtamin()

void MioctTopoCellGeometry::setEtamin ( float  v)
inline

Definition at line 39 of file MioctTopoCellGeometry.h.

39 { m_etamin = v; };

◆ setIEta()

void MioctTopoCellGeometry::setIEta ( int  v)
inline

Definition at line 35 of file MioctTopoCellGeometry.h.

35 { m_ieta = v; };

◆ setIPhi()

void MioctTopoCellGeometry::setIPhi ( int  v)
inline

Definition at line 36 of file MioctTopoCellGeometry.h.

36 { m_iphi = v; };

◆ setPhi()

void MioctTopoCellGeometry::setPhi ( float  v)
inline

Definition at line 34 of file MioctTopoCellGeometry.h.

34 { m_phi = v; };

◆ setPhicode()

void MioctTopoCellGeometry::setPhicode ( unsigned int  v)
inline

Definition at line 38 of file MioctTopoCellGeometry.h.

38 { m_phicode = v; };

◆ setPhimax()

void MioctTopoCellGeometry::setPhimax ( float  v)
inline

Definition at line 42 of file MioctTopoCellGeometry.h.

42 { m_phimax = v; };

◆ setPhimin()

void MioctTopoCellGeometry::setPhimin ( float  v)
inline

Definition at line 41 of file MioctTopoCellGeometry.h.

41 { m_phimin = v; };

◆ writeXML()

void MioctTopoCellGeometry::writeXML ( std::ostream &  xmlfile,
int  indentLevel = 0,
int  indentWidth = 2 
) const
virtual

Definition at line 27 of file MioctTopoCellGeometry.cxx.

27  {
28  mioctIndent(xmlfile, indentLevel, indentWidth) << "<TopoCell "
29  << "etacode=\"0x" << std::hex << m_etacode
30  << "\" phicode=\"0x" << m_phicode <<std::dec
31  << fixed << setprecision(6)
32  << "\" eta=\"" << m_eta
33  << "\" phi=\"" << m_phi
34  << "\" etamin=\"" << m_etamin
35  << "\" etamax=\"" << m_etamax
36  << "\" phimin=\"" << m_phimin
37  << "\" phimax=\"" << m_phimax
38  << "\"/>" << endl;
39 }

Member Data Documentation

◆ m_eta

float MioctTopoCellGeometry::m_eta {0}
private

Definition at line 48 of file MioctTopoCellGeometry.h.

◆ m_etacode

unsigned int MioctTopoCellGeometry::m_etacode {0}
private

Definition at line 52 of file MioctTopoCellGeometry.h.

◆ m_etamax

float MioctTopoCellGeometry::m_etamax {0}
private

Definition at line 55 of file MioctTopoCellGeometry.h.

◆ m_etamin

float MioctTopoCellGeometry::m_etamin {0}
private

Definition at line 54 of file MioctTopoCellGeometry.h.

◆ m_ieta

int MioctTopoCellGeometry::m_ieta {0}
private

Definition at line 50 of file MioctTopoCellGeometry.h.

◆ m_iphi

int MioctTopoCellGeometry::m_iphi {0}
private

Definition at line 51 of file MioctTopoCellGeometry.h.

◆ m_phi

float MioctTopoCellGeometry::m_phi {0}
private

Definition at line 49 of file MioctTopoCellGeometry.h.

◆ m_phicode

unsigned int MioctTopoCellGeometry::m_phicode {0}
private

Definition at line 53 of file MioctTopoCellGeometry.h.

◆ m_phimax

float MioctTopoCellGeometry::m_phimax {0}
private

Definition at line 57 of file MioctTopoCellGeometry.h.

◆ m_phimin

float MioctTopoCellGeometry::m_phimin {0}
private

Definition at line 56 of file MioctTopoCellGeometry.h.


The documentation for this class was generated from the following files:
MioctTopoCellGeometry::m_etacode
unsigned int m_etacode
Definition: MioctTopoCellGeometry.h:52
MioctTopoCellGeometry::m_phicode
unsigned int m_phicode
Definition: MioctTopoCellGeometry.h:53
MioctTopoCellGeometry::m_eta
float m_eta
Definition: MioctTopoCellGeometry.h:48
MioctTopoCellGeometry::m_ieta
int m_ieta
Definition: MioctTopoCellGeometry.h:50
MioctTopoCellGeometry::m_etamin
float m_etamin
Definition: MioctTopoCellGeometry.h:54
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
MioctTopoCellGeometry::m_iphi
int m_iphi
Definition: MioctTopoCellGeometry.h:51
mioctIndent
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
Definition: MioctROIGeometry.cxx:12
python.PyAthena.v
v
Definition: PyAthena.py:157
MioctTopoCellGeometry::m_phimax
float m_phimax
Definition: MioctTopoCellGeometry.h:57
MioctTopoCellGeometry::m_phi
float m_phi
Definition: MioctTopoCellGeometry.h:49
MioctTopoCellGeometry::m_phimin
float m_phimin
Definition: MioctTopoCellGeometry.h:56
MioctTopoCellGeometry::m_etamax
float m_etamax
Definition: MioctTopoCellGeometry.h:55