ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Main tab in viewer for 3D and pad selection. More...
#include <AtTabMain.h>
Public Member Functions | |
AtTabMain () | |
~AtTabMain () | |
void | InitTab () override |
void | Exec () override |
Called after the run's Exec() to update tab. More... | |
void | Update (DataHandling::AtSubject *sub) override |
void | DumpEvent (std::string file) |
void | SetThreshold (Int_t val) |
void | SetHitAttributes (TAttMarker attr) |
void | SetMultiHit (Int_t hitMax) |
![]() | |
AtTabBase (TString tabName) | |
virtual | ~AtTabBase ()=default |
void | Init () |
Called in the init stage of the run. More... | |
AtTabInfo * | GetTabInfo () |
void | SetTabName (TString name) |
![]() | |
virtual | ~AtObserver ()=default |
Static Public Member Functions | |
static void | SelectPad () |
Protected Types | |
using | TEvePointSetPtr = std::unique_ptr< TEvePointSet > |
using | TEveEventManagerPtr = std::unique_ptr< TEveEventManager > |
Protected Member Functions | |
void | MakeTab (TEveWindowSlot *slot) override |
Create the gui components of the tab in the passed window slot. More... | |
virtual void | UpdateRenderState () |
Color_t | GetTrackColor (int i) |
void | SetPointsFromHits (TEvePointSet &hitSet, const std::vector< std::unique_ptr< AtHit >> &hits) |
void | SetPointsFromHits (TEvePointSet &hitSet, const std::vector< AtHit * > &hits) |
void | SetPointsFromTrack (TEvePointSet &hitSet, const AtTrack &track) |
![]() | |
template<typename T > | |
T * | GetFairRootInfo (std::string infoName=T::Class_Name()) |
Protected Attributes | |
TEveEventManagerPtr | fEveEvent {std::make_unique<TEveEventManager>("AtEvent")} |
TEvePointSetPtr | fHitSet {std::make_unique<TEvePointSet>("Hits")} |
TEveEventManagerPtr | fEvePatternEvent {std::make_unique<TEveEventManager>("AtPatternEvent")} |
TEvePointSetPtr | fNoiseHitSet {std::make_unique<TEvePointSet>("Noise")} |
std::vector< TEvePointSetPtr > | fPatternHitSets |
std::vector< TEveElement > | fPatterns |
Int_t | fThreshold {0} |
Int_t | fMaxHitMulti {10} |
TAttMarker | fHitAttr {kPink, kFullDotMedium, 1} |
TCanvas * | fCvsPadPlane {nullptr} |
TH2Poly * | fPadPlane {nullptr} |
TCanvas * | fCvsPadWave {nullptr} |
TH1I * | fPadWave {nullptr} |
DataHandling::AtPadNum * | fPadNum |
DataHandling::AtBranch * | fEventBranch |
DataHandling::AtBranch * | fRawEventBranch |
DataHandling::AtBranch * | fPatternEventBranch |
DataHandling::AtTreeEntry * | fEntry |
![]() | |
Int_t | fTabId {0} |
TString | fTabName |
std::unique_ptr< AtTabInfo > | fTabInfo {std::make_unique<AtTabInfo>()} |
Additional Inherited Members | |
![]() | |
static int | fNumTabs = 0 |
Main tab in viewer for 3D and pad selection.
Definition at line 34 of file AtTabMain.h.
|
protected |
Definition at line 37 of file AtTabMain.h.
|
protected |
Definition at line 36 of file AtTabMain.h.
AtTabMain::AtTabMain | ( | ) |
Definition at line 62 of file AtTabMain.cxx.
AtTabMain::~AtTabMain | ( | ) |
Definition at line 83 of file AtTabMain.cxx.
void AtTabMain::DumpEvent | ( | std::string | file | ) |
Definition at line 187 of file AtTabMain.cxx.
|
inlineoverridevirtual |
Called after the run's Exec()
to update tab.
Implements AtTabBase.
Definition at line 68 of file AtTabMain.h.
|
protected |
Definition at line 129 of file AtTabMain.cxx.
|
overridevirtual |
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 92 of file AtTabMain.cxx.
|
overrideprotectedvirtual |
Create the gui components of the tab in the passed window slot.
Implements AtTabBase.
Definition at line 375 of file AtTabMain.cxx.
|
static |
This function is responsible for selecting the pad we are currently examining and passing that onto AtViewerManager.
Definition at line 440 of file AtTabMain.cxx.
|
inline |
Definition at line 74 of file AtTabMain.h.
|
inline |
Definition at line 75 of file AtTabMain.h.
|
protected |
Definition at line 295 of file AtTabMain.cxx.
|
protected |
Definition at line 290 of file AtTabMain.cxx.
|
protected |
Definition at line 322 of file AtTabMain.cxx.
|
inline |
Definition at line 73 of file AtTabMain.h.
|
overridevirtual |
Implements DataHandling::AtObserver.
Definition at line 139 of file AtTabMain.cxx.
|
protectedvirtual |
Reimplemented in AtTabFission.
Definition at line 206 of file AtTabMain.cxx.
|
protected |
Definition at line 52 of file AtTabMain.h.
|
protected |
Definition at line 55 of file AtTabMain.h.
|
protected |
Definition at line 61 of file AtTabMain.h.
|
protected |
Definition at line 39 of file AtTabMain.h.
|
protected |
Definition at line 58 of file AtTabMain.h.
|
protected |
Definition at line 42 of file AtTabMain.h.
|
protected |
Definition at line 50 of file AtTabMain.h.
|
protected |
Definition at line 40 of file AtTabMain.h.
|
protected |
Definition at line 48 of file AtTabMain.h.
|
protected |
Definition at line 43 of file AtTabMain.h.
|
protected |
Definition at line 57 of file AtTabMain.h.
|
protected |
Definition at line 53 of file AtTabMain.h.
|
protected |
Definition at line 56 of file AtTabMain.h.
|
protected |
Definition at line 60 of file AtTabMain.h.
|
protected |
Definition at line 44 of file AtTabMain.h.
|
protected |
Definition at line 45 of file AtTabMain.h.
|
protected |
Definition at line 59 of file AtTabMain.h.
|
protected |
Definition at line 47 of file AtTabMain.h.