1 #ifndef CALOTSAMPLESBASE_H 2 #define CALOTSAMPLESBASE_H 1 22 uint32_t
size()
const;
38 virtual uint32_t
capacity()
const = 0;
41 virtual Ttype *
data(uint32_t i) = 0;
42 virtual const Ttype *
cdata(uint32_t i)
const = 0;
49 template <
class Ttype>
50 std::ostream &operator<<(std::ostream &s, const CaloTSamplesBase<Ttype> &sam);
unique_ptr< ClusterSequence > cs
virtual const Ttype * cdata(uint32_t i) const =0
CaloTSamplesBase< Ttype > & operator=(const CaloTSamplesBase< Ttype > &cs)
CaloTSamplesBase< Ttype > & operator*=(Ttype value)
Ttype & operator[](uint32_t i)
virtual uint32_t capacity() const =0
CaloTSamplesBase< Ttype > & operator+=(Ttype value)
virtual Ttype * data(uint32_t i)=0