WaveformPrep Class Reference
|
Ratpac-two
|
Process the digitized waveforms. More...
#include <WaveformPrep.hh>
Public Member Functions | |
| WaveformPrep (std::string analyzer_name) | |
| void | Configure (const std::string &analyzer_name) |
| void | RunAnalysis (DS::DigitPMT *digitpmt, int pmtID, Digitizer *fDigitizer, double timeOffset=0.0) |
| void | RunAnalysis (DS::DigitPMT *digitpmt, int pmtID, DS::Digit *dsdigit, double timeOffset=0.0) |
| double | RunAnalysisOnTrigger (int pmtID, Digitizer *fDigitizer) |
| void | ZeroSuppress (DS::EV *ev, DS::DigitPMT *digitpmt, int pmtID) |
| virtual Processor::Result | Event (DS::Root *ds, DS::EV *ev) |
| virtual void | SetS (std::string param, std::string value) |
| virtual void | SetD (std::string param, double value) |
| virtual void | SetI (std::string param, int value) |
Public Member Functions inherited from RAT::Processor | |
| Processor (std::string _name) | |
| virtual | ~Processor () |
| std::string | GetName () const |
| virtual void | SetF (std::string param, float value) |
| virtual Processor::Result | DSEvent (DS::Root *ds) |
| virtual void | BeginOfRun (DS::Run *run) |
| virtual void | EndOfRun (DS::Run *run) |
Protected Member Functions | |
| void | DoAnalysis (DS::DigitPMT *pmt, const std::vector< UShort_t > &DigitWfm, double timeOffset) |
Protected Attributes | |
| DBLinkPtr | fDigit |
| double | fTimeStep |
| double | fVoltageRes |
| double | fTermOhms |
| int | fPedWindowLow |
| int | fPedWindowHigh |
| double | fLookback |
| int | fIntWindowLow |
| int | fIntWindowHigh |
| double | fConstFrac |
| int | fLowIntWindow |
| int | fHighIntWindow |
| double | fVoltageCrossing |
| double | fThreshold |
| int | fSlidingWindow |
| double | fChargeThresh |
| int | fApplyCableOffset |
| int | fZeroSuppress |
Protected Attributes inherited from RAT::Processor | |
| std::string | name |
Additional Inherited Members | |
Public Types inherited from RAT::Processor | |
| enum | Result { OK = 0 , FAIL = 1 , ABORT = 2 } |
Detailed Description
Process the digitized waveforms.
REVISION HISTORY:
25 Oct 2022: Initial commit 14 Oct 2024: Refactored from WaveformAnalysis to WaveformPrep
This class provides full support for analysis of the digitized waveform, providing tools to do timing at the threshold crossing, integrated charge, etc. Refactored from implementation in WaveformAnalysis.
Member Function Documentation
◆ Event()
|
virtual |
Process one triggered event.
If you do not override DSEvent(), then this method is called once per triggered event. As a convenience, a reference is also provided to the root of the data structure associated with the triggered event.
Do not override this method if you also plan to override DSEvent().
- Parameters
-
[in] ds Root of data structure [in,out] ev Triggered event data structure
- Returns
- Status code for successs/failure in processing this event.
Reimplemented from RAT::Processor.
◆ SetD()
|
virtual |
Set double parameter
- Parameters
-
[in] param Name of parameter. [in] value Value of parameter.
- Exceptions
-
ParamUnknown if param is not recognized. ParamInvalid if value is not allowed for param.
Reimplemented from RAT::Processor.
◆ SetI()
|
virtual |
Set integer parameter.
- Parameters
-
[in] param Name of parameter. [in] value Value of parameter.
- Exceptions
-
ParamUnknown if param is not recognized. ParamInvalid if value is not allowed for param.
Reimplemented from RAT::Processor.
◆ SetS()
|
virtual |
Set string parameter.
- Parameters
-
[in] param Name of parameter. [in] value Value of parameter.
- Exceptions
-
ParamUnknown if param is not recognized. ParamInvalid if value is not allowed for param.
Reimplemented from RAT::Processor.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/daq/include/RAT/WaveformPrep.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/daq/src/WaveformPrep.cc
Generated by
Public Member Functions inherited from