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
CaloTSamples< Ttype, Tsize > Class Template Reference

#include <CaloTSamples.h>

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

Public Types

enum  { kCapacity = Tsize }
 

Public Member Functions

 CaloTSamples ()
 
 CaloTSamples (const CaloTSamples< Ttype, Tsize > &cs)
 
 CaloTSamples (const DetId &id, uint32_t size=0, uint32_t pre=0)
 
virtual uint32_t capacity () const
 
CaloTSamples< Ttype, Tsize > & operator= (const CaloTSamples< Ttype, Tsize > &cs)
 
virtual ~CaloTSamples ()
 
- Public Member Functions inherited from CaloTSamplesBase< Ttype >
 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)
 
DetId id () const
 
CaloTSamplesBase< Ttype > & operator*= (Ttype value)
 
CaloTSamplesBase< Ttype > & operator+= (Ttype value)
 
CaloTSamplesBase< Ttype > & operator+= (const CaloTSamplesBase< Ttype > &cs)
 
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
 
virtual Ttype * data (uint32_t i)
 

Private Attributes

Ttype m_data [Tsize]
 

Detailed Description

template<class Ttype, uint32_t Tsize>
class CaloTSamples< Ttype, Tsize >

Class which represents the charge/voltage measurements of an event/channel with the ADC decoding performed.

Definition at line 14 of file CaloTSamples.h.

Member Enumeration Documentation

template<class Ttype, uint32_t Tsize>
anonymous enum
Enumerator
kCapacity 

Definition at line 18 of file CaloTSamples.h.

18 { kCapacity = Tsize } ;

Constructor & Destructor Documentation

template<class Ttype, uint32_t Tsize>
CaloTSamples< Ttype, Tsize >::CaloTSamples ( )
template<class Ttype, uint32_t Tsize>
CaloTSamples< Ttype, Tsize >::CaloTSamples ( const CaloTSamples< Ttype, Tsize > &  cs)
template<class Ttype, uint32_t Tsize>
CaloTSamples< Ttype, Tsize >::CaloTSamples ( const DetId id,
uint32_t  size = 0,
uint32_t  pre = 0 
)
template<class Ttype, uint32_t Tsize>
virtual CaloTSamples< Ttype, Tsize >::~CaloTSamples ( )
virtual

Member Function Documentation

template<class Ttype, uint32_t Tsize>
virtual uint32_t CaloTSamples< Ttype, Tsize >::capacity ( ) const
virtual
template<class Ttype, uint32_t Tsize>
virtual const Ttype* CaloTSamples< Ttype, Tsize >::cdata ( uint32_t  i) const
privatevirtual
template<class Ttype, uint32_t Tsize>
virtual Ttype* CaloTSamples< Ttype, Tsize >::data ( uint32_t  i)
privatevirtual
template<class Ttype, uint32_t Tsize>
CaloTSamples<Ttype,Tsize>& CaloTSamples< Ttype, Tsize >::operator= ( const CaloTSamples< Ttype, Tsize > &  cs)

Member Data Documentation

template<class Ttype, uint32_t Tsize>
Ttype CaloTSamples< Ttype, Tsize >::m_data[Tsize]
private

Definition at line 36 of file CaloTSamples.h.