|
| AtEvent () |
|
| AtEvent (const AtEvent ©) |
|
| AtEvent (const AtBaseEvent ©) |
|
AtEvent & | operator= (const AtEvent object) |
|
virtual | ~AtEvent ()=default |
|
void | Clear (Option_t *opt=nullptr) override |
|
template<typename... Ts> |
AtHit & | AddHit (Ts &&...params) |
| Create a new hit in this event. Adds a new hit, calling a constructor of AtHit using the passed parameters. Will set the hitID to the next availible if it was not set by the AtHit constructor. Allowing this function to handle hitIDs will ensure they remain unique within an event. More...
|
|
template<typename T , typename = std::enable_if_t<std::is_base_of<AtHit, std::decay_t<T>>::value>> |
AtHit & | AddHit (std::unique_ptr< T > ptr) |
| Move a hit into this event. Adds a new hit, moving a unique pointer in. Will set the hitID to the next availible if it was not set by the AtHit constructor (ie is still -1). Allowing this function to handle hitIDs will ensure they remain unique within an event. More...
|
|
void | SetEventCharge (Double_t Qevent) |
|
void | SetRhoVariance (Double_t RhoVariance) |
|
void | SetMultiplicityMap (std::map< Int_t, Int_t > MultiMap) |
|
void | SetMeshSignal (TraceArray mesharray) |
|
void | SetMeshSignal (Int_t idx, Float_t val) |
|
Int_t | GetNumHits () const |
|
Double_t | GetEventCharge () const |
|
Double_t | GetRhoVariance () const |
|
const TraceArray & | GetMesh () const |
|
Int_t | GetHitPadMult (Int_t PadNum) |
|
const AtHit & | GetHit (Int_t hitNo) const |
|
std::vector< AtHit > | GetHitArray () const |
|
const HitVector & | GetHits () const |
|
void | ClearHits () |
|
const std::map< Int_t, Int_t > & | GetMultiMap () |
|
void | SortHitArray () |
|
void | SortHitArrayID () |
|
void | SortHitArrayTime () |
|
| ClassDefOverride (AtEvent, 6) |
|
| 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 |
|
Definition at line 22 of file AtEvent.h.
template<typename T , typename = std::enable_if_t<std::is_base_of<AtHit, std::decay_t<T>>::value>>
AtHit& AtEvent::AddHit |
( |
std::unique_ptr< T > |
ptr | ) |
|
|
inline |
Move a hit into this event. Adds a new hit, moving a unique pointer in. Will set the hitID to the next availible if it was not set by the AtHit constructor (ie is still -1). Allowing this function to handle hitIDs will ensure they remain unique within an event.
- Parameters
-
[in] | ptr | unique_ptr to the AtHit to add to the event. |
- Returns
- Reference to added hit
Definition at line 91 of file AtEvent.h.