1 #ifndef DIGIHGCAL_HGCDATAFRAME_H 2 #define DIGIHGCAL_HGCDATAFRAME_H 13 template <
class D,
class S>
53 for (
size_t i = 0;
i <
data_.size();
i++) {
54 out <<
"[" <<
i <<
"] ";
58 const std::vector<S>&
data()
const {
return data_; }
int size() const
total number of samples in the digi
const S & sample(int i) const
const S & operator[](int i) const
assess/set specific samples
void print(std::ostream &out=std::cout)
const std::vector< S > & data() const
void resize(size_t s)
allow to set size
const D & id() const
det id
HGCDataFrame(const HGCDataFrame &o)
D key_type
key to sort the collection
HGCDataFrame(const D &id)
DecomposeProduct< arg, typename Div::arg > D
void setData(const std::vector< S > &d)
void setSample(int i, const S &sample)