5#ifndef TILEPULSESIMULATOR_TILEPULSESHAPE_H
6#define TILEPULSESIMULATOR_TILEPULSESHAPE_H
20 TilePulseShape(IMessageSvc* msgSvc,
const std::string& name,
const TString& fileName);
21 TilePulseShape(IMessageSvc* msgSvc,
const std::string& name,
const std::vector<double>& shapevec);
27 TGraph*
getGraph(
double t0=0.,
double ped=0.,
double amp=1.);
28 double eval(
double x,
bool useSpline=
true,
bool useUndershoot=
false);
32 int scalePulse(
double leftSF=1.,
double rightSF=1.);
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
double eval(double x, bool useSpline=true, bool useUndershoot=false)
void setPulseShape(const std::vector< double > &shapevec)
TGraph * getGraph(double t0=0., double ped=0., double amp=1.)
virtual ~TilePulseShape()
TSpline * m_deformedSpline
int scalePulse(double leftSF=1., double rightSF=1.)
void loadPulseShape(const TString &fileName)
TilePulseShape(IMessageSvc *msgSvc, const std::string &name)