CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
16  enum { kCapacity = Tsize };
17 
20  CaloTSamples<Ttype, Tsize>(const DetId &id, uint32_t size = 0, uint32_t pre = 0);
21  ~CaloTSamples<Ttype, Tsize>() override;
22 
24 
25  uint32_t capacity() const override;
26 
27 private:
28  Ttype *data(uint32_t i) override;
29  const Ttype *cdata(uint32_t i) const override;
30 
31  Ttype m_data[Tsize];
32 };
33 
34 #endif
unique_ptr< ClusterSequence > cs
uint32_t pre() const
DetId id() const
Ttype * data(uint32_t i) override
const Ttype * cdata(uint32_t i) const override
Ttype m_data[Tsize]
Definition: CaloTSamples.h:31
Definition: DetId.h:17
uint32_t capacity() const override
uint32_t size() const
CaloTSamples< Ttype, Tsize > & operator=(const CaloTSamples< Ttype, Tsize > &cs)