ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtViewerManager.h>
Public Member Functions | |
AtViewerManager (std::shared_ptr< AtMap > map) | |
~AtViewerManager () | |
void | AddTask (FairTask *task) |
void | AddTab (std::unique_ptr< AtTabBase > tab) |
void | Init () |
virtual void | Update (DataHandling::AtSubject *) override |
AtMap * | GetMap () |
AtEventSidebar * | GetSidebar () |
std::map< TString, std::vector< TString > > const & | GetBranchNames () const |
DataHandling::AtBranch & | GetRawEventBranch () |
DataHandling::AtBranch & | GetEventBranch () |
DataHandling::AtBranch & | GetPatternEventBranch () |
DataHandling::AtTreeEntry & | GetCurrentEntry () |
DataHandling::AtPadNum & | GetPadNum () |
void | SetCheckBranch (DataHandling::AtBranch &branch) |
virtual void | GotoEvent (Int_t event) |
void | NextEvent () |
void | PrevEvent () |
Static Public Member Functions | |
static AtViewerManager * | Instance () |
Event manager than allows for the addition arbitrary pads to expand behavior. Operates as a singleton who needs to be instatiated once with the detector map in use.
Tabs are added directly to AtEventManager (which creates a task used to update the pads as events are loaded or re-analyzed)
Definition at line 33 of file AtViewerManager.h.
AtViewerManager::AtViewerManager | ( | std::shared_ptr< AtMap > | map | ) |
Definition at line 48 of file AtViewerManager.cxx.
AtViewerManager::~AtViewerManager | ( | ) |
Definition at line 82 of file AtViewerManager.cxx.
void AtViewerManager::AddTab | ( | std::unique_ptr< AtTabBase > | tab | ) |
Definition at line 92 of file AtViewerManager.cxx.
void AtViewerManager::AddTask | ( | FairTask * | task | ) |
Definition at line 88 of file AtViewerManager.cxx.
|
inline |
Definition at line 68 of file AtViewerManager.h.
|
inline |
Definition at line 74 of file AtViewerManager.h.
|
inline |
Definition at line 72 of file AtViewerManager.h.
|
inline |
Definition at line 66 of file AtViewerManager.h.
|
inline |
Definition at line 75 of file AtViewerManager.h.
|
inline |
Definition at line 73 of file AtViewerManager.h.
|
inline |
Definition at line 71 of file AtViewerManager.h.
|
inline |
Definition at line 67 of file AtViewerManager.h.
|
inlinevirtual |
Main function for navigating to an event. Everything that changes event number should end up here
Definition at line 87 of file AtViewerManager.h.
void AtViewerManager::Init | ( | ) |
Definition at line 97 of file AtViewerManager.cxx.
|
static |
Definition at line 43 of file AtViewerManager.cxx.
void AtViewerManager::NextEvent | ( | ) |
Definition at line 175 of file AtViewerManager.cxx.
void AtViewerManager::PrevEvent | ( | ) |
Definition at line 186 of file AtViewerManager.cxx.
|
inline |
Definition at line 77 of file AtViewerManager.h.
|
overridevirtual |
Implements DataHandling::AtObserver.
Definition at line 168 of file AtViewerManager.cxx.