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