ClassifyTimesProc Class Reference
|
Ratpac-two
|
Public Member Functions | |
| void | BeginOfRun (DS::Run *run) |
| virtual void | SetI (std::string param, int value) |
| virtual void | SetD (std::string param, double value) |
| virtual void | SetS (std::string param, std::string value) |
| virtual Processor::Result | Event (DS::Root *ds, DS::EV *ev) |
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 | EndOfRun (DS::Run *run) |
Protected Attributes | |
| std::vector< std::string > | fParamNames = {"ratio", "mean", "stddev", "skewness", "kurtosis"} |
| std::vector< int > | fPMTtype |
| std::string | fClassifierName = "classifytimes" |
| std::string | fPosFitter |
| bool | fSetSpeed = false |
| double | fLightSpeed = 0.0 |
| double | fFixedTime = 0.0 |
| TVector3 | fFixedPosition |
| std::string | fPosMethod |
| DS::PMTInfo * | fPMTInfo |
| FitterInputHandler | inputHandler |
| double | fNumerTimeResLow |
| double | fNumerTimeResUp |
| double | fDenomTimeResLow = 0.0 |
| double | fDenomTimeResUp = 0.0 |
| int | fVerbose |
| std::string | fCutMethod |
| double | fTimeResLow = 0.0 |
| double | fTimeResUp = 0.0 |
| double | fTimeResFracLow = 0.0 |
| double | fTimeResFracUp = 1.0 |
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 } |
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.
Initialize ALL parameters with placeholder values
Get event position
If fractional cuts specified for central moments, determine cut times
Apply time cuts and determine PMT counts and first central moment of time residuals
Apply time cuts and determine second, third, and fourth central moments of time residuals
Save results
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.
Time boundary parameters for central moments
Time boundaries for ratio
Event position and time input
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.
Member Data Documentation
◆ fNumerTimeResLow
|
protected |
◆ fNumerTimeResUp
|
protected |
◆ fVerbose
|
protected |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/include/RAT/ClassifyTimesProc.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/src/ClassifyTimesProc.cc
Generated by
Public Member Functions inherited from