File indexing completed on 2024-04-06 11:58:11
0001 #ifndef CALOTSAMPLES_H
0002 #define CALOTSAMPLES_H 1
0003
0004 #include "CalibFormats/CaloObjects/interface/CaloTSamplesBase.h"
0005
0006
0007
0008
0009
0010
0011
0012
0013 template <class Ttype, uint32_t Tsize>
0014 class CaloTSamples : public CaloTSamplesBase<Ttype> {
0015 public:
0016 enum { kCapacity = Tsize };
0017
0018 CaloTSamples();
0019 CaloTSamples(const CaloTSamples<Ttype, Tsize> &cs);
0020 CaloTSamples(const DetId &id, uint32_t size = 0, uint32_t pre = 0);
0021 ~CaloTSamples() override;
0022
0023 CaloTSamples<Ttype, Tsize> &operator=(const CaloTSamples<Ttype, Tsize> &cs);
0024
0025 uint32_t capacity() const override;
0026
0027 private:
0028 Ttype *data(uint32_t i) override;
0029 const Ttype *cdata(uint32_t i) const override;
0030
0031 Ttype m_data[Tsize];
0032 };
0033
0034 #endif