CMS 3D CMS Logo

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

#include <EcalDigiCollections.h>

Inheritance diagram for EcalDigiCollection:
edm::DataFrameContainer EBDigiCollection EEDigiCollection ESDigiCollection

Public Types

typedef edm::DataFrameContainer::size_type size_type
 
- Public Types inherited from edm::DataFrameContainer
typedef std::vector< data_type >::const_iterator const_DataIter
 
typedef std::vector< id_type >::const_iterator const_IdIter
 
typedef boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
 
typedef std::pair< const_IdIter, const_DataIterconst_IterPair
 
typedef unsigned short data_type
 
typedef std::vector< data_typeDataContainer
 
typedef std::vector< data_type >::iterator DataIter
 
typedef unsigned int id_type
 
typedef std::vector< id_typeIdContainer
 
typedef std::vector< id_type >::iterator IdIter
 
typedef std::pair< IdIter, DataIterIterPair
 
typedef unsigned int size_type
 

Public Member Functions

 EcalDigiCollection (size_type istride=MAXSAMPLES, int isubdet=0)
 
void swap (DataFrameContainer &other)
 
- Public Member Functions inherited from edm::DataFrameContainer
DataFrame back ()
 
const_iterator begin () const
 The iterator returned can not safely be used across threads. More...
 
DataContainer const & data () const
 
 DataFrameContainer ()
 
 DataFrameContainer (size_t istride, int isubdet=0, size_t isize=0)
 
bool empty () const
 
const_iterator end () const
 
const_iterator find (id_type i) const
 
data_type const * frame (size_t cell) const
 
id_type id (size_t cell) const
 
IdContainer const & ids () const
 
data_type operator() (size_t cell, size_t frame) const
 
DataFrameContaineroperator= (DataFrameContainer const &rhs)
 
DataFrame operator[] (size_t i)
 
DataFrame operator[] (size_t i) const
 
IterPair pair (size_t i)
 
const_IterPair pair (size_t i) const
 
void pop_back ()
 
void push_back (id_type iid, data_type const *idata)
 
void push_back (id_type iid)
 
void reserve (size_t isize)
 
void resize (size_t isize)
 
void set_back (id_type iid, data_type const *idata)
 
void set_back (id_type iid)
 
void set_back (data_type const *idata)
 
size_type size () const
 
void sort ()
 
size_type stride () const
 
int subdetId () const
 
void swap (DataFrameContainer &rh)
 
void swap (IdContainer &iic, DataContainer &idc)
 

Static Public Attributes

static const size_type MAXSAMPLES = 10
 

Detailed Description

Definition at line 46 of file EcalDigiCollections.h.

Member Typedef Documentation

◆ size_type

Definition at line 48 of file EcalDigiCollections.h.

Constructor & Destructor Documentation

◆ EcalDigiCollection()

EcalDigiCollection::EcalDigiCollection ( size_type  istride = MAXSAMPLES,
int  isubdet = 0 
)
inlineexplicit

Definition at line 50 of file EcalDigiCollections.h.

Member Function Documentation

◆ swap()

void EcalDigiCollection::swap ( DataFrameContainer other)
inline

Definition at line 52 of file EcalDigiCollections.h.

References swap().

Referenced by EBDigiCollection::swap(), EEDigiCollection::swap(), ESDigiCollection::swap(), and swap().

void swap(EcalDigiCollection &lhs, EcalDigiCollection &rhs)

Member Data Documentation

◆ MAXSAMPLES

const size_type EcalDigiCollection::MAXSAMPLES = 10
static

Definition at line 49 of file EcalDigiCollections.h.