#include <myTestArea/SiStripPulseShape/src/SiStripPulseShape.h>
Public Types | |
enum | mode { peak, deconvolution } |
Public Member Functions | |
mode | getMode () const |
double | getNormalizedValue (const double &t) const |
void | setMode (const mode theMode) |
SiStripPulseShape () | |
virtual | ~SiStripPulseShape () |
Private Attributes | |
mode | mode_ |
Description: analog pulse shape at the ouput of the APV.
Implementation: This class allows to access the pulse shape at the APV. This is usefull to take into account timing effects in the tracker.
Definition at line 29 of file SiStripPulseShape.h.
Definition at line 32 of file SiStripPulseShape.h.
SiStripPulseShape::SiStripPulseShape | ( | ) | [inline] |
Definition at line 33 of file SiStripPulseShape.h.
:mode_(deconvolution) {}
virtual SiStripPulseShape::~SiStripPulseShape | ( | ) | [inline, virtual] |
Definition at line 34 of file SiStripPulseShape.h.
{}
mode SiStripPulseShape::getMode | ( | void | ) | const [inline] |
double SiStripPulseShape::getNormalizedValue | ( | const double & | t | ) | const [inline] |
Definition at line 37 of file SiStripPulseShape.h.
References deconvolution, fdeconv_convoluted(), fpeak_convoluted(), mode_, Parameters::parameters, peak, lumiQTWidget::t, and cond::rpcobgas::time.
{ double parameters[5]={0.,-2.82,0.066,50,20}; double time = t; switch(mode_) { case peak: { return fpeak_convoluted(&time,parameters); } case deconvolution: { return fdeconv_convoluted(&time,parameters); } } }
void SiStripPulseShape::setMode | ( | const mode | theMode | ) | [inline] |
mode SiStripPulseShape::mode_ [private] |
Definition at line 54 of file SiStripPulseShape.h.
Referenced by getMode(), getNormalizedValue(), and setMode().