Go to the documentation of this file. 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_; }
HGCDataFrame(const HGCDataFrame &o)
HGCDataFrame(const D &id)
int size() const
total number of samples in the digi
void resize(size_t s)
allow to set size
void print(std::ostream &out=std::cout)
D key_type
key to sort the collection
void setSample(int i, const S &sample)
const S & operator[](int i) const
assess/set specific samples
DecomposeProduct< arg, typename Div::arg > D
const S & sample(int i) const
const std::vector< S > & data() const
void setData(const std::vector< S > &d)
const D & id() const
det id