|
| | Engine (const UsePaddle< PaddleClass > &p_paddleClass, const UseChannel< ChannelClass > &p_channelClass, InitFunc initFunc=[]() {}) |
| void | SetInit (const InitFunc &initFunc) |
| | Initialize the underlying data.
|
| void | ExtraReset () override |
| | EngineInterface ()=default |
| | Default constructor.
|
| virtual | ~EngineInterface ()=default |
| | virtual destructor
|
| | EngineInterface (const EngineInterface &other)=delete |
| | Copy constructor.
|
| auto | operator= (const EngineInterface &other) -> EngineInterface &=delete |
| | Copy assignment operator.
|
| | EngineInterface (EngineInterface &&other)=delete |
| | Move constructor.
|
| auto | operator= (EngineInterface &&other) -> EngineInterface &=delete |
| | Move assignment operator.
|
| void | DepositLight (int paddle_id, double time, double energy_dep, double dist) |
| | Takes in a light deposition and pass it to the paddle.
|
| auto | GetTriggerTime () const -> double |
| | Get the trigger time of the current event.
|
| void | Init (int initial_capacity=1) |
| | Initialization of the engine class.
|
| void | Reset () |
| | Reset the engine for a new event.
|
| void | Construct () |
| | Construct singals from the paddles and channels.
|
| auto | get_capacity () const |
| | The number of preallocated bar objects in the engine.
|
| template<typename Unary> |
| void | DoEachPaddle (Unary fnt) const |
| | Accessor operator for each paddle stored in the current event.
|
| template<typename Unary> |
| auto | DoAllPaddles (Unary fnt) const |
| | Accessor operator for all paddles stored in the current event.
|
template<typename PaddleClass, typename ChannelClass, typename InitFunc = std::function<void()>>
class R3B::Digitizing::Engine< PaddleClass, ChannelClass, InitFunc >
Definition at line 212 of file R3BDigitizingEngine.h.
template<typename PaddleClass, typename ChannelClass, typename InitFunc = std::function<void()>>
Constructing a number of bars for the input data. If the available bars are not enough for the new data, the whole data will be reallocated (just like std::vector). The reallocation should happen rarely!
- Parameters
-
| initFunc | Initiator functor |
Definition at line 233 of file R3BDigitizingEngine.h.