PythonProc Class Reference
|
Ratpac-two
|
RAT::PythonProc Class Reference
Inheritance diagram for RAT::PythonProc:
Public Member Functions | |
| PythonProc () | |
| virtual | ~PythonProc () |
| virtual void | SetS (std::string param, std::string value) |
| virtual Processor::Result | DSEvent (DS::Root *ds) |
Public Member Functions inherited from RAT::Processor | |
| Processor (std::string _name) | |
| virtual | ~Processor () |
| std::string | GetName () const |
| virtual void | SetI (std::string param, int value) |
| virtual void | SetF (std::string param, float value) |
| virtual void | SetD (std::string param, double value) |
| virtual void | BeginOfRun (DS::Run *run) |
| virtual void | EndOfRun (DS::Run *run) |
| virtual Processor::Result | Event (DS::Root *ds, DS::EV *ev) |
Protected Attributes | |
| std::string | fPyProcName |
Protected Attributes inherited from RAT::Processor | |
| std::string | name |
Static Protected Attributes | |
| static int | fgProcCounter = 0 |
Additional Inherited Members | |
Public Types inherited from RAT::Processor | |
| enum | Result { OK = 0 , FAIL = 1 , ABORT = 2 } |
Constructor & Destructor Documentation
◆ PythonProc()
| PythonProc::PythonProc | ( | ) |
Create new Python processor
◆ ~PythonProc()
|
virtual |
Destroy count processor.
Member Function Documentation
◆ DSEvent()
|
virtual |
Process one physics event.
The processor can do whatever operation it likes on the event. The default implementation of this method calls Event() once for every event in the ds.ev list. Do not override DSEvent() if you plan to override Event().
- Parameters
-
[in,out] ds Data structure for current event.
- Returns
- Status code for successs/failure in processing this event.
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/core/include/RAT/PythonProc.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/core/src/PythonProc.cc
Generated by
Public Member Functions inherited from