49 #ifndef _M_AVERAGEPULSES_H_
50 #define _M_AVERAGEPULSES_H_
63 virtual void Init( Diana::QEvent& ev);
66 virtual void Do( Diana::QEvent& ev);
Diana::QVector fPeakPositions
Module to form idealized pulses by averaging.
int fValidityStart
Validity start first run (or dataset) of validity.
virtual void Do(Diana::QEvent &ev)
std::vector< int > fSRuns
vector of runs used for average pulse calculation
bool fFractionalShift
fractional shift
bool fUseOFDelay
use maximum position from OF to align pulses
std::map< int, ChannelData > fChannelData
data stored for each channel
std::string fValidityKind
Validity kind defines the kind of validity range for the average pulse (run or dataset)
virtual void Init(Diana::QEvent &ev)
std::string fOutput
output for average pulse
std::string fPulseLabel
pulse kind
int fValidityEnd
Validity end last run (or dataset) of validity.
bool fSubtractBaseline
subract baseline from average pulse
bool fAlignmentOn
pulse alignment switch
bool fNumBaselinePoints
number of points used to calculate baseline
void DumpEventList(int nrun)
int fMaxShift
max shift allowed