CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
edm::DataFrame Class Reference

#include <DataFrame.h>

Inheritance diagram for edm::DataFrame:
QIE10DataFrame QIE11DataFrame

Public Types

typedef data_type const * const_iterator
 
typedef unsigned short data_type
 
typedef unsigned int id_type
 
typedef data_typeiterator
 
typedef unsigned int size_type
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
 DataFrame ()
 
 DataFrame (id_type i, data_type const *idata, size_type isize)
 
 DataFrame (DataFrameContainer const &icont, size_type i)
 
iterator end ()
 
const_iterator end () const
 
id_type id () const
 
data_typeoperator[] (size_type i)
 
data_type operator[] (size_type i) const
 
void set (DataFrameContainer const &icont, size_type i)
 
size_type size () const
 

Private Member Functions

data_typedata ()
 

Private Attributes

data_type const * m_data
 
id_type m_id
 
size_type m_size
 

Detailed Description

Definition at line 14 of file DataFrame.h.

Member Typedef Documentation

Definition at line 21 of file DataFrame.h.

typedef unsigned short edm::DataFrame::data_type

Definition at line 19 of file DataFrame.h.

typedef unsigned int edm::DataFrame::id_type

Definition at line 18 of file DataFrame.h.

Definition at line 20 of file DataFrame.h.

typedef unsigned int edm::DataFrame::size_type

Definition at line 17 of file DataFrame.h.

Constructor & Destructor Documentation

edm::DataFrame::DataFrame ( )
inline

Definition at line 25 of file DataFrame.h.

25 : m_id(0), m_data(0), m_size(0){}
data_type const * m_data
Definition: DataFrame.h:71
id_type m_id
Definition: DataFrame.h:70
size_type m_size
Definition: DataFrame.h:72
edm::DataFrame::DataFrame ( id_type  i,
data_type const *  idata,
size_type  isize 
)
inline

Definition at line 27 of file DataFrame.h.

27  :
28  m_id(i), m_data(idata), m_size(isize) {}
int i
Definition: DBlmapReader.cc:9
data_type const * m_data
Definition: DataFrame.h:71
id_type m_id
Definition: DataFrame.h:70
size_type m_size
Definition: DataFrame.h:72
edm::DataFrame::DataFrame ( DataFrameContainer const &  icont,
size_type  i 
)
inline

Definition at line 198 of file DataFrameContainer.h.

199  :
200  m_id(icont.id(i)), m_data(icont.frame(i)), m_size(icont.stride()){}
int i
Definition: DBlmapReader.cc:9
data_type const * m_data
Definition: DataFrame.h:71
id_type m_id
Definition: DataFrame.h:70
size_type m_size
Definition: DataFrame.h:72

Member Function Documentation

iterator edm::DataFrame::begin ( void  )
inline

Definition at line 47 of file DataFrame.h.

References data().

Referenced by edm::DataMixingEMDigiWorker::putEM(), EcalTBReadout::readOut(), and edm::TransientDataFrame< SIZE >::TransientDataFrame().

47 { return data();}
data_type * data()
Definition: DataFrame.h:66
const_iterator edm::DataFrame::begin ( void  ) const
inline

Definition at line 53 of file DataFrame.h.

References m_data.

53 { return m_data;}
data_type const * m_data
Definition: DataFrame.h:71
data_type* edm::DataFrame::data ( )
inlineprivate

Definition at line 66 of file DataFrame.h.

References m_data.

Referenced by cuy.FindIssue::__init__(), begin(), end(), and operator[]().

66  {
67  return const_cast<data_type *>(m_data);
68  }
data_type const * m_data
Definition: DataFrame.h:71
unsigned short data_type
Definition: DataFrame.h:19
iterator edm::DataFrame::end ( void  )
inline

Definition at line 50 of file DataFrame.h.

References data(), and m_size.

Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and EcalTBReadout::readOut().

50 { return data()+m_size;}
size_type m_size
Definition: DataFrame.h:72
data_type * data()
Definition: DataFrame.h:66
const_iterator edm::DataFrame::end ( void  ) const
inline

Definition at line 56 of file DataFrame.h.

References m_data, and m_size.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

56 { return m_data+m_size;}
data_type const * m_data
Definition: DataFrame.h:71
size_type m_size
Definition: DataFrame.h:72
id_type edm::DataFrame::id ( ) const
inline

Definition at line 60 of file DataFrame.h.

References m_id.

Referenced by EcalDataFrame::id().

60 { return m_id;}
id_type m_id
Definition: DataFrame.h:70
data_type& edm::DataFrame::operator[] ( size_type  i)
inline
data_type edm::DataFrame::operator[] ( size_type  i) const
inline

Definition at line 42 of file DataFrame.h.

References i, and m_data.

42  {
43  return m_data[i];
44  }
int i
Definition: DBlmapReader.cc:9
data_type const * m_data
Definition: DataFrame.h:71
void edm::DataFrame::set ( DataFrameContainer const &  icont,
size_type  i 
)
inline

Definition at line 203 of file DataFrameContainer.h.

References edm::DataFrameContainer::frame(), edm::DataFrameContainer::id(), m_data, m_id, m_size, and edm::DataFrameContainer::stride().

Referenced by betterConfigParser.BetterConfigParser::getGeneral(), and edm::DataFrameContainer::IterHelp::operator()().

204  {
205  m_id=icont.id(i);
206  m_data=icont.frame(i);
207  m_size=icont.stride();
208  }
int i
Definition: DBlmapReader.cc:9
data_type const * m_data
Definition: DataFrame.h:71
id_type m_id
Definition: DataFrame.h:70
size_type m_size
Definition: DataFrame.h:72
size_type edm::DataFrame::size ( void  ) const
inline

Member Data Documentation

data_type const* edm::DataFrame::m_data
private

Definition at line 71 of file DataFrame.h.

Referenced by begin(), data(), end(), operator[](), and set().

id_type edm::DataFrame::m_id
private

Definition at line 70 of file DataFrame.h.

Referenced by id(), and set().

size_type edm::DataFrame::m_size
private

Definition at line 72 of file DataFrame.h.

Referenced by end(), set(), and size().