76   if(times <= 0) times = 1;
 
   78   Int_t lastentrynumber = 
static_cast<Int_t
> (tree->GetEntries());
 
   84                 TString::Format(
"Tree Histogram Entry: %s Reached end of tree %s. Draw() is stopped. ", GetName(), tree->GetName()).Data());
 
   85   Int_t startindex = lastentrynumber - times;
 
  101         times=lastentrynumber-startindex;
 
  116      std::cout <<
"Passing over end of tree - NEVER COME HERE!!!" << std::endl;
 
  119      std::cout << 
"\t -- startindex: "<< startindex<< std::endl;
 
  120      std::cout << 
"\t -- times: "<< times<< std::endl;
 
  121      std::cout << 
"\t -- treeentries: "<< lastentrynumber<< std::endl;
 
  128   TDirectory *savdir = gDirectory;
 
  130   tree->Draw(drawexp.Data(), 
fxCutExp.Data(), 
"goff", times, startindex);
 
 
virtual void Reset()
Resets this entry to an initial status.
void EnableProcessing(Bool_t on=kTRUE)
Switch the autoprocessing state of this entry.
TGo4DynamicEntry()
default ctor for streamer.
Bool_t IsEnabledProcessing() const
Bool_t fbNewHistogram
True before Process is called the first time.
TString fxTreeName
The Treename to find the tree.
const char * GetTreeName() const
const char * GetHistogramName() const
Get name of the external histogram to be filled.
Int_t fiLastEvent
index of last tree entry of the previous Process() call
const char * GetVarExp() const
TString fxVarExp
The varexp string needed by TTree:Draw()
TString fxHistogramName
The target histogram name to be filled.
void Print(Option_t *opt="") const override
TGo4TreeHistogramEntry()
default ctor for streamer.
const char * GetCutExp() const
void ProcessTreeNew(TTree *tree, Int_t times)
void Reset() override
Resets this entry to an initial status.
static const char * fgcENTRYSUF
suffix for entryname to differ from histogram name
TString fxCutExp
The selection string needed by TTree:Draw()
virtual ~TGo4TreeHistogramEntry()