GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4TreeHistogramEntry.h>
Public Member Functions | |
TGo4TreeHistogramEntry () | |
TGo4TreeHistogramEntry (const char *histogramname, const char *treename, const char *varexp, const char *cutexp) | |
virtual | ~TGo4TreeHistogramEntry () |
void | SetHistogramName (const char *name) |
const char * | GetHistogramName () const |
void | SetTreeName (const char *name) |
const char * | GetTreeName () const |
void | SetVarExp (const char *exp) |
const char * | GetVarExp () const |
void | SetCutExp (const char *cut) |
const char * | GetCutExp () const |
void | SetDynListInterval (Int_t value) |
Int_t | GetDynListInterval () const |
virtual void | Reset () |
virtual void | Print (Option_t *="") const |
Public Member Functions inherited from TGo4DynamicEntry | |
TGo4DynamicEntry () | |
TGo4DynamicEntry (const char *name, const char *title="This is a Go4 dynamic entry") | |
virtual | ~TGo4DynamicEntry () |
void | EnableProcessing (Bool_t on=kTRUE) |
Bool_t | IsEnabledProcessing () const |
Static Public Attributes | |
static const char * | fgcENTRYSUF ="-DL" |
Protected Member Functions | |
void | ProcessTreeNew (TTree *tree, Int_t times) |
Private Attributes | |
TString | fxHistogramName |
TString | fxTreeName |
TString | fxVarExp |
TString | fxCutExp |
Int_t | fiDynListInterval |
Bool_t | fbNewHistogram |
Int_t | fiLastEvent |
Friends | |
class | TGo4DynamicList |
Additional Inherited Members | |
Protected Attributes inherited from TGo4DynamicEntry | |
Bool_t | fbProcessEntry |
Dynamic list entry which links a histogram to a certain tree. Method Process performs a single event TTree::Draw on this tree and directs the output to the histogram. String Parameters Varexp and Selection of Draw() are stored in the entry and are used for each Draw. This dynamic list entry does not use the Go4 Conditions and event index scheme!
Definition at line 34 of file TGo4TreeHistogramEntry.h.
TGo4TreeHistogramEntry::TGo4TreeHistogramEntry | ( | ) |
default ctor for streamer.
Definition at line 26 of file TGo4TreeHistogramEntry.cxx.
References TGo4DynamicEntry::EnableProcessing(), fxTreeName, and GO4TRACE.
TGo4TreeHistogramEntry::TGo4TreeHistogramEntry | ( | const char * | histogramname, |
const char * | treename, | ||
const char * | varexp, | ||
const char * | cutexp | ||
) |
Definition at line 40 of file TGo4TreeHistogramEntry.cxx.
References TGo4DynamicEntry::EnableProcessing(), fgcENTRYSUF, GO4TRACE, and Reset().
|
virtual |
Definition at line 60 of file TGo4TreeHistogramEntry.cxx.
References GO4TRACE.
|
inline |
Definition at line 61 of file TGo4TreeHistogramEntry.h.
References fxCutExp.
Referenced by Print(), and TGo4EditDynEntry::RefreshWidget().
|
inline |
Definition at line 64 of file TGo4TreeHistogramEntry.h.
References fiDynListInterval.
Referenced by TGo4ComSetObject::ExeSetDyn(), and TGo4EditDynEntry::RefreshWidget().
|
inline |
Get name of the external histogram to be filled.
Definition at line 52 of file TGo4TreeHistogramEntry.h.
References fxHistogramName.
Referenced by TGo4EditDynEntry::PrepareEntryForAnalysis(), Print(), TGo4DynamicList::ProcessTEntry(), ProcessTreeNew(), and TGo4EditDynEntry::RefreshWidget().
|
inline |
Definition at line 55 of file TGo4TreeHistogramEntry.h.
References fxTreeName.
Referenced by TGo4EditDynEntry::PrepareEntryForAnalysis(), Print(), TGo4DynamicList::ProcessTEntry(), and TGo4EditDynEntry::RefreshWidget().
|
inline |
Definition at line 58 of file TGo4TreeHistogramEntry.h.
References fxVarExp.
Referenced by Print(), ProcessTreeNew(), and TGo4EditDynEntry::RefreshWidget().
|
virtual |
Definition at line 136 of file TGo4TreeHistogramEntry.cxx.
References GetCutExp(), GetHistogramName(), GetTreeName(), GetVarExp(), and TGo4DynamicEntry::IsEnabledProcessing().
|
protected |
Definition at line 73 of file TGo4TreeHistogramEntry.cxx.
References fiLastEvent, fxCutExp, GetHistogramName(), GetVarExp(), and TGo4Status::kGo4BackStoreReset.
Referenced by TGo4DynamicList::ProcessTEntry().
|
virtual |
Resets this entry to an initial status.
Reimplemented from TGo4DynamicEntry.
Definition at line 65 of file TGo4TreeHistogramEntry.cxx.
References fbNewHistogram, fiLastEvent, GO4TRACE, and TGo4DynamicEntry::Reset().
Referenced by TGo4TreeHistogramEntry().
|
inline |
Definition at line 60 of file TGo4TreeHistogramEntry.h.
References fxCutExp.
Referenced by TGo4EditDynEntry::CutExprEdit_textChanged().
|
inline |
Definition at line 63 of file TGo4TreeHistogramEntry.h.
References fiDynListInterval.
Referenced by TGo4EditDynEntry::DynIntervalSpin_valueChanged(), and TGo4DynamicList::ProcessTEntry().
|
inline |
Set name of the external histogram to be filled.
Definition at line 50 of file TGo4TreeHistogramEntry.h.
References fxHistogramName.
Referenced by TGo4EditDynEntry::DropHistogram(), and TGo4EditDynEntry::PrepareEntryForAnalysis().
|
inline |
Definition at line 54 of file TGo4TreeHistogramEntry.h.
References fxTreeName.
Referenced by TGo4EditDynEntry::DropTree(), and TGo4EditDynEntry::PrepareEntryForAnalysis().
|
inline |
Definition at line 57 of file TGo4TreeHistogramEntry.h.
References fxVarExp.
Referenced by TGo4EditDynEntry::DrawExprEdit_textChanged().
|
friend |
Definition at line 36 of file TGo4TreeHistogramEntry.h.
|
private |
True before Process is called the first time. Then the histogram created by the TTree::Draw is added to the histogram folder once.
Definition at line 95 of file TGo4TreeHistogramEntry.h.
Referenced by TGo4DynamicList::ProcessTEntry(), and Reset().
|
static |
suffix for entryname to differ from histogram name
Definition at line 72 of file TGo4TreeHistogramEntry.h.
Referenced by TGo4TreeHistogramEntry().
|
private |
Definition at line 91 of file TGo4TreeHistogramEntry.h.
Referenced by GetDynListInterval(), and SetDynListInterval().
|
private |
index of last tree entry of the previous Process() call
Definition at line 98 of file TGo4TreeHistogramEntry.h.
Referenced by ProcessTreeNew(), and Reset().
|
private |
The selection string needed by TTree:Draw()
Definition at line 89 of file TGo4TreeHistogramEntry.h.
Referenced by GetCutExp(), ProcessTreeNew(), and SetCutExp().
|
private |
The target histogram name to be filled
Definition at line 80 of file TGo4TreeHistogramEntry.h.
Referenced by GetHistogramName(), and SetHistogramName().
|
private |
The Treename to find the tree
Definition at line 83 of file TGo4TreeHistogramEntry.h.
Referenced by GetTreeName(), SetTreeName(), and TGo4TreeHistogramEntry().
|
private |
The varexp string needed by TTree:Draw()
Definition at line 86 of file TGo4TreeHistogramEntry.h.
Referenced by GetVarExp(), and SetVarExp().