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

#include <AtTabFF.h>

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

Public Member Functions

 AtTabFF (DataHandling::AtBranch &fissionBranch, bool plotADC=false)
 
 ~AtTabFF ()
 
void Exec () override
 Called after the run's Exec() to update tab. More...
 
void InitTab () override
 
void Update (DataHandling::AtSubject *sub) override
 
- Public Member Functions inherited from AtTabCanvas
 AtTabCanvas (TString name, Int_t rows=1, Int_t cols=1)
 
- Public Member Functions inherited from AtTabBase
 AtTabBase (TString tabName)
 
virtual ~AtTabBase ()=default
 
void Init ()
 Called in the init stage of the run. More...
 
AtTabInfoGetTabInfo ()
 
void SetTabName (TString name)
 
- Public Member Functions inherited from DataHandling::AtObserver
virtual ~AtObserver ()=default
 

Protected Types

using XYZVector = ROOT::Math::XYZVector
 
using XYZPoint = ROOT::Math::XYZPoint
 
using TH1Ptr = std::unique_ptr< TH1F >
 
using HitVector = std::vector< AtHit * >
 
using THStackPtr = std::unique_ptr< THStack >
 

Protected Member Functions

void UpdateEvent ()
 
void DrawCanvas ()
 
std::vector< AtHit * > GetFragmentHits (AtEvent *event)
 
 ClassDefOverride (AtTabFF, 1)
 
- Protected Member Functions inherited from AtTabCanvas
void MakeTab (TEveWindowSlot *slot) override
 Create the gui components of the tab in the passed window slot. More...
 
void UpdateCanvas ()
 
- Protected Member Functions inherited from AtTabBase
template<typename T >
T * GetFairRootInfo (std::string infoName=T::Class_Name())
 

Protected Attributes

AtTabInfoFairRoot< AtEventfEvent
 
AtTabInfoFairRoot< AtRawEventfRawEvent
 
AtTabInfoFairRoot< AtFissionEventfFissionEvent
 
DataHandling::AtTreeEntryfEntry
 
std::array< TH1Ptr, 2 > fSimdQdZ
 
std::array< TH1Ptr, 2 > fExpdQdZ
 
std::array< TH1Ptr, 2 > fExpADCSum
 
std::array< std::set< int >, 2 > fCurrPads
 
std::array< THStackPtr, 4 > fStacks
 
- Protected Attributes inherited from AtTabCanvas
TCanvas * fCanvas {nullptr}
 
Int_t fRows
 
Int_t fCols
 
- Protected Attributes inherited from AtTabBase
Int_t fTabId {0}
 
TString fTabName
 
std::unique_ptr< AtTabInfofTabInfo {std::make_unique<AtTabInfo>()}
 

Additional Inherited Members

- Static Protected Attributes inherited from AtTabBase
static int fNumTabs = 0
 

Detailed Description

Definition at line 37 of file AtTabFF.h.

Member Typedef Documentation

◆ HitVector

using AtTabFF::HitVector = std::vector<AtHit *>
protected

Definition at line 42 of file AtTabFF.h.

◆ TH1Ptr

using AtTabFF::TH1Ptr = std::unique_ptr<TH1F>
protected

Definition at line 41 of file AtTabFF.h.

◆ THStackPtr

using AtTabFF::THStackPtr = std::unique_ptr<THStack>
protected

Definition at line 43 of file AtTabFF.h.

◆ XYZPoint

using AtTabFF::XYZPoint = ROOT::Math::XYZPoint
protected

Definition at line 40 of file AtTabFF.h.

◆ XYZVector

using AtTabFF::XYZVector = ROOT::Math::XYZVector
protected

Definition at line 39 of file AtTabFF.h.

Constructor & Destructor Documentation

◆ AtTabFF()

AtTabFF::AtTabFF ( DataHandling::AtBranch fissionBranch,
bool  plotADC = false 
)

Definition at line 24 of file AtTabFF.cxx.

◆ ~AtTabFF()

AtTabFF::~AtTabFF ( )

Definition at line 67 of file AtTabFF.cxx.

Member Function Documentation

◆ ClassDefOverride()

AtTabFF::ClassDefOverride ( AtTabFF  ,
 
)
protected

◆ DrawCanvas()

void AtTabFF::DrawCanvas ( )
protected

Definition at line 127 of file AtTabFF.cxx.

◆ Exec()

void AtTabFF::Exec ( )
inlineoverridevirtual

Called after the run's Exec() to update tab.

Implements AtTabBase.

Definition at line 60 of file AtTabFF.h.

◆ GetFragmentHits()

std::vector< AtHit * > AtTabFF::GetFragmentHits ( AtEvent event)
protected

Definition at line 79 of file AtTabFF.cxx.

◆ InitTab()

void AtTabFF::InitTab ( )
inlineoverridevirtual

Responsible for creating the fTabInfo object that will be updated on each event. That fTabInfo object will be initialized without user input though

Implements AtTabBase.

Definition at line 61 of file AtTabFF.h.

◆ Update()

void AtTabFF::Update ( DataHandling::AtSubject sub)
overridevirtual

Implements DataHandling::AtObserver.

Definition at line 73 of file AtTabFF.cxx.

◆ UpdateEvent()

void AtTabFF::UpdateEvent ( )
protected

Definition at line 85 of file AtTabFF.cxx.

Member Data Documentation

◆ fCurrPads

std::array<std::set<int>, 2> AtTabFF::fCurrPads
protected

Definition at line 53 of file AtTabFF.h.

◆ fEntry

DataHandling::AtTreeEntry& AtTabFF::fEntry
protected

Definition at line 48 of file AtTabFF.h.

◆ fEvent

AtTabInfoFairRoot<AtEvent> AtTabFF::fEvent
protected

Definition at line 45 of file AtTabFF.h.

◆ fExpADCSum

std::array<TH1Ptr, 2> AtTabFF::fExpADCSum
protected

Definition at line 52 of file AtTabFF.h.

◆ fExpdQdZ

std::array<TH1Ptr, 2> AtTabFF::fExpdQdZ
protected

Definition at line 51 of file AtTabFF.h.

◆ fFissionEvent

AtTabInfoFairRoot<AtFissionEvent> AtTabFF::fFissionEvent
protected

Definition at line 47 of file AtTabFF.h.

◆ fRawEvent

AtTabInfoFairRoot<AtRawEvent> AtTabFF::fRawEvent
protected

Definition at line 46 of file AtTabFF.h.

◆ fSimdQdZ

std::array<TH1Ptr, 2> AtTabFF::fSimdQdZ
protected

Definition at line 50 of file AtTabFF.h.

◆ fStacks

std::array<THStackPtr, 4> AtTabFF::fStacks
protected

Definition at line 54 of file AtTabFF.h.


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