|
R3BROOT
R3B analysis software
|
#include <R3BDigitizingEngine.h>
Public Member Functions | |
| 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 |
| Public Member Functions inherited from R3B::Digitizing::EngineInterface | |
| 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. | |
Private Member Functions | |
| void | ExtraInit (int) override |
| auto | make_new_paddle () const -> std::unique_ptr< AbstractPaddle > override |
Private Attributes | |
| UsePaddle< PaddleClass > | paddleClass_ |
| Paddle class factory. | |
| UseChannel< ChannelClass > | channelClass_ |
| Channel class factory. | |
| InitFunc | initFunc_ |
Definition at line 212 of file R3BDigitizingEngine.h.
|
inline |
Definition at line 215 of file R3BDigitizingEngine.h.
|
inlineoverrideprivatevirtual |
Reimplemented from R3B::Digitizing::EngineInterface.
Definition at line 241 of file R3BDigitizingEngine.h.
|
inlineoverridevirtual |
Reimplemented from R3B::Digitizing::EngineInterface.
Definition at line 234 of file R3BDigitizingEngine.h.
|
inlinenodiscardoverrideprivatevirtual |
Implements R3B::Digitizing::EngineInterface.
Definition at line 242 of file R3BDigitizingEngine.h.
|
inline |
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!
| initFunc | Initiator functor |
Definition at line 233 of file R3BDigitizingEngine.h.
|
private |
Definition at line 238 of file R3BDigitizingEngine.h.
|
private |
Definition at line 239 of file R3BDigitizingEngine.h.
|
private |
Definition at line 237 of file R3BDigitizingEngine.h.