5#ifndef TILEPULSESIMULATOR_TILESAMPLEGENERATOR_H
6#define TILEPULSESIMULATOR_TILESAMPLEGENERATOR_H
25 void fillSamples(
double t0,
double pedestal,
double amplitude1,
double amplitude2, TF1* pdf,
bool addNoise,
double itOffset = 0,
double otOffset = 50);
26 void fillNSamples(
double t0,
double pedestal,
double amp_it,
const std::vector<float>& amp_pu, TF1* pdf,
bool addNoise,
double itOffset = 0,
int nSamples = 7,
int nPul = 21);
27 float fillSample(
double t0,
double pedestal,
const std::vector<float>& amp_pu, TF1* pdf,
bool addNoise,
int nPul = 21,
int gain = 1);
virtual ~TileSampleGenerator()
void fillSamples(double t0, double pedestal, double amplitude1, double amplitude2, TF1 *pdf, bool addNoise, double itOffset=0, double otOffset=50)
void fillNSamples(double t0, double pedestal, double amp_it, const std::vector< float > &_pu, TF1 *pdf, bool addNoise, double itOffset=0, int nSamples=7, int nPul=21)
void setPulseShape(TilePulseShape *ps)
void fill7SamplesQIE(float amp_it, float *amp_pu)
float fillSample(double t0, double pedestal, const std::vector< float > &_pu, TF1 *pdf, bool addNoise, int nPul=21, int gain=1)