14#ifndef TGO4HISTOGRAMENTRY_H
15#define TGO4HISTOGRAMENTRY_H
21#define __MAXHISDIM__ 3
22#define __MAXCONDIM__ 2
82 void Reset()
override;
84 void Print(Option_t *opt =
"")
const override;
96 void InitHistPointer(Int_t ix, TObject *event, TDataMember *member, Long_t offset);
98 void InitCondPointer(Int_t ix, TObject *event, TDataMember *member, Long_t offset);
TGo4DynamicEntry()
default ctor for streamer.
static const char * fgcNOCONDITION
Text to indicate that no condition is used.
TObject * fxHisEvents[__MAXHISDIM__]
Pointer for event objects, class does not known to entry itself.
const char * GetConVarName(Int_t ix) const
TString fxConditionName
Name of the condition to be applied for this entry.
void SetHistogramName(const char *name)
Set name of the external histogram to be filled.
void SetConVarName(Int_t ix, const char *name)
Set Name of the data value (eventclass member) that is to be tested by condition for axis number ix.
TH1 * fxHistogram
The (histogram) object kept by this entry.
Double_t GetPtrValue(Int_t type, void *ptr)
const char * GetHistogramName() const
Get name of the external histogram to be filled.
void InitHistPointer(Int_t ix, TObject *event, TDataMember *member, Long_t offset)
TObject * fxConEvents[__MAXCONDIM__]
Array of pointers to the event structure that contains the data for the condition test.
void * fxCondPtr[__MAXCONDIM__]
TString fxHisEventName[__MAXHISDIM__]
Array of names of the events which contain the data members to be filled into the x,...
TString fxConEventName[__MAXCONDIM__]
Array of names of the events which contain the data members to be tested with the x,...
static const char * Get_fgcNOCONDITION()
static const char * Get_fgcNOEVENT()
Bool_t TestConditionNew()
const char * GetHistEventName(Int_t ix) const
static const char * fgcNOEVENT
Text to indicate that no condition is used.
Bool_t NeedInitialisation() const
TString fxConVarName[__MAXCONDIM__]
Name of the eventstructure datamembers that shall be tested with the condition.
static const char * fgcNODATA
Text to indicate that no condition is used.
void SetConditionName(const char *name)
Set name of the external condition to be referenced.
const char * GetConEventName(Int_t ix) const
void InitCondPointer(Int_t ix, TObject *event, TDataMember *member, Long_t offset)
friend class TGo4DynamicList
const char * GetConditionName() const
void Reset() override
Resets this entry to an initial status.
void SetHisVarName(Int_t ix, const char *name)
Set Name of the data member that is to be filled in histogram for axis number ix.
TString fxHisVarName[__MAXHISDIM__]
Array of names of the x,y,z,.
TString fxHistogramName
Title of the analysis object, for example a histogram.
void SetHisEventName(Int_t ix, const char *name)
Set Name of the event object that contains the data to be filled in histogram, for axis number ix.
void ProcessNew(Bool_t *evvalid)
virtual ~TGo4HistogramEntry()
void SetNeedInitialisation(Bool_t on=kTRUE)
void RecursiveRemove(TObject *obj) override
void Print(Option_t *opt="") const override
Bool_t fbNeedInitialisation
const char * GetHistVarName(Int_t ix) const
void SetConEventName(Int_t ix, const char *name)
Set Name of the eventstructure object that is to be tested by the condition for axis number ix.
static const char * Get_fgcNODATA()
Int_t fxCondType[__MAXCONDIM__]
Array of pointers and data types to check condition.
void * fxHistPtr[__MAXHISDIM__]
Int_t fxHistType[__MAXHISDIM__]
Array of pointers and data types to fill histogram.
TGo4Condition * fxCondition
Condition to be checked on processing this entry.