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 precisePresamples() const
int presamples() const
access presample information
std::ostream & operator<<(std::ostream &out, const ALILine &li)
int preciseSize() const
get the size
std::vector< float > preciseData_
float preciseAt(int i) const
const function to access precise samples
void setDetId(DetId detId)
float preciseDeltaT() const
void setPresamples(int pre)
set presample information
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
float & preciseAtMod(int i)
mutable function to access precise samples
void setPrecise(int precisePresamples, float deltaT)
CaloSamples & operator+=(double value)
add a value to all samples
DetId id() const
get the (generic) id
CaloSamples & operator*=(double value)
scale all samples