Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ConditionStatus Class Reference

Status object for an analysis conditon. More...

#include <TGo4ConditionStatus.h>

Inheritance diagram for TGo4ConditionStatus:

TGo4ObjectStatus TGo4Status List of all members.

Public Methods

 TGo4ConditionStatus ()
 TGo4ConditionStatus (TGo4Condition *condition)
virtual ~TGo4ConditionStatus ()
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass. More...

TGo4ConditionGetCondition (Bool_t chown=kFALSE)
 Access to the condition wrapped in the status object. More...

Int_t GetArrayType () const
Bool_t IsHistogram () const
const char * GetHistogram () const

Protected Methods

Int_t ConditionSize (TGo4PolyCond *polly)
 Calculate real memory size for polly. More...


Private Attributes

TGo4ConditionfxCondition
Int_t fiArrayType
 type of the condition inside condition array. More...

Bool_t fbIsHistogram
 true if there is a histogram linked to this condition. More...

TString fxHistogram
 Reference to linked histogram. More...


Detailed Description

Status object for an analysis conditon.

This is a wrapper for the condition object itself which is sent to the gui within the object nameslist (analysis folder structure). So the status creation pattern is avoided here, the condition is available as condition object on the gui.

Author:
J. Adamczewski
Since:
15-MAR-2002

Definition at line 32 of file TGo4ConditionStatus.h.


Constructor & Destructor Documentation

TGo4ConditionStatus::TGo4ConditionStatus  
 

Definition at line 88 of file TGo4ConditionStatus.cxx.

References TRACE.

TGo4ConditionStatus::TGo4ConditionStatus TGo4Condition   condition
 

Definition at line 25 of file TGo4ConditionStatus.cxx.

References ConditionSize(), fbIsHistogram, fiArrayType, TGo4ObjectStatus::fiObjectSize, fxHistogram, TGo4CondArray::GetNumberOfConditions(), TGo4CondArray::GetType(), TGo4CondArray::Poly(), TRACE, and TGo4CondArray::Win().

TGo4ConditionStatus::~TGo4ConditionStatus   [virtual]
 

Definition at line 95 of file TGo4ConditionStatus.cxx.

References fxCondition, and TRACE.


Member Function Documentation

Int_t TGo4ConditionStatus::PrintStatus Text_t *    buffer = 0,
Int_t    buflen = 0
[virtual]
 

basic method to printout status information on stdout; to be overridden by specific subclass.

Reimplemented from TGo4ObjectStatus.

Definition at line 104 of file TGo4ConditionStatus.cxx.

References fxCondition, TGo4Status::PrintBuffer(), TGo4Condition::PrintCondition(), TGo4Status::PrintIndent(), TGo4ObjectStatus::PrintStatus(), and TRACE.

TGo4Condition* TGo4ConditionStatus::GetCondition Bool_t    chown = kFALSE [inline]
 

Access to the condition wrapped in the status object.

If parameter chown (change owner) is kTRUE, the condition will be adopted by the caller, i.e. the condition status object will not delete the condition in its destructor anymore. Useful if the condition shall be edited by the gui and send back in a set condition command. Otherwise, condition would be deleted on next refresh of the nameslist.

Definition at line 51 of file TGo4ConditionStatus.h.

References fxCondition.

Int_t TGo4ConditionStatus::GetArrayType   const [inline]
 

Definition at line 58 of file TGo4ConditionStatus.h.

References fiArrayType.

Referenced by TGo4RemoteBrowserSlots::AddFolder().

Bool_t TGo4ConditionStatus::IsHistogram   const [inline]
 

Definition at line 60 of file TGo4ConditionStatus.h.

References fbIsHistogram.

Referenced by TGo4QConItem::SetStatus().

const char* TGo4ConditionStatus::GetHistogram   const [inline]
 

Definition at line 62 of file TGo4ConditionStatus.h.

References fxHistogram.

Referenced by TGo4QConItem::SetStatus().

Int_t TGo4ConditionStatus::ConditionSize TGo4PolyCond   polly [protected]
 

Calculate real memory size for polly.

Definition at line 141 of file TGo4ConditionStatus.cxx.

References TGo4PolyCond::GetCut().

Referenced by TGo4ConditionStatus().


Member Data Documentation

TGo4Condition* TGo4ConditionStatus::fxCondition [private]
 

Definition at line 70 of file TGo4ConditionStatus.h.

Referenced by GetCondition(), PrintStatus(), and ~TGo4ConditionStatus().

Int_t TGo4ConditionStatus::fiArrayType [private]
 

type of the condition inside condition array.

zero if condition is no array.

Definition at line 73 of file TGo4ConditionStatus.h.

Referenced by GetArrayType(), and TGo4ConditionStatus().

Bool_t TGo4ConditionStatus::fbIsHistogram [private]
 

true if there is a histogram linked to this condition.

Definition at line 76 of file TGo4ConditionStatus.h.

Referenced by IsHistogram(), and TGo4ConditionStatus().

TString TGo4ConditionStatus::fxHistogram [private]
 

Reference to linked histogram.

Definition at line 79 of file TGo4ConditionStatus.h.

Referenced by GetHistogram(), and TGo4ConditionStatus().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:35 2005 for Go4-v2.10-5 by doxygen1.2.15