ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
CaloRec::CaloCellFactor Class Reference

Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration. More...

#include <CaloCellFactor.h>

Collaboration diagram for CaloRec::CaloCellFactor:

Public Types

typedef std::vector< float > contType
 
typedef contType::size_type size_type
 

Public Member Functions

 CaloCellFactor ()
 
 CaloCellFactor (const size_type &size)
 
float & operator[] (const size_type &hashID)
 
const float & operator[] (const size_type &hashID) const
 
void resize (const size_type &size)
 
size_type size () const
 

Private Attributes

contType m_cellFactor
 

Detailed Description

Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration.

Definition at line 29 of file CaloCellFactor.h.

Member Typedef Documentation

◆ contType

typedef std::vector<float> CaloRec::CaloCellFactor::contType

Definition at line 32 of file CaloCellFactor.h.

◆ size_type

typedef contType::size_type CaloRec::CaloCellFactor::size_type

Definition at line 33 of file CaloCellFactor.h.

Constructor & Destructor Documentation

◆ CaloCellFactor() [1/2]

CaloRec::CaloCellFactor::CaloCellFactor ( )
inline

Definition at line 36 of file CaloCellFactor.h.

36 {};

◆ CaloCellFactor() [2/2]

CaloRec::CaloCellFactor::CaloCellFactor ( const size_type size)

Definition at line 9 of file CaloCellFactor.cxx.

9  : m_cellFactor(size,1.0)
10 {}

Member Function Documentation

◆ operator[]() [1/2]

float& CaloRec::CaloCellFactor::operator[] ( const size_type hashID)
inline

Definition at line 43 of file CaloCellFactor.h.

44  {return m_cellFactor[hashID];}

◆ operator[]() [2/2]

const float& CaloRec::CaloCellFactor::operator[] ( const size_type hashID) const
inline

Definition at line 48 of file CaloCellFactor.h.

49  {return m_cellFactor[hashID];}

◆ resize()

void CaloRec::CaloCellFactor::resize ( const size_type size)

Definition at line 12 of file CaloCellFactor.cxx.

12  {
13  m_cellFactor.resize(size,1.0);
14 }

◆ size()

size_type CaloRec::CaloCellFactor::size ( ) const
inline

Definition at line 54 of file CaloCellFactor.h.

55  {return m_cellFactor.size();}

Member Data Documentation

◆ m_cellFactor

contType CaloRec::CaloCellFactor::m_cellFactor
private

Definition at line 58 of file CaloCellFactor.h.


The documentation for this class was generated from the following files:
CaloRec::CaloCellFactor::size
size_type size() const
Definition: CaloCellFactor.h:54
CaloRec::CaloCellFactor::m_cellFactor
contType m_cellFactor
Definition: CaloCellFactor.h:58