CountProc Class Reference
|
Ratpac-two
|
RAT::CountProc Class Reference
Inheritance diagram for RAT::CountProc:
Public Member Functions | |
| CountProc () | |
| virtual | ~CountProc () |
| virtual void | SetI (std::string param, int 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 | SetF (std::string param, float value) |
| virtual void | SetD (std::string param, double value) |
| virtual void | SetS (std::string param, std::string 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 | |
| int | dscount |
| Number of physics events. | |
| int | evcount |
| Number of triggered events. | |
| int | updateInterval |
| Number of physics events per update line. | |
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 } |
Constructor & Destructor Documentation
◆ CountProc()
| CountProc::CountProc | ( | ) |
Create new count processor.
Default update interval is to print a status line for every physics event.
◆ ~CountProc()
|
virtual |
Destroy count processor.
Member Function Documentation
◆ DSEvent()
|
virtual |
Increment event counters, print message if number of physics events is divisible by update interval.
Reimplemented from RAT::Processor.
◆ SetI()
|
virtual |
Set integer parameter.
- "update" : Number of physics events per display of status line. Must be >= 1.
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/CountProc.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/core/src/CountProc.cc
Generated by
Public Member Functions inherited from