ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
RingSet Class Reference

#include <CaloRings.h>

Collaboration diagram for RingSet:

Public Types

typedef std::vector< float >::const_iterator const_iterator
 

Public Member Functions

 RingSet ()
 
virtual ~RingSet ()
 
float & at (unsigned int i)
 RingSet ///. More...
 
float & operator[] (unsigned int i)
 
const float & at (unsigned int i) const
 
const float & operator[] (unsigned int i) const
 
size_t size () const
 
void clearRings ()
 
void addRing (float r)
 
size_t numberOfLayers () const
 
CaloCell_ID::CaloSamplelayer (unsigned int i)
 
const CaloCell_ID::CaloSamplelayer (unsigned int i) const
 
void clearLayers ()
 
void addLayer (CaloCell_ID::CaloSample c)
 
const_iterator begin () const
 
const_iterator end () const
 
float & deltaEta ()
 
float & deltaPhi ()
 
const float & deltaEta () const
 
const float & deltaPhi () const
 

Public Attributes

std::vector< float > m_rings
 
std::vector< CaloCell_ID::CaloSamplem_layers
 
float m_deltaEta
 
float m_deltaPhi
 

Detailed Description

Definition at line 14 of file Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h.

Member Typedef Documentation

◆ const_iterator

typedef std::vector<float>::const_iterator RingSet::const_iterator

Constructor & Destructor Documentation

◆ RingSet()

RingSet::RingSet ( )
inline

Definition at line 27 of file Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h.

28  : m_deltaEta(0),
29  m_deltaPhi(0)
30  { };

◆ ~RingSet()

virtual RingSet::~RingSet ( )
inlinevirtual

Definition at line 31 of file Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h.

31 { };

Member Function Documentation

◆ addLayer()

void RingSet::addLayer ( CaloCell_ID::CaloSample  c)

Definition at line 71 of file CaloRings.cxx.

72 {
73  m_layers.push_back(c);
74 }

◆ addRing()

void RingSet::addRing ( float  r)

Definition at line 44 of file CaloRings.cxx.

45 {
46  m_rings.push_back(r);
47 }

◆ at() [1/2]

float & RingSet::at ( unsigned int  i)

RingSet ///.

Definition at line 11 of file CaloRings.cxx.

12 {
13  return m_rings.at(i);
14 }

◆ at() [2/2]

const float & RingSet::at ( unsigned int  i) const

Definition at line 22 of file CaloRings.cxx.

23 {
24  return m_rings.at(i);
25 }

◆ begin()

RingSet::const_iterator RingSet::begin ( ) const

Definition at line 97 of file CaloRings.cxx.

98 {
99  return m_rings.begin();
100 }

◆ clearLayers()

void RingSet::clearLayers ( )

Definition at line 65 of file CaloRings.cxx.

66 {
67  m_layers.clear();
68 }

◆ clearRings()

void RingSet::clearRings ( )

Definition at line 39 of file CaloRings.cxx.

40 {
41  m_rings.clear();
42 }

◆ deltaEta() [1/2]

float & RingSet::deltaEta ( )

Definition at line 76 of file CaloRings.cxx.

77 {
78  return m_deltaEta;
79 }

◆ deltaEta() [2/2]

const float & RingSet::deltaEta ( ) const

Definition at line 86 of file CaloRings.cxx.

87 {
88  return m_deltaEta;
89 }

◆ deltaPhi() [1/2]

float & RingSet::deltaPhi ( )

Definition at line 81 of file CaloRings.cxx.

82 {
83  return m_deltaPhi;
84 }

◆ deltaPhi() [2/2]

const float & RingSet::deltaPhi ( ) const

Definition at line 91 of file CaloRings.cxx.

92 {
93  return m_deltaPhi;
94 }

◆ end()

RingSet::const_iterator RingSet::end ( ) const

Definition at line 103 of file CaloRings.cxx.

104 {
105  return m_rings.end();
106 }

◆ layer() [1/2]

CaloCell_ID::CaloSample & RingSet::layer ( unsigned int  i)

Definition at line 55 of file CaloRings.cxx.

56 {
57  return m_layers[i];
58 }

◆ layer() [2/2]

const CaloCell_ID::CaloSample & RingSet::layer ( unsigned int  i) const

Definition at line 60 of file CaloRings.cxx.

61 {
62  return m_layers[i];
63 }

◆ numberOfLayers()

size_t RingSet::numberOfLayers ( ) const

Definition at line 50 of file CaloRings.cxx.

51 {
52  return m_layers.size();
53 }

◆ operator[]() [1/2]

float & RingSet::operator[] ( unsigned int  i)

Definition at line 17 of file CaloRings.cxx.

18 {
19  return m_rings[i];
20 }

◆ operator[]() [2/2]

const float & RingSet::operator[] ( unsigned int  i) const

Definition at line 28 of file CaloRings.cxx.

29 {
30  return m_rings[i];
31 }

◆ size()

size_t RingSet::size ( ) const

Definition at line 33 of file CaloRings.cxx.

34 {
35  return m_rings.size();
36 }

Member Data Documentation

◆ m_deltaEta

float RingSet::m_deltaEta

◆ m_deltaPhi

float RingSet::m_deltaPhi

◆ m_layers

std::vector<CaloCell_ID::CaloSample> RingSet::m_layers

◆ m_rings

std::vector<float> RingSet::m_rings

The documentation for this class was generated from the following files:
beamspotman.r
def r
Definition: beamspotman.py:676
RingSet::m_rings
std::vector< float > m_rings
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h:17
lumiFormat.i
int i
Definition: lumiFormat.py:85
RingSet::m_layers
std::vector< CaloCell_ID::CaloSample > m_layers
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h:19
RingSet::m_deltaPhi
float m_deltaPhi
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h:24
RingSet::m_deltaEta
float m_deltaEta
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/CaloRings.h:23
python.compressB64.c
def c
Definition: compressB64.py:93