1 #ifndef _RdScintSignalReconstructor_h_
2 #define _RdScintSignalReconstructor_h_
4 #include <fwk/VModule.h>
5 #include <revt/Station.h>
6 #include <revt/Channel.h>
21 namespace RdScintSignalReconstructor {
76 double NoiseWindowSize,
double& SignalError,
unsigned int samples_offset,
77 double& RMSNoise)
const;
81 double& PeakAmplitude,
double& PeakTime,
double& PeakTimeError,
82 double SignalWindowStart,
double SignalWindowStop,
unsigned int& sample,
83 unsigned int samples_offset)
const;
87 double& IntegratedSignal,
double SignalWindowStart,
88 double SignalWindowStop,
unsigned int samples_offset)
const;
92 double ScintSearchWindowStop,
double& SignalWindowStart,
double& SignalWindowStop,
93 unsigned int sample,
unsigned int samples_offset)
const;
unsigned int fMinNumberOfScintBottom
std::vector< std::string > fExcludedStationsName
unsigned int fMinNumberOfScintTop
double fSimSingleMuonEnergyDepositTop
void Noisefinder(const revt::ChannelTimeSeries &channeltrace, double NoiseWindowStart, double NoiseWindowSize, double &SignalError, unsigned int samples_offset, double &RMSNoise) const
unsigned int fMinNumberOfScint
Interface class to access to the Radio part of an event.
double fScintSignalSearchWindowStop
std::string fFilenameMuonCalibrationTop
void Signalwindowfinder(const revt::ChannelTimeSeries channeltrace, double ScintSearchWindowStart, double ScintSearchWindowStop, double &SignalWindowStart, double &SignalWindowStop, unsigned int sample, unsigned int samples_offset) const
std::string fFilenameMuonCalibrationBottom
double fSimSingleMuonEnergyDepositBottomError
void ComputeBaryCenterBottom(const revt::REvent &rEvent, utl::Point &BaryCenterBottom) const
double fSimSingleMuonEnergyDepositBottom
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
REGISTER_MODULE("RdScintSignalReconstructor", RdScintSignalReconstructor)
void ComputeBaryTimeBottom(const revt::REvent &rEvent, double &BaryTimeBottom) const
std::map< int, CalibrationData > fCalibrationDataTop
void ComputeBaryCenterTop(const revt::REvent &rEvent, utl::Point &BaryCenterTop) const
std::map< int, CalibrationData > fCalibrationDataBottom
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
double fSimSingleMuonEnergyDepositTopError
double fScintSignalSearchWindowStart
void ComputeBaryTimeTop(const revt::REvent &rEvent, double &BaryTimeTop) const
void Pulsefinder(const revt::ChannelTimeSeries &channeltrace, double &PeakAmplitude, double &PeakTime, double &PeakTimeError, double SignalWindowStart, double SignalWindowStop, unsigned int &sample, unsigned int samples_offset) const
ResultFlag
Flag returned by module methods to the RunController.
RdScintSignalReconstructor()
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
void PulseFixedWindowIntegrator(const revt::ChannelTimeSeries &channeltrace, double IntegrationTime, double &IntegratedSignal, double SignalWindowStart, double SignalWindowStop, unsigned int samples_offset) const
virtual ~RdScintSignalReconstructor()
unsigned int fSamplesToCalculateOffset
void ComputeBaryTime(const revt::REvent &rEvent, double &BaryTime) const
void ComputeBaryCenter(const revt::REvent &rEvent, utl::Point &BaryCenter) const
double signalMuonPeakError