ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Types | Protected Attributes | Friends | List of all members
AtFissionEvent Class Reference

#include <AtFissionEvent.h>

Inheritance diagram for AtFissionEvent:
Inheritance graph
[legend]
Collaboration diagram for AtFissionEvent:
Collaboration graph
[legend]

Public Member Functions

 AtFissionEvent ()
 
 AtFissionEvent (const AtFissionEvent &)
 
 AtFissionEvent (const AtPatternEvent &)
 
 AtFissionEvent (const AtBaseEvent &event)
 
AtFissionEventoperator= (AtFissionEvent)
 
virtual ~AtFissionEvent ()=default
 
const AtPatterns::AtPatternYGetYPattern () const
 
const AtTrackGetYTrack () const
 
double GetFoldingAngle ()
 
XYZPoint GetVertex () const
 
double GetLambda () const
 
std::vector< AtHit * > GetBeamHits () const
 
std::vector< AtHit * > GetFragHits () const
 
std::vector< AtHit * > GetFragHits (int fragID) const
 
std::vector< AtHit * > GetBeamHitsCorr ()
 
std::vector< AtHit * > GetFragHitsCorr ()
 
std::vector< AtHit * > GetFragHitsCorr (int fragID)
 
void SetBeamHits (HitVector vec)
 
void SetFragHits (int fragID, HitVector vec)
 
void SetLambda (double l)
 
 ClassDefOverride (AtFissionEvent, 1)
 
- Public Member Functions inherited from AtPatternEvent
 AtPatternEvent (const char *name="AtPatternEvent")
 
 AtPatternEvent (const AtPatternEvent &copy)
 
 AtPatternEvent (const AtBaseEvent &copy)
 
 AtPatternEvent (AtPatternEvent &&copy)=default
 
AtPatternEventoperator= (const AtPatternEvent object)
 
virtual ~AtPatternEvent ()=default
 
void Clear (Option_t *opt=nullptr) override
 
void SetTrackCand (std::vector< AtTrack > tracks)
 
void AddTrack (const AtTrack &track)
 
void AddTrack (AtTrack &&track)
 
template<typename... Ts>
void AddNoise (Ts &&...params)
 
const HitVectorGetNoiseHits ()
 
std::vector< AtTrack > & GetTrackCand ()
 
const std::vector< AtTrack > & GetTrackCand () const
 
 ClassDefOverride (AtPatternEvent, 3)
 
- Public Member Functions inherited from AtBaseEvent
 AtBaseEvent (std::string name="AtBaseEvent")
 
virtual ~AtBaseEvent ()=default
 
 AtBaseEvent (AtBaseEvent &&)=default
 
 AtBaseEvent (const AtBaseEvent &)=default
 
AtBaseEventoperator= (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
 
AtAuxPadGetAuxPad (std::string auxPad)
 
const AtAuxPadGetAuxPad (std::string auxPad) const
 
const AuxPadMapGetAuxPads () const
 

Protected Types

using XYZPoint = ROOT::Math::XYZPoint
 
using XYZVector = ROOT::Math::XYZVector
 
- Protected Types inherited from AtPatternEvent
using HitPtr = std::unique_ptr< AtHit >
 
using HitVector = std::vector< HitPtr >
 
- Protected Types inherited from AtBaseEvent
using AuxPadMap = std::map< std::string, AtAuxPad >
 

Protected Attributes

HitVector fBeamHits
 
std::array< HitVector, 2 > fFragHits
 
Double_t fLambda {0}
 
- Protected Attributes inherited from AtPatternEvent
std::vector< AtTrackfTrackCand
 
HitVector fNoise
 
- Protected Attributes inherited from AtBaseEvent
ULong_t fEventID = -1
 
Bool_t fIsGood = true
 
Bool_t fIsInGate = false
 
std::vector< ULong64_t > fTimestamp {1}
 
AuxPadMap fAuxPadMap
 
std::string fEventName
 

Friends

void swap (AtFissionEvent &first, AtFissionEvent &second)
 

Detailed Description

Class for getting useful information from fission events. Filled by the task AtFissionAnalysis.

Definition at line 29 of file AtFissionEvent.h.

Member Typedef Documentation

◆ XYZPoint

using AtFissionEvent::XYZPoint = ROOT::Math::XYZPoint
protected

Definition at line 31 of file AtFissionEvent.h.

◆ XYZVector

using AtFissionEvent::XYZVector = ROOT::Math::XYZVector
protected

Definition at line 32 of file AtFissionEvent.h.

Constructor & Destructor Documentation

◆ AtFissionEvent() [1/4]

AtFissionEvent::AtFissionEvent ( )

Definition at line 18 of file AtFissionEvent.cxx.

◆ AtFissionEvent() [2/4]

AtFissionEvent::AtFissionEvent ( const AtFissionEvent obj)

Definition at line 20 of file AtFissionEvent.cxx.

◆ AtFissionEvent() [3/4]

AtFissionEvent::AtFissionEvent ( const AtPatternEvent obj)

Definition at line 28 of file AtFissionEvent.cxx.

◆ AtFissionEvent() [4/4]

AtFissionEvent::AtFissionEvent ( const AtBaseEvent event)
inline

Definition at line 42 of file AtFissionEvent.h.

◆ ~AtFissionEvent()

virtual AtFissionEvent::~AtFissionEvent ( )
virtualdefault

Member Function Documentation

◆ ClassDefOverride()

AtFissionEvent::ClassDefOverride ( AtFissionEvent  ,
 
)

◆ GetBeamHits()

std::vector< AtHit * > AtFissionEvent::GetBeamHits ( ) const

Get the hits associated with the beam that have not been space-charge corrected. (The hits stored in this sub-class)

Definition at line 77 of file AtFissionEvent.cxx.

◆ GetBeamHitsCorr()

std::vector< AtHit * > AtFissionEvent::GetBeamHitsCorr ( )

Get the hits associated with the beam that belong to the track in this event (typically the ones that are space charge corrected).

Definition at line 108 of file AtFissionEvent.cxx.

◆ GetFoldingAngle()

double AtFissionEvent::GetFoldingAngle ( )

Definition at line 56 of file AtFissionEvent.cxx.

◆ GetFragHits() [1/2]

std::vector< AtHit * > AtFissionEvent::GetFragHits ( ) const

Get the hits associated with both fission fragments that have not been space-charge corrected. (The hits stored in this sub-class)

Definition at line 86 of file AtFissionEvent.cxx.

◆ GetFragHits() [2/2]

std::vector< AtHit * > AtFissionEvent::GetFragHits ( int  fragID) const

Get the hits associated with both fission fragments that have not been space-charge corrected. (The hits stored in this sub-class)

Definition at line 98 of file AtFissionEvent.cxx.

◆ GetFragHitsCorr() [1/2]

std::vector< AtHit * > AtFissionEvent::GetFragHitsCorr ( )

Get the hits associated with the fragment that belong to the track in this event (typically the ones that are space charge corrected).

Definition at line 143 of file AtFissionEvent.cxx.

◆ GetFragHitsCorr() [2/2]

std::vector< AtHit * > AtFissionEvent::GetFragHitsCorr ( int  i)

Get the hits associated with the fragment that belong to the track in this event (typically the ones that are space charge corrected).

Definition at line 125 of file AtFissionEvent.cxx.

◆ GetLambda()

double AtFissionEvent::GetLambda ( ) const
inline

Definition at line 58 of file AtFissionEvent.h.

◆ GetVertex()

AtFissionEvent::XYZPoint AtFissionEvent::GetVertex ( ) const

Definition at line 64 of file AtFissionEvent.cxx.

◆ GetYPattern()

const AtPatterns::AtPatternY * AtFissionEvent::GetYPattern ( ) const

Definition at line 36 of file AtFissionEvent.cxx.

◆ GetYTrack()

const AtTrack & AtFissionEvent::GetYTrack ( ) const

Definition at line 46 of file AtFissionEvent.cxx.

◆ operator=()

AtFissionEvent & AtFissionEvent::operator= ( AtFissionEvent  other)

Definition at line 30 of file AtFissionEvent.cxx.

◆ SetBeamHits()

void AtFissionEvent::SetBeamHits ( HitVector  vec)
inline

Definition at line 68 of file AtFissionEvent.h.

◆ SetFragHits()

void AtFissionEvent::SetFragHits ( int  fragID,
HitVector  vec 
)

Definition at line 153 of file AtFissionEvent.cxx.

◆ SetLambda()

void AtFissionEvent::SetLambda ( double  l)
inline

Definition at line 70 of file AtFissionEvent.h.

Friends And Related Function Documentation

◆ swap

void swap ( AtFissionEvent first,
AtFissionEvent second 
)
friend

Definition at line 46 of file AtFissionEvent.h.

Member Data Documentation

◆ fBeamHits

HitVector AtFissionEvent::fBeamHits
protected

Definition at line 34 of file AtFissionEvent.h.

◆ fFragHits

std::array<HitVector, 2> AtFissionEvent::fFragHits
protected

Definition at line 35 of file AtFissionEvent.h.

◆ fLambda

Double_t AtFissionEvent::fLambda {0}
protected

Definition at line 36 of file AtFissionEvent.h.


The documentation for this class was generated from the following files: