CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTSamples.h
Go to the documentation of this file.
1 #ifndef CALOTSAMPLES_H
2 #define CALOTSAMPLES_H 1
3 
5 
13 template <class Ttype, uint32_t Tsize>
14 class CaloTSamples : public CaloTSamplesBase<Ttype>
15 {
16  public:
17 
18  enum { kCapacity = Tsize } ;
19 
23  uint32_t size = 0 ,
24  uint32_t pre = 0 ) ;
25  virtual ~CaloTSamples<Ttype,Tsize>() ;
26 
28 
29  virtual uint32_t capacity() const ;
30 
31  private:
32 
33  virtual Ttype* data( uint32_t i ) ;
34  virtual const Ttype* cdata( uint32_t i ) const ;
35 
36  Ttype m_data[ Tsize ] ;
37 } ;
38 
39 #endif
int i
Definition: DBlmapReader.cc:9
auto_ptr< ClusterSequence > cs
virtual Ttype * data(uint32_t i)
uint32_t pre() const
DetId id() const
virtual const Ttype * cdata(uint32_t i) const
Ttype m_data[Tsize]
Definition: CaloTSamples.h:36
Definition: DetId.h:18
CaloTSamples< Ttype, Tsize > & operator=(const CaloTSamples< Ttype, Tsize > &cs)
virtual uint32_t capacity() const
uint32_t size() const