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

#include <MioctROIGeometry.h>

Collaboration diagram for MioctROIGeometry:

Public Member Functions

 MioctROIGeometry ()
 
virtual ~MioctROIGeometry ()=default
 
float eta () const
 
float phi () const
 
unsigned int etacode () const
 
unsigned int phicode () const
 
float etamin () const
 
float etamax () const
 
float phimin () const
 
float phimax () const
 
unsigned int roiid () const
 
void setEta (float v)
 
void setPhi (float 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)
 
void setRoiid (unsigned int 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
 
float m_phi
 
unsigned int m_etacode
 
unsigned int m_phicode
 
float m_etamin
 
float m_etamax
 
float m_phimin
 
float m_phimax
 
unsigned int m_roiid
 

Detailed Description

Definition at line 22 of file MioctROIGeometry.h.

Constructor & Destructor Documentation

◆ MioctROIGeometry()

MioctROIGeometry::MioctROIGeometry ( )

Definition at line 20 of file MioctROIGeometry.cxx.

20  :
21  m_eta(0),
22  m_phi(0),
23  m_etacode(0),
24  m_phicode(0),
25  m_etamin(0),
26  m_etamax(0),
27  m_phimin(0),
28  m_phimax(0),
29  m_roiid(0)
30 {}

◆ ~MioctROIGeometry()

virtual MioctROIGeometry::~MioctROIGeometry ( )
virtualdefault

Member Function Documentation

◆ eta()

float MioctROIGeometry::eta ( ) const
inline

Definition at line 28 of file MioctROIGeometry.h.

28 { return m_eta; };

◆ etacode()

unsigned int MioctROIGeometry::etacode ( ) const
inline

Definition at line 30 of file MioctROIGeometry.h.

30 { return m_etacode; };

◆ etamax()

float MioctROIGeometry::etamax ( ) const
inline

Definition at line 33 of file MioctROIGeometry.h.

33 { return m_etamax; };

◆ etamin()

float MioctROIGeometry::etamin ( ) const
inline

Definition at line 32 of file MioctROIGeometry.h.

32 { return m_etamin; };

◆ phi()

float MioctROIGeometry::phi ( ) const
inline

Definition at line 29 of file MioctROIGeometry.h.

29 { return m_phi; };

◆ phicode()

unsigned int MioctROIGeometry::phicode ( ) const
inline

Definition at line 31 of file MioctROIGeometry.h.

31 { return m_phicode; };

◆ phimax()

float MioctROIGeometry::phimax ( ) const
inline

Definition at line 35 of file MioctROIGeometry.h.

35 { return m_phimax; };

◆ phimin()

float MioctROIGeometry::phimin ( ) const
inline

Definition at line 34 of file MioctROIGeometry.h.

34 { return m_phimin; };

◆ print()

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

Definition at line 33 of file MioctROIGeometry.cxx.

33  {
34  cout << indent << "MioctROIGeometry: " << endl;
35  //cout << indent << "\tlvl1 master table id: " << lvl1MasterTableId() << endl;
36  //printNameIdV(indent);
37  cout << indent << "\teta " << m_eta ;
38  cout << indent << "\tphi " << m_phi ;
39  cout << indent << "\tetacode " << m_etacode ;
40  cout << indent << "\tphicode " << m_phicode ;
41  cout << indent << "\tetamin " << m_etamin ;
42  cout << indent << "\tetamax " << m_etamax ;
43  cout << indent << "\tphimin " << m_phimin ;
44  cout << indent << "\tphimax " << m_phimax ;
45  cout << indent << "\troiid " << m_roiid << endl;
46 }

◆ roiid()

unsigned int MioctROIGeometry::roiid ( ) const
inline

Definition at line 36 of file MioctROIGeometry.h.

36 { return m_roiid; };

◆ setEta()

void MioctROIGeometry::setEta ( float  v)
inline

Definition at line 39 of file MioctROIGeometry.h.

39 { m_eta = v; };

◆ setEtacode()

void MioctROIGeometry::setEtacode ( unsigned int  v)
inline

Definition at line 41 of file MioctROIGeometry.h.

41 { m_etacode = v; };

◆ setEtamax()

void MioctROIGeometry::setEtamax ( float  v)
inline

Definition at line 44 of file MioctROIGeometry.h.

44 { m_etamax = v; };

◆ setEtamin()

void MioctROIGeometry::setEtamin ( float  v)
inline

Definition at line 43 of file MioctROIGeometry.h.

43 { m_etamin = v; };

◆ setPhi()

void MioctROIGeometry::setPhi ( float  v)
inline

Definition at line 40 of file MioctROIGeometry.h.

40 { m_phi = v; };

◆ setPhicode()

void MioctROIGeometry::setPhicode ( unsigned int  v)
inline

Definition at line 42 of file MioctROIGeometry.h.

42 { m_phicode = v; };

◆ setPhimax()

void MioctROIGeometry::setPhimax ( float  v)
inline

Definition at line 46 of file MioctROIGeometry.h.

46 { m_phimax = v; };

◆ setPhimin()

void MioctROIGeometry::setPhimin ( float  v)
inline

Definition at line 45 of file MioctROIGeometry.h.

45 { m_phimin = v; };

◆ setRoiid()

void MioctROIGeometry::setRoiid ( unsigned int  v)
inline

Definition at line 47 of file MioctROIGeometry.h.

47 { m_roiid = v; };

◆ writeXML()

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

Definition at line 49 of file MioctROIGeometry.cxx.

49  {
50  mioctIndent(xmlfile, indentLevel, indentWidth) << "<ROI "
51  << fixed << setprecision(6)
52  << "eta=\"" << m_eta
53  << "\" phi=\"" << m_phi
54  << "\" etacode=\"0x" << std::hex << m_etacode
55  << "\" phicode=\"0x" << std::hex << m_phicode
56  << std::dec << fixed << setprecision(6)
57  << "\" etamin=\"" << std::dec << m_etamin
58  << "\" etamax=\"" << m_etamax
59  << "\" phimin=\"" << m_phimin
60  << "\" phimax=\"" << m_phimax
61  << "\" roiid=\"" << m_roiid
62  << "\"/>" << endl;
63 }

Member Data Documentation

◆ m_eta

float MioctROIGeometry::m_eta
private

Definition at line 53 of file MioctROIGeometry.h.

◆ m_etacode

unsigned int MioctROIGeometry::m_etacode
private

Definition at line 55 of file MioctROIGeometry.h.

◆ m_etamax

float MioctROIGeometry::m_etamax
private

Definition at line 58 of file MioctROIGeometry.h.

◆ m_etamin

float MioctROIGeometry::m_etamin
private

Definition at line 57 of file MioctROIGeometry.h.

◆ m_phi

float MioctROIGeometry::m_phi
private

Definition at line 54 of file MioctROIGeometry.h.

◆ m_phicode

unsigned int MioctROIGeometry::m_phicode
private

Definition at line 56 of file MioctROIGeometry.h.

◆ m_phimax

float MioctROIGeometry::m_phimax
private

Definition at line 60 of file MioctROIGeometry.h.

◆ m_phimin

float MioctROIGeometry::m_phimin
private

Definition at line 59 of file MioctROIGeometry.h.

◆ m_roiid

unsigned int MioctROIGeometry::m_roiid
private

Definition at line 61 of file MioctROIGeometry.h.


The documentation for this class was generated from the following files:
MioctROIGeometry::m_phimin
float m_phimin
Definition: MioctROIGeometry.h:59
MioctROIGeometry::m_etacode
unsigned int m_etacode
Definition: MioctROIGeometry.h:55
MioctROIGeometry::m_etamin
float m_etamin
Definition: MioctROIGeometry.h:57
MioctROIGeometry::m_phimax
float m_phimax
Definition: MioctROIGeometry.h:60
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:36
MioctROIGeometry::m_etamax
float m_etamax
Definition: MioctROIGeometry.h:58
mioctIndent
std::ostream & mioctIndent(std::ostream &o, int lvl, int size)
Definition: MioctROIGeometry.cxx:12
MioctROIGeometry::m_phi
float m_phi
Definition: MioctROIGeometry.h:54
python.PyAthena.v
v
Definition: PyAthena.py:154
MioctROIGeometry::m_roiid
unsigned int m_roiid
Definition: MioctROIGeometry.h:61
MioctROIGeometry::m_phicode
unsigned int m_phicode
Definition: MioctROIGeometry.h:56
MioctROIGeometry::m_eta
float m_eta
Definition: MioctROIGeometry.h:53