CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

CaloTSamplesBase< Ttype > Class Template Reference

#include <CaloTSamplesBase.h>

Inheritance diagram for CaloTSamplesBase< Ttype >:
CaloTSamples< Ttype, Tsize >

List of all members.

Public Member Functions

 CaloTSamplesBase (Ttype *mydata, uint32_t size)
 CaloTSamplesBase (const CaloTSamplesBase< Ttype > &cs)
 CaloTSamplesBase (Ttype *mydata, uint32_t length, const DetId &id, uint32_t size, uint32_t pre)
virtual uint32_t capacity () const =0
DetId id () const
CaloTSamplesBase< Ttype > & operator*= (Ttype value)
CaloTSamplesBase< Ttype > & operator+= (const CaloTSamplesBase< Ttype > &cs)
CaloTSamplesBase< Ttype > & operator+= (Ttype value)
CaloTSamplesBase< Ttype > & operator= (const CaloTSamplesBase< Ttype > &cs)
Ttype & operator[] (uint32_t i)
const Ttype & operator[] (uint32_t i) const
uint32_t pre () const
void setZero ()
uint32_t size () const
bool zero () const
virtual ~CaloTSamplesBase ()

Private Member Functions

virtual const Ttype * cdata (uint32_t i) const =0
virtual Ttype * data (uint32_t i)=0

Private Attributes

DetId m_id
uint32_t m_pre
uint32_t m_size

Detailed Description

template<class Ttype>
class CaloTSamplesBase< Ttype >

Definition at line 9 of file CaloTSamplesBase.h.


Constructor & Destructor Documentation

template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( Ttype *  mydata,
uint32_t  size 
)
template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( const CaloTSamplesBase< Ttype > &  cs)
template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( Ttype *  mydata,
uint32_t  length,
const DetId id,
uint32_t  size,
uint32_t  pre 
)
template<class Ttype>
virtual CaloTSamplesBase< Ttype >::~CaloTSamplesBase ( ) [virtual]

Member Function Documentation

template<class Ttype>
virtual uint32_t CaloTSamplesBase< Ttype >::capacity ( ) const [pure virtual]
template<class Ttype>
virtual const Ttype* CaloTSamplesBase< Ttype >::cdata ( uint32_t  i) const [private, pure virtual]
template<class Ttype>
virtual Ttype* CaloTSamplesBase< Ttype >::data ( uint32_t  i) [private, pure virtual]
template<class Ttype>
DetId CaloTSamplesBase< Ttype >::id ( ) const
template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator*= ( Ttype  value)
template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator+= ( const CaloTSamplesBase< Ttype > &  cs)
template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator+= ( Ttype  value)
template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator= ( const CaloTSamplesBase< Ttype > &  cs)
template<class Ttype>
const Ttype& CaloTSamplesBase< Ttype >::operator[] ( uint32_t  i) const
template<class Ttype>
Ttype& CaloTSamplesBase< Ttype >::operator[] ( uint32_t  i)
template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::pre ( ) const
template<class Ttype>
void CaloTSamplesBase< Ttype >::setZero ( )
template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::size ( ) const
template<class Ttype>
bool CaloTSamplesBase< Ttype >::zero ( ) const

Member Data Documentation

template<class Ttype>
DetId CaloTSamplesBase< Ttype >::m_id [private]

Definition at line 52 of file CaloTSamplesBase.h.

template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::m_pre [private]

Definition at line 54 of file CaloTSamplesBase.h.

template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::m_size [private]

Definition at line 53 of file CaloTSamplesBase.h.