#include <TGo4TreeHistogramEntry.h>
Inheritance diagram for TGo4TreeHistogramEntry:
Public Methods | |
TGo4TreeHistogramEntry () | |
default ctor for streamer. More... | |
virtual | ~TGo4TreeHistogramEntry () |
TGo4TreeHistogramEntry (const Text_t *histogramname, TTree *tree, const Text_t *varexp, const TCut &cut) | |
TGo4TreeHistogramEntry (const Text_t *histogramname, const Text_t *treename, const Text_t *varexp, const TCut &cut) | |
TGo4DynamicEntryStatus * | CreateStatus () |
Create a status object containing information such as the object names. More... | |
Int_t | Process () |
Process the dynamic entry. More... | |
Int_t | ProcessTree (Int_t times) |
Process the last "times" events in the tree. More... | |
virtual void | Reset () |
Resets this entry to an initial status. More... | |
virtual void | SetStatus (TGo4DynamicEntryStatus *state) |
Set this dynamic entry to the values of status object state. More... | |
Static Public Attributes | |
const Text_t | fgcENTRYSUF [] = "-DL" |
suffix for entryname to differ from histogram name. More... | |
Private Methods | |
void | UpdateStatus (TGo4DynamicEntryStatus *state) |
method needed by method CreateStatus of any status subclasses to set the values of the clienttask specific part of the status object. More... | |
Private Attributes | |
TTree * | fxTree |
Tree which is used to fill this histogram. More... | |
TString | fxHistogramName |
The target histogram name to be filled. More... | |
TString | fxTreeName |
The Treename to find the tree. More... | |
TString | fxVarexp |
The varexp string needed by TTree:Draw(). More... | |
TString | fxDrawexp |
The complete TTree:Draw() expression, i.e. More... | |
TCut | fxSelection |
The selection string needed by TTree:Draw(). More... | |
Bool_t | fbNewHistogram |
True before Process is called the first time. More... | |
Int_t | fiLastEvent |
index of last tree entry of the previous Process() call. More... |
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 42 of file TGo4TreeHistogramEntry.h.
|
default ctor for streamer.
Definition at line 69 of file TGo4TreeHistogramEntry.cxx. References TGo4DynamicEntry::EnableProcessing(), fxDrawexp, fxTreeName, and TRACE. |
|
Definition at line 81 of file TGo4TreeHistogramEntry.cxx. References TRACE. |
|
Definition at line 30 of file TGo4TreeHistogramEntry.cxx. References TGo4DynamicEntry::EnableProcessing(), fgcENTRYSUF, fxDrawexp, fxTree, fxTreeName, and TRACE. |
|
Definition at line 51 of file TGo4TreeHistogramEntry.cxx. References TGo4DynamicEntry::EnableProcessing(), fgcENTRYSUF, fxDrawexp, and TRACE. |
|
Create a status object containing information such as the object names. Can be sent to the Display to show the existing objects and their relations. Memento mechanism is _not_ provided here, since we would not change the object names afterwards. Implements TGo4DynamicEntry. Definition at line 88 of file TGo4TreeHistogramEntry.cxx. References TRACE, and UpdateStatus(). |
|
Process the dynamic entry.
Implements TGo4DynamicEntry. Definition at line 163 of file TGo4TreeHistogramEntry.cxx. References TGo4Analysis::CheckDynListInterval(), TGo4DynamicEntry::fbProcessEntry, TGo4Analysis::Instance(), ProcessTree(), and TRACE. |
|
Process the last "times" events in the tree.
Definition at line 176 of file TGo4TreeHistogramEntry.cxx. References TGo4Analysis::AddHistogram(), fbNewHistogram, fiLastEvent, fxDrawexp, fxHistogramName, fxSelection, fxTree, fxTreeName, TGo4Analysis::GetHistogram(), TGo4Analysis::GetTree(), TGo4Analysis::Instance(), TGo4Status::kGo4BackStoreReset, TGo4Status::kGo4CanDelete, and TRACE. Referenced by Process(). |
|
Resets this entry to an initial status.
Reimplemented from TGo4DynamicEntry. Definition at line 123 of file TGo4TreeHistogramEntry.cxx. References fbNewHistogram, fiLastEvent, fxTree, TGo4DynamicEntry::Reset(), and TRACE. |
|
Set this dynamic entry to the values of status object state.
Reimplemented from TGo4DynamicEntry. Definition at line 133 of file TGo4TreeHistogramEntry.cxx. References fxDrawexp, fxHistogramName, fxSelection, fxTreeName, fxVarexp, TGo4TreeHistogramEntryStatus::GetHistogramName(), TGo4TreeHistogramEntryStatus::GetSelection(), TGo4TreeHistogramEntryStatus::GetTreeName(), TGo4TreeHistogramEntryStatus::GetVarexp(), TGo4DynamicEntry::SetStatus(), and TRACE. Referenced by TGo4TreeHistogramEntryStatus::CreateDynamicEntry(). |
|
method needed by method CreateStatus of any status subclasses to set the values of the clienttask specific part of the status object.
Reimplemented from TGo4DynamicEntry. Definition at line 97 of file TGo4TreeHistogramEntry.cxx. References TGo4Analysis::Exists(), fxHistogramName, fxSelection, fxTreeName, fxVarexp, TGo4Analysis::Instance(), TGo4TreeHistogramEntryStatus::SetDynListInterval(), TGo4TreeHistogramEntryStatus::SetHistogramName(), TGo4TreeHistogramEntryStatus::SetSelection(), TGo4TreeHistogramEntryStatus::SetTreeName(), TGo4TreeHistogramEntryStatus::SetVarexp(), TRACE, and TGo4DynamicEntry::UpdateStatus(). Referenced by CreateStatus(). |
|
suffix for entryname to differ from histogram name.
Definition at line 28 of file TGo4TreeHistogramEntry.cxx. Referenced by TGo4TreeHistogramEntry(). |
|
Tree which is used to fill this histogram.
Definition at line 95 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), Reset(), and TGo4TreeHistogramEntry(). |
|
The target histogram name to be filled.
Definition at line 98 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), SetStatus(), and UpdateStatus(). |
|
The Treename to find the tree.
Definition at line 101 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), SetStatus(), TGo4TreeHistogramEntry(), and UpdateStatus(). |
|
The varexp string needed by TTree:Draw().
Definition at line 104 of file TGo4TreeHistogramEntry.h. Referenced by SetStatus(), and UpdateStatus(). |
|
The complete TTree:Draw() expression, i.e. varexp>>+histogram Definition at line 107 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), SetStatus(), and TGo4TreeHistogramEntry(). |
|
The selection string needed by TTree:Draw().
Definition at line 110 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), SetStatus(), and UpdateStatus(). |
|
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 114 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), and Reset(). |
|
index of last tree entry of the previous Process() call.
Definition at line 117 of file TGo4TreeHistogramEntry.h. Referenced by ProcessTree(), and Reset(). |