CMS 3D CMS Logo

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  ~CaloTSamples<Ttype,Tsize>() override ;
26 
28 
29  uint32_t capacity() const override ;
30 
31  private:
32 
33  Ttype* data( uint32_t i ) override ;
34  const Ttype* cdata( uint32_t i ) const override ;
35 
36  Ttype m_data[ Tsize ] ;
37 } ;
38 
39 #endif
const Ttype * cdata(uint32_t i) const override
unique_ptr< ClusterSequence > cs
uint32_t pre() const
DetId id() const
Ttype * data(uint32_t i) override
Ttype m_data[Tsize]
Definition: CaloTSamples.h:36
Definition: DetId.h:18
CaloTSamples< Ttype, Tsize > & operator=(const CaloTSamples< Ttype, Tsize > &cs)
uint32_t size() const
uint32_t capacity() const override