CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
EBDigiCollectionPh2 Class Reference

#include <EcalDigiCollections.h>

Inheritance diagram for EBDigiCollectionPh2:
EcalDigiCollectionPh2 edm::DataFrameContainer

Public Types

typedef Digi::key_type DetId
 
typedef EcalDataFrame_Ph2 Digi
 
typedef edm::DataFrameContainer::size_type size_type
 
- Public Types inherited from EcalDigiCollectionPh2
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

 EBDigiCollectionPh2 (size_type istride=MAXSAMPLES)
 
void push_back (const Digi &digi)
 
void push_back (id_type iid)
 
void push_back (id_type iid, data_type const *idata)
 
void swap (EBDigiCollectionPh2 &other)
 
- Public Member Functions inherited from EcalDigiCollectionPh2
 EcalDigiCollectionPh2 (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
 
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)
 

Additional Inherited Members

- Static Public Attributes inherited from EcalDigiCollectionPh2
static const size_type MAXSAMPLES = ecalPh2::sampleSize
 

Detailed Description

Definition at line 33 of file EcalDigiCollections.h.

Member Typedef Documentation

◆ DetId

Definition at line 37 of file EcalDigiCollections.h.

◆ Digi

Definition at line 36 of file EcalDigiCollections.h.

◆ size_type

Definition at line 35 of file EcalDigiCollections.h.

Constructor & Destructor Documentation

◆ EBDigiCollectionPh2()

EBDigiCollectionPh2::EBDigiCollectionPh2 ( size_type  istride = MAXSAMPLES)
inline

Definition at line 39 of file EcalDigiCollections.h.

39 : EcalDigiCollectionPh2(istride, EcalBarrel) {}
EcalDigiCollectionPh2(size_type istride=MAXSAMPLES, int isubdet=0)

Member Function Documentation

◆ push_back() [1/3]

void EBDigiCollectionPh2::push_back ( const Digi digi)
inline

Definition at line 41 of file EcalDigiCollections.h.

References edm::DataFrame::begin(), EcalDataFrame_Ph2::frame(), EcalDataFrame_Ph2::id(), and push_back().

41 { DataFrameContainer::push_back(digi.id(), digi.frame().begin()); }
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})

◆ push_back() [2/3]

void EBDigiCollectionPh2::push_back ( id_type  iid)
inline

Definition at line 42 of file EcalDigiCollections.h.

References push_back().

deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})

◆ push_back() [3/3]

void EBDigiCollectionPh2::push_back ( id_type  iid,
data_type const *  idata 
)
inline

Definition at line 43 of file EcalDigiCollections.h.

References push_back().

43 { DataFrameContainer::push_back(iid, idata); }
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})

◆ swap()

void EBDigiCollectionPh2::swap ( EBDigiCollectionPh2 other)
inline

Definition at line 40 of file EcalDigiCollections.h.

References EcalDigiCollectionPh2::swap().

Referenced by swap().

40 { this->EcalDigiCollectionPh2::swap(other); }
void swap(DataFrameContainer &other)