CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
CaloTSamplesBase< Ttype > Class Template Referenceabstract

#include <CaloTSamplesBase.h>

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

Public Member Functions

 CaloTSamplesBase (const CaloTSamplesBase< Ttype > &cs)
 
 CaloTSamplesBase (Ttype *mydata, uint32_t length, const DetId &id, uint32_t size, uint32_t pre)
 
 CaloTSamplesBase (Ttype *mydata, uint32_t size)
 
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

◆ CaloTSamplesBase() [1/3]

template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( Ttype *  mydata,
uint32_t  size 
)

◆ CaloTSamplesBase() [2/3]

template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( const CaloTSamplesBase< Ttype > &  cs)

◆ CaloTSamplesBase() [3/3]

template<class Ttype>
CaloTSamplesBase< Ttype >::CaloTSamplesBase ( Ttype *  mydata,
uint32_t  length,
const DetId id,
uint32_t  size,
uint32_t  pre 
)

◆ ~CaloTSamplesBase()

template<class Ttype>
virtual CaloTSamplesBase< Ttype >::~CaloTSamplesBase ( )
virtual

Member Function Documentation

◆ capacity()

template<class Ttype>
virtual uint32_t CaloTSamplesBase< Ttype >::capacity ( ) const
pure virtual

◆ cdata()

template<class Ttype>
virtual const Ttype* CaloTSamplesBase< Ttype >::cdata ( uint32_t  i) const
privatepure virtual

◆ data()

template<class Ttype>
virtual Ttype* CaloTSamplesBase< Ttype >::data ( uint32_t  i)
privatepure virtual

◆ id()

template<class Ttype>
DetId CaloTSamplesBase< Ttype >::id ( ) const

◆ operator*=()

template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator*= ( Ttype  value)

◆ operator+=() [1/2]

template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator+= ( const CaloTSamplesBase< Ttype > &  cs)

◆ operator+=() [2/2]

template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator+= ( Ttype  value)

◆ operator=()

template<class Ttype>
CaloTSamplesBase<Ttype>& CaloTSamplesBase< Ttype >::operator= ( const CaloTSamplesBase< Ttype > &  cs)

◆ operator[]() [1/2]

template<class Ttype>
Ttype& CaloTSamplesBase< Ttype >::operator[] ( uint32_t  i)

◆ operator[]() [2/2]

template<class Ttype>
const Ttype& CaloTSamplesBase< Ttype >::operator[] ( uint32_t  i) const

◆ pre()

template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::pre ( ) const

◆ setZero()

template<class Ttype>
void CaloTSamplesBase< Ttype >::setZero ( )

◆ size()

template<class Ttype>
uint32_t CaloTSamplesBase< Ttype >::size ( ) const

◆ zero()

template<class Ttype>
bool CaloTSamplesBase< Ttype >::zero ( ) const

Referenced by ESDigitizer::run().

Member Data Documentation

◆ m_id

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

Definition at line 44 of file CaloTSamplesBase.h.

◆ m_pre

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

Definition at line 46 of file CaloTSamplesBase.h.

◆ m_size

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

Definition at line 45 of file CaloTSamplesBase.h.