19#include "TDataMember.h" 
   88  GO4TRACE((12,
"TGo4DynamicEntry::SetConVarName(UInt_t, char*)",__LINE__, __FILE__));
 
 
  100   GO4TRACE((12,
"TGo4DynamicEntry::SetConEventName(UInt_t, char*)",__LINE__, __FILE__));
 
 
  134   if (!event || !member || !member->IsBasic()) 
return;
 
  136   fxHistType[ix] = member->GetDataType()->GetType();
 
 
  144   if (!event || !member || !member->IsBasic()) 
return;
 
  146   fxCondType[ix] = member->GetDataType()->GetType();
 
 
  153       case kUInt_t:     
return *((UInt_t *)ptr);
 
  154       case kInt_t:      
return *((Int_t *)ptr);
 
  155       case kULong_t:    
return *((ULong_t *)ptr);
 
  156       case kLong_t:     
return *((Long_t *)ptr);
 
  157       case kULong64_t:  
return *((ULong64_t *)ptr);
 
  158       case kLong64_t:   
return *((Long64_t *)ptr);
 
  159       case kUShort_t:   
return *((UShort_t *)ptr);
 
  160       case kShort_t:    
return *((Short_t *)ptr);
 
  161       case kUChar_t:    
return *((UChar_t *)ptr);
 
  162       case kChar_t:     
return *((Char_t *)ptr);
 
  163       case kBool_t:     
return *((Bool_t *)ptr);
 
  164       case kFloat_t:    
return *((Float_t *)ptr);
 
  165       case kDouble_t:   
return *((Double_t *)ptr);
 
  166       case kDouble32_t: 
return *((Double32_t *)ptr);
 
 
  188   for (UInt_t j = 0; j < dimension; ++j)
 
 
  217   for (Int_t j = 0; j < dimension; ++j)
 
  224        if(evvalid[0] && evvalid[1]) {
 
  226           if(his2) his2->Fill(dat[0],dat[1]);
 
  230        if(evvalid[0] && evvalid[1] && evvalid[2]) {
 
  232           if (his3) his3->Fill(dat[0], dat[1], dat[2]);
 
  237              TString::Format(
"Dynamic Histogram Entry %s Process error: Wrong histogram dimension %d !!!", GetName(), dimension).Data());
 
 
  261   TROOT::IndentLevel();
 
  262   std::cout <<
"-Dynamic Histogram Entry " << GetName()<<
" :"<<std::endl;
 
  263   TROOT::IncreaseDirLevel();
 
  264   TROOT::IndentLevel();
 
  267                        else std::cout <<
"\t-- Disabled --" << std::endl;
 
  269   TROOT::IndentLevel();
 
  272      TROOT::IndentLevel();
 
  274                << 
"\t ConVar(" << i << 
"): " << 
GetConVarName(i) << std::endl;
 
  276   TROOT::IndentLevel();
 
  279      TROOT::IndentLevel();
 
  283   TROOT::DecreaseDirLevel();
 
  284   TROOT::IndentLevel();
 
  285   std::cout <<
"-End "<<GetName()<<
"-----------" << std::endl;
 
 
TGo4DynamicEntry()
default ctor for streamer.
 
Bool_t IsEnabledProcessing() const
 
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 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.
 
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.
 
const char * GetConEventName(Int_t ix) const
 
void InitCondPointer(Int_t ix, TObject *event, TDataMember *member, Long_t offset)
 
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 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.