v2.10-0 (21000JUN2005)

Go4CommandsAnalysis
Class TGo4ComAddTreeHistogram


class TGo4ComAddTreeHistogram
derived from TGo4AnalysisCommand

Adds a tree-histogram entry into dynamic list.
Tree will be searched by name and linked
to that entry.
If histogram of given name does not exist, it
will be created on first TTree::Draw. Varexp
string and TCut is used to define what to draw.
Tree will be processed event by event within
the analysis MainCycle.

Author:
J. Adamczewski
Since: 01-Nov-2001

Field Summary
 private TStringfxCut
          String with cut expression.
 private TStringfxHistoName
          Name of the histogram for dynamic list.
 private TStringfxTreeName
          Name of Tree linked to that histogram.
 private TStringfxVarexp
          Variable expression defining what to draw in the histogram.

Fields inherited from class Go4CommandsBase.TGo4Command
fbIsEnabled, fbIsExclusive, fbIsLocal, fbIsSynchron, fgcMODEDESCRIPTION, fiCommandID, fiMode, fiProtection, fiVersion, fxReceiverBase

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4ComAddTreeHistogram()
           
TGo4ComAddTreeHistogram(const char * histogramname, const char * treename, const char * varexp, const char * cut)
           

Destructor Summary
 virtual synchronized ~TGo4ComAddTreeHistogram()
           

Method Summary
 Int_tExeCom()
           
 voidSetCut(const char * cut)
          Set TCut to be applied on this tree histogram.
 voidSetHistogramName(const char * name)
          Set histogram (dynamic entry) name.
 voidSetTreeName(const char * name)
          Set tree name.
 voidSetVarexp(const char * exp)
          Set dynamic entry index name.

Methods inherited from class Go4CommandsAnalysis.TGo4AnalysisCommand
operator=, RefuseCom

Methods inherited from class Go4CommandsBase.TGo4Command
GetCommandID, GetMode, GetModeDescription, GetProtection, GetReceiverName, GetTaskName, Help, IsEnabled, IsExclusive, IsLocal, IsSynchron, Log, SetDescription, SetMode, SetProtection, SetReceiver, SetReceiverName, SetTaskName, UnExeCom, What

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxCut

private TString fxCut
String with cut expression.

fxHistoName

private TString fxHistoName
Name of the histogram for dynamic list.

fxTreeName

private TString fxTreeName
Name of Tree linked to that histogram.

fxVarexp

private TString fxVarexp
Variable expression defining what to draw in the histogram.
Constructor Detail

TGo4ComAddTreeHistogram

public TGo4ComAddTreeHistogram()

TGo4ComAddTreeHistogram

public TGo4ComAddTreeHistogram(const char * histogramname, const char * treename, const char * varexp, const char * cut)
Method Detail

~TGo4ComAddTreeHistogram

public virtual synchronized ~TGo4ComAddTreeHistogram()
Method Detail

ExeCom

public Int_t ExeCom()

SetCut

public void SetCut(const char * cut)
Set TCut to be applied on this tree histogram.

SetHistogramName

public void SetHistogramName(const char * name)
Set histogram (dynamic entry) name.

SetTreeName

public void SetTreeName(const char * name)
Set tree name.

SetVarexp

public void SetVarexp(const char * exp)
Set dynamic entry index name.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005