CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Attributes
EcalDataFrame_Ph2 Class Reference

#include <EcalDataFrame_Ph2.h>

Public Types

typedef EcalDataFrame_Ph2 Base
 For the sorted collection. More...
 
typedef EBDetId key_type
 

Public Member Functions

 EcalDataFrame_Ph2 ()
 
 EcalDataFrame_Ph2 (edm::DataFrame const &iframe)
 
edm::DataFrame const & frame () const
 
edm::DataFrameframe ()
 
DetId id () const
 
EcalLiteDTUSample operator[] (int i) const
 
EcalLiteDTUSample sample (int i) const
 
void setSample (int i, EcalLiteDTUSample sam)
 
void setSize (int)
 
int size () const
 
virtual ~EcalDataFrame_Ph2 ()
 

Static Public Attributes

static constexpr int MAXSAMPLES = ecalPh2::sampleSize
 

Private Attributes

edm::DataFrame m_data
 

Detailed Description

Definition at line 12 of file EcalDataFrame_Ph2.h.

Member Typedef Documentation

◆ Base

For the sorted collection.

Definition at line 26 of file EcalDataFrame_Ph2.h.

◆ key_type

Definition at line 25 of file EcalDataFrame_Ph2.h.

Constructor & Destructor Documentation

◆ EcalDataFrame_Ph2() [1/2]

EcalDataFrame_Ph2::EcalDataFrame_Ph2 ( )
inline

Definition at line 14 of file EcalDataFrame_Ph2.h.

14 {}

◆ EcalDataFrame_Ph2() [2/2]

EcalDataFrame_Ph2::EcalDataFrame_Ph2 ( edm::DataFrame const &  iframe)
inline

Definition at line 15 of file EcalDataFrame_Ph2.h.

15 : m_data(iframe) {}
edm::DataFrame m_data

◆ ~EcalDataFrame_Ph2()

virtual EcalDataFrame_Ph2::~EcalDataFrame_Ph2 ( )
inlinevirtual

Definition at line 17 of file EcalDataFrame_Ph2.h.

17 {}

Member Function Documentation

◆ frame() [1/2]

edm::DataFrame const& EcalDataFrame_Ph2::frame ( ) const
inline

Definition at line 33 of file EcalDataFrame_Ph2.h.

References m_data.

Referenced by EBDigiCollectionPh2::push_back().

33 { return m_data; }
edm::DataFrame m_data

◆ frame() [2/2]

edm::DataFrame& EcalDataFrame_Ph2::frame ( )
inline

Definition at line 34 of file EcalDataFrame_Ph2.h.

References m_data.

34 { return m_data; }
edm::DataFrame m_data

◆ id()

DetId EcalDataFrame_Ph2::id ( ) const
inline

Definition at line 18 of file EcalDataFrame_Ph2.h.

References edm::DataFrame::id(), and m_data.

Referenced by EBDigiCollectionPh2::push_back().

18 { return m_data.id(); }
constexpr id_type id() const
Definition: DataFrame.h:41
edm::DataFrame m_data

◆ operator[]()

EcalLiteDTUSample EcalDataFrame_Ph2::operator[] ( int  i) const
inline

Definition at line 22 of file EcalDataFrame_Ph2.h.

References mps_fire::i, and m_data.

22 { return m_data[i]; }
edm::DataFrame m_data

◆ sample()

EcalLiteDTUSample EcalDataFrame_Ph2::sample ( int  i) const
inline

Definition at line 23 of file EcalDataFrame_Ph2.h.

References mps_fire::i, and m_data.

23 { return m_data[i]; }
edm::DataFrame m_data

◆ setSample()

void EcalDataFrame_Ph2::setSample ( int  i,
EcalLiteDTUSample  sam 
)
inline

Definition at line 29 of file EcalDataFrame_Ph2.h.

References mps_fire::i, and m_data.

29 { m_data[i] = sam; }
edm::DataFrame m_data

◆ setSize()

void EcalDataFrame_Ph2::setSize ( int  )
inline

Definition at line 28 of file EcalDataFrame_Ph2.h.

28 {}

◆ size()

int EcalDataFrame_Ph2::size ( void  ) const
inline

Definition at line 20 of file EcalDataFrame_Ph2.h.

References m_data, and edm::DataFrame::size().

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

20 { return m_data.size(); }
constexpr size_type size() const
Definition: DataFrame.h:43
edm::DataFrame m_data

Member Data Documentation

◆ m_data

edm::DataFrame EcalDataFrame_Ph2::m_data
private

Definition at line 37 of file EcalDataFrame_Ph2.h.

Referenced by frame(), id(), operator[](), sample(), setSample(), and size().

◆ MAXSAMPLES

constexpr int EcalDataFrame_Ph2::MAXSAMPLES = ecalPh2::sampleSize
static

Definition at line 31 of file EcalDataFrame_Ph2.h.