2 #define CALOSAMPLES_H 1
CaloSamples & scale(double value)
multiply each item by this value
static const int MAXSAMPLES
void setSize(unsigned int size)
double & operator[](int i)
mutable operator to access samples
int presamples() const
access presample information
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setDetId(DetId detId)
void setPresamples(int pre)
set presample information
unsigned int offset(bool)
double operator[](int i) const
const operator to access samples
int size() const
get the size
CaloSamples & offsetTime(double offset)
shift all the samples by a time, in ns, interpolating
CaloSamples & operator+=(double value)
add a value to all samples
DetId id() const
get the (generic) id
CaloSamples & operator*=(double value)
scale all samples