| ATTPCROOT
    0.3.0-alpha
    A ROOT-based framework for analyzing data from active target detectors | 
 
 
 
Go to the documentation of this file.
   13 constexpr 
auto cRED = 
"\033[1;31m";
 
   16 constexpr 
auto cGREEN = 
"\033[1;32m";
 
   17 constexpr 
auto cBLUE = 
"\033[1;34m";
 
   24       throw "AtViewerManager must be initialized before creating tabs!";
 
   36    std::cout << 
" =====  AtTabMacro::Init =====" << std::endl;
 
   42    std::cout << 
" AtTabMacro::Init : Initialization complete! " 
  
Contains all the data needed by an AtTab.
void SetDrawPadFunction(std::function< void(AtTabInfo(*), Int_t)> function, int row=0, int col=0)
void SetDrawEventFunction(std::function< void(AtTabInfo(*))> function, int row=0, int col=0)
void Detach(AtObserver *observer)
Detach an observer to stop getting notified when this subject changes.
static AtViewerManager * Instance()
void MakeTab(TEveWindowSlot *slot) override
Create the gui components of the tab in the passed window slot.
DataHandling::AtPadNum & GetPadNum()
std::unordered_map< Int_t, std::function< void(AtTabInfo(*))> > fDrawEventMap
DataHandling::AtPadNum * fPadNum
AtTabMacro(int nRow=1, int nCol=1, TString name="Macro")
Abstract class for a tab composed of a single TCanvas.
std::unordered_map< Int_t, std::function< void(AtTabInfo(*), Int_t)> > fDrawPadMap
void Exec() override
Called after the run's Exec() to update tab.
void Attach(AtObserver *observer)
Attach an observer to get notified when this subject changes.
void SetDrawTreeFunction(std::function< void(AtTabInfo(*))> function, int row=0, int col=0)
void Update(DataHandling::AtSubject *sub) override
Tab for drawing arbitrary functions (probably needs refactor)
std::unordered_map< Int_t, std::function< void(AtTabInfo(*))> > fDrawTreeMap
std::unique_ptr< AtTabInfo > fTabInfo
void MakeTab(TEveWindowSlot *) override
Create the gui components of the tab in the passed window slot.