R3BROOT
R3B analysis software
|
#include <MockModels.h>
Public Member Functions | |
GMockChannel (Side side) | |
void | add_signal (Signal hit) override |
MOCK_METHOD ((void), construct_hits,(Hits &),(override)) | |
void | DelegateToFake () |
void | extra_reset () override |
![]() | |
AbstractChannel (R3B::Side side, bool has_cal_output=false) | |
virtual | ~AbstractChannel ()=default |
AbstractChannel (const AbstractChannel &other)=delete | |
auto | operator= (const AbstractChannel &other) -> AbstractChannel &=delete |
AbstractChannel (AbstractChannel &&other)=default | |
auto | operator= (AbstractChannel &&other) -> AbstractChannel &=delete |
void | Construct () |
void | Reset () |
Reset the data in the Channel for the new event. | |
void | AddSignal (const Signal &signal) |
virtual auto | HasFired () -> bool |
void | EnableCal (bool is_enabled=true) |
auto | GetSide () const -> R3B::Side |
auto | GetPaddle () const -> AbstractPaddle * |
auto | GetSignalSize () const -> int |
auto | GetCalSignals () const -> const CalSignals & |
auto | GetHits () const -> const Hits & |
auto | GetTrigTime () const -> double |
void | SetPaddle (AbstractPaddle *v_paddle) |
void | AttachToPaddle (AbstractPaddle *paddle) |
Public Attributes | |
std::vector< Signal > | hits_ |
Private Member Functions | |
auto | convert_hit_to_signal (const Signal &hit) -> Hit |
Additional Inherited Members | |
![]() | |
using | Hit = ChannelHit |
using | CalSignal = ChannelCalSignal |
using | Signal = ChannelSignal |
using | Hits = std::vector<Hit> |
using | CalSignals = std::vector<CalSignal> |
![]() | |
static auto | GetDefaultRandomGen () -> TRandom3 & |
Definition at line 58 of file MockModels.h.
|
inlineexplicit |
Definition at line 60 of file MockModels.h.
|
inlineoverridevirtual |
Implements R3B::Digitizing::AbstractChannel.
Definition at line 62 of file MockModels.h.
|
inlineprivate |
Definition at line 82 of file MockModels.h.
|
inline |
Definition at line 67 of file MockModels.h.
|
inlineoverridevirtual |
Reimplemented from R3B::Digitizing::AbstractChannel.
Definition at line 79 of file MockModels.h.
R3B::testing::Neuland::GMockChannel::MOCK_METHOD | ( | (void) | , |
construct_hits | , | ||
(Hits &) | , | ||
(override) | ) |
std::vector<Signal> R3B::testing::Neuland::GMockChannel::hits_ |
Definition at line 65 of file MockModels.h.