ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtRawEvent.h>
Public Member Functions | |
AtRawEvent () | |
AtRawEvent (AtRawEvent &&obj)=default | |
AtRawEvent (const AtRawEvent &object) | |
AtRawEvent (const AtBaseEvent &object) | |
AtRawEvent & | operator= (AtRawEvent object) |
virtual | ~AtRawEvent ()=default |
void | Clear (Option_t *opt=nullptr) override |
Copy everything but the data (pads, aux pads, and MCPointMap) to this event. More... | |
template<typename... Ts> | |
AtPad * | AddPad (Ts &&...params) |
Create a new pad in this event. More... | |
template<typename T , typename = std::enable_if_t<std::is_base_of<AtPad, std::decay_t<T>>::value>> | |
AtPad * | AddPad (std::unique_ptr< T > ptr) |
Move a pad into the event. More... | |
AtPad * | AddFPN (const AtPadReference &ref) |
Create a new FPN channel. More... | |
void | RemovePad (Int_t padNum) |
void | SetSimMCPointMap (std::multimap< Int_t, std::size_t > map) |
template<typename... Ts> | |
AtGenericTrace * | AddGenericTrace (Ts &&...params) |
AtGenericTrace * | AddGenericTrace (std::unique_ptr< AtGenericTrace > ptr) |
Int_t | GetNumPads () const |
Int_t | GetNumAuxPads () const |
AtPad * | GetPad (Int_t padNum) |
const AtPad * | GetPad (Int_t padNum) const |
AtPad * | GetFpn (const AtPadReference &ref) |
const AtPad * | GetFpn (const AtPadReference &ref) const |
const PadVector & | GetPads () const |
PadVector & | GetPads () |
const GenTraceVector & | GetGenTraces () const |
const FpnMap & | GetFpnPads () const |
std::multimap< Int_t, std::size_t > & | GetSimMCPointMap () |
ClassDefOverride (AtRawEvent, 7) | |
![]() | |
AtBaseEvent (std::string name="AtBaseEvent") | |
virtual | ~AtBaseEvent ()=default |
AtBaseEvent (AtBaseEvent &&)=default | |
AtBaseEvent (const AtBaseEvent &)=default | |
AtBaseEvent & | operator= (AtBaseEvent object) |
void | Clear (Option_t *opt) override |
std::pair< AtAuxPad *, bool > | AddAuxPad (std::string auxName) |
Add new auxilary pad (AtAuxPad) to event. More... | |
void | SetEventID (ULong_t evtid) |
void | SetIsGood (Bool_t value) |
void | SetTimestamp (ULong64_t timestamp, int index=0) |
void | SetNumberOfTimestamps (int numTS) |
void | SetIsExtGate (Bool_t value) |
void | SetEventName (std::string name) |
ULong_t | GetEventID () const |
ULong64_t | GetTimestamp (int index=0) const |
const std::vector< ULong64_t > & | GetTimestamps () const |
Bool_t | IsGood () const |
Bool_t | GetIsExtGate () const |
std::string | GetEventName () const |
AtAuxPad * | GetAuxPad (std::string auxPad) |
const AtAuxPad * | GetAuxPad (std::string auxPad) const |
const AuxPadMap & | GetAuxPads () const |
Friends | |
class | AtFilterTask |
class | AtFilterFFT |
void | swap (AtRawEvent &first, AtRawEvent &second) |
Additional Inherited Members | |
![]() | |
using | AuxPadMap = std::map< std::string, AtAuxPad > |
![]() | |
ULong_t | fEventID = -1 |
Bool_t | fIsGood = true |
Bool_t | fIsInGate = false |
std::vector< ULong64_t > | fTimestamp {1} |
AuxPadMap | fAuxPadMap |
std::string | fEventName |
Definition at line 34 of file AtRawEvent.h.
|
inline |
Definition at line 52 of file AtRawEvent.h.
|
default |
AtRawEvent::AtRawEvent | ( | const AtRawEvent & | object | ) |
Definition at line 16 of file AtRawEvent.cxx.
|
inline |
Definition at line 55 of file AtRawEvent.h.
|
virtualdefault |
AtPad * AtRawEvent::AddFPN | ( | const AtPadReference & | ref | ) |
Create a new FPN channel.
Definition at line 77 of file AtRawEvent.cxx.
|
inline |
Definition at line 115 of file AtRawEvent.h.
|
inline |
Definition at line 109 of file AtRawEvent.h.
|
inline |
Move a pad into the event.
Moves a std::unique_ptr of AtPad, or any type derived from AtPad, into the event.
params | std::unique_ptr of pad to move into the event |
Definition at line 97 of file AtRawEvent.h.
|
inline |
Create a new pad in this event.
Adds a new pad, calling a constructor of AtPad using the passed parameters.
params | Parameters to perfect-forward to the constructor of AtPad |
Definition at line 82 of file AtRawEvent.h.
AtRawEvent::ClassDefOverride | ( | AtRawEvent | , |
7 | |||
) |
|
override |
Copy everything but the data (pads, aux pads, and MCPointMap) to this event.
Definition at line 39 of file AtRawEvent.cxx.
|
inline |
Definition at line 126 of file AtRawEvent.h.
const AtPad * AtRawEvent::GetFpn | ( | const AtPadReference & | ref | ) | const |
Definition at line 64 of file AtRawEvent.cxx.
|
inline |
Definition at line 136 of file AtRawEvent.h.
|
inline |
Definition at line 134 of file AtRawEvent.h.
|
inline |
Definition at line 123 of file AtRawEvent.h.
|
inline |
Definition at line 122 of file AtRawEvent.h.
|
inline |
Definition at line 124 of file AtRawEvent.h.
const AtPad * AtRawEvent::GetPad | ( | Int_t | padNum | ) | const |
Definition at line 56 of file AtRawEvent.cxx.
|
inline |
Definition at line 132 of file AtRawEvent.h.
|
inline |
Definition at line 131 of file AtRawEvent.h.
|
inline |
Definition at line 137 of file AtRawEvent.h.
AtRawEvent & AtRawEvent::operator= | ( | AtRawEvent | object | ) |
Definition at line 23 of file AtRawEvent.cxx.
void AtRawEvent::RemovePad | ( | Int_t | padNum | ) |
Definition at line 49 of file AtRawEvent.cxx.
|
inline |
Definition at line 106 of file AtRawEvent.h.
|
friend |
Definition at line 49 of file AtRawEvent.h.
|
friend |
Definition at line 48 of file AtRawEvent.h.
|
friend |
Definition at line 59 of file AtRawEvent.h.