#include <TGo4HistogramEntry.h>
Inheritance diagram for TGo4HistogramEntry:
Public Methods | |
TGo4HistogramEntry (const Text_t *name) | |
TGo4HistogramEntry () | |
virtual | ~TGo4HistogramEntry () |
TGo4DynamicEntryStatus * | CreateStatus () |
Create a status object containing information such as the object names. More... | |
Int_t | Process () |
Process the dynamic entry. More... | |
void | SetHistogramName (const Text_t *name) |
Set name of the external histogram to be filled. More... | |
void | SetHisVarName (UInt_t ix, const Text_t *name) |
Set Name of the data member that is to be filled in histogram for axis number ix. More... | |
void | SetHisEventName (UInt_t ix, const Text_t *name) |
Set Name of the event object that contains the data to be filled in histogram, for axis number ix. More... | |
virtual void | CleanupHistogram (TH1 *his) |
If histogram his matches the internal histogram, the reference to internal histogram will be reset to 0. More... | |
virtual void | Reset () |
Resets this entry to an initial status. More... | |
virtual void | InitPointers () |
Initialize the pointers to external objects. More... | |
virtual void | SetStatus (TGo4DynamicEntryStatus *state) |
Set this dynamic entry to the values of status object state. More... | |
virtual void | CleanupEvent (TGo4EventElement *ev) |
If event ev matches one internal event, the reference to event will be reset to 0. More... | |
Static Public Attributes | |
const UInt_t | fguMAXHISDIMENSION = __MAXHISDIM__ |
maximum dimension for histogram variable array. More... | |
Private Methods | |
void | UpdateStatus (TGo4DynamicEntryStatus *state) |
Create a status object containing information such as the object names. More... | |
Private Attributes | |
TH1 * | fxHistogram |
The (histogram) object kept by this entry. More... | |
TString | fxHistogramName |
Title of the analysis object, for example a histogram. More... | |
TString | fxHisVarName [__MAXHISDIM__] |
Array of names of the x,y,z,.. More... | |
TString | fxHisEventName [__MAXHISDIM__] |
Array of names of the events which contain the data members to be filled into the x,y,z,.. More... | |
TGo4EventElement * | fxHisEvent [__MAXHISDIM__] |
Array of pointers to the events containing the data to be filled into x,y,z,.. More... | |
Float_t * | fxHisDataFloat [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Double_t * | fxHisDataDouble [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Int_t * | fxHisDataInt [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Short_t * | fxHisDataShort [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Char_t * | fxHisDataChar [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Long_t * | fxHisDataLong [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
Bool_t * | fxHisDataBool [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
UInt_t * | fxHisDataUInt [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
UShort_t * | fxHisDataUShort [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
UChar_t * | fxHisDataUChar [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... | |
ULong_t * | fxHisDataULong [__MAXHISDIM__] |
Array of pointers to the data that is filled into x,y,z,.. More... |
Definition at line 38 of file TGo4HistogramEntry.h.
|
Definition at line 34 of file TGo4HistogramEntry.cxx. References TGo4DynamicEntry::fgcNOCONDITION, TGo4DynamicEntry::fgcNODATA, TGo4DynamicEntry::fgcNOEVENT, fguMAXHISDIMENSION, fxHistogramName, Reset(), SetHisEventName(), SetHisVarName(), and TRACE. |
|
Definition at line 49 of file TGo4HistogramEntry.cxx. References TRACE. |
|
Definition at line 63 of file TGo4HistogramEntry.cxx. References 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 159 of file TGo4HistogramEntry.cxx. References TRACE, and UpdateStatus(). |
|
Process the dynamic entry.
Implements TGo4DynamicEntry. Definition at line 72 of file TGo4HistogramEntry.cxx. References TGo4DynamicEntry::fbPointerInitDone, TGo4DynamicEntry::fbProcessEntry, fxHisDataBool, fxHisDataChar, fxHisDataDouble, fxHisDataFloat, fxHisDataInt, fxHisDataLong, fxHisDataShort, fxHisDataUChar, fxHisDataUInt, fxHisDataULong, fxHisDataUShort, fxHisEvent, fxHistogram, InitPointers(), TGo4EventElement::IsValid(), TGo4DynamicEntry::TestCondition(), and TRACE. |
|
Set name of the external histogram to be filled.
Definition at line 192 of file TGo4HistogramEntry.cxx. References fxHistogramName, and TRACE. Referenced by SetStatus(). |
|
Set Name of the data member that is to be filled in histogram for axis number ix. ix is 0 for x-axis, 1 for y-axis, etc. Definition at line 198 of file TGo4HistogramEntry.cxx. References fguMAXHISDIMENSION, fxHisVarName, and TRACE. Referenced by SetStatus(), and TGo4HistogramEntry(). |
|
Set Name of the event object that contains the data to be filled in histogram, for axis number ix. ix is 0 for x-axis, 1 for y-axis, etc. Definition at line 205 of file TGo4HistogramEntry.cxx. References fguMAXHISDIMENSION, fxHisEventName, and TRACE. Referenced by SetStatus(), and TGo4HistogramEntry(). |
|
If histogram his matches the internal histogram, the reference to internal histogram will be reset to 0. This is used when external histogram is deleted to avoid dead pointers. Reimplemented from TGo4DynamicEntry. Definition at line 370 of file TGo4HistogramEntry.cxx. References TGo4DynamicEntry::CleanupHistogram(), fxHistogram, Reset(), and TRACE. |
|
Resets this entry to an initial status.
Reimplemented from TGo4DynamicEntry. Definition at line 169 of file TGo4HistogramEntry.cxx. References fguMAXHISDIMENSION, fxHisDataBool, fxHisDataChar, fxHisDataDouble, fxHisDataFloat, fxHisDataInt, fxHisDataLong, fxHisDataShort, fxHisDataUChar, fxHisDataUInt, fxHisDataULong, fxHisDataUShort, fxHisEvent, fxHistogram, TGo4DynamicEntry::Reset(), and TRACE. Referenced by CleanupEvent(), CleanupHistogram(), and TGo4HistogramEntry(). |
|
Initialize the pointers to external objects. The external objects (e.g. condition, histogram, data) will be searched by name in the Go4 folders. Reimplemented from TGo4DynamicEntry. Definition at line 212 of file TGo4HistogramEntry.cxx. References TGo4DynamicEntry::fbPointerInitDone, TGo4DynamicEntry::fgcNOCONDITION, TGo4DynamicEntry::fgcNODATA, TGo4DynamicEntry::fgcNOEVENT, fguMAXHISDIMENSION, TGo4DynamicEntry::FindDataMember(), fxHisDataBool, fxHisDataChar, fxHisDataDouble, fxHisDataFloat, fxHisDataInt, fxHisDataLong, fxHisDataShort, fxHisDataUChar, fxHisDataUInt, fxHisDataULong, fxHisDataUShort, fxHisEvent, fxHisEventName, fxHistogram, fxHistogramName, fxHisVarName, TGo4Analysis::GetEventStructure(), TGo4Analysis::GetHistogram(), TGo4DynamicEntry::InitPointers(), TGo4Analysis::Instance(), and TRACE. Referenced by Process(). |
|
Set this dynamic entry to the values of status object state.
Reimplemented from TGo4DynamicEntry. Definition at line 344 of file TGo4HistogramEntry.cxx. References fguMAXHISDIMENSION, TGo4HistogramEntryStatus::GetHisEventName(), TGo4HistogramEntryStatus::GetHistogramName(), TGo4HistogramEntryStatus::GetHisVarName(), i, SetHisEventName(), SetHistogramName(), SetHisVarName(), TGo4DynamicEntry::SetStatus(), and TRACE. Referenced by TGo4AnalysisObjectManager::AddDynamicHistogram(), and TGo4HistogramEntryStatus::CreateDynamicEntry(). |
|
If event ev matches one internal event, the reference to event will be reset to 0. This is used when external event is deleted to avoid dead pointers. May be overloaded if subclasses also keep pointers to event structures. Reimplemented from TGo4DynamicEntry. Definition at line 379 of file TGo4HistogramEntry.cxx. References TGo4DynamicEntry::CleanupEvent(), fguMAXHISDIMENSION, fxHisEvent, Reset(), 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. Reimplemented from TGo4DynamicEntry. Definition at line 138 of file TGo4HistogramEntry.cxx. References fxHisEventName, fxHistogramName, fxHisVarName, TGo4HistogramEntryStatus::SetHisEventNames(), TGo4HistogramEntryStatus::SetHistogramName(), TGo4HistogramEntryStatus::SetHisVarNames(), TRACE, and TGo4DynamicEntry::UpdateStatus(). Referenced by CreateStatus(). |
|
maximum dimension for histogram variable array.
Definition at line 32 of file TGo4HistogramEntry.cxx. Referenced by TGo4AnalysisObjectManager::AddDynamicHistogram(), CleanupEvent(), TGo4HistogramEntryStatus::GetHisEventName(), TGo4HistogramEntryStatus::GetHisVarName(), InitPointers(), Reset(), TGo4HistogramEntryStatus::ResetNames(), TGo4HistogramEntryStatus::SetHisEventName(), SetHisEventName(), TGo4HistogramEntryStatus::SetHisEventNames(), TGo4HistogramEntryStatus::SetHisVarName(), SetHisVarName(), TGo4HistogramEntryStatus::SetHisVarNames(), SetStatus(), and TGo4HistogramEntry(). |
|
The (histogram) object kept by this entry.
Definition at line 105 of file TGo4HistogramEntry.h. Referenced by CleanupHistogram(), InitPointers(), Process(), and Reset(). |
|
Title of the analysis object, for example a histogram.
Definition at line 108 of file TGo4HistogramEntry.h. Referenced by InitPointers(), SetHistogramName(), TGo4HistogramEntry(), and UpdateStatus(). |
|
Array of names of the x,y,z,.. coordinate data members. Definition at line 111 of file TGo4HistogramEntry.h. Referenced by InitPointers(), SetHisVarName(), and UpdateStatus(). |
|
Array of names of the events which contain the data members to be filled into the x,y,z,.. coordinates. Definition at line 115 of file TGo4HistogramEntry.h. Referenced by InitPointers(), SetHisEventName(), and UpdateStatus(). |
|
Array of pointers to the events containing the data to be filled into x,y,z,.. axis of histogram. Definition at line 119 of file TGo4HistogramEntry.h. Referenced by CleanupEvent(), InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Float_t Definition at line 123 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Double_t Definition at line 127 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Int_t Definition at line 131 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Short_t Definition at line 135 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Char_t Definition at line 139 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Long_t Definition at line 143 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is Bool_t Definition at line 147 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is UInt_t Definition at line 151 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is UShort_t Definition at line 155 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is UChar_t Definition at line 159 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |
|
Array of pointers to the data that is filled into x,y,z,.. axis of histogram. Used if data is ULong_t Definition at line 163 of file TGo4HistogramEntry.h. Referenced by InitPointers(), Process(), and Reset(). |