Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4CompositeEvent Class Reference

Base type for object composition. More...

#include <TGo4CompositeEvent.h>

Inheritance diagram for TGo4CompositeEvent:

TGo4EventElement List of all members.

Public Member Functions

 TGo4CompositeEvent ()
 TGo4CompositeEvent (const char *aName, const char *aTitle, Short_t aBaseCat=0)
 ~TGo4CompositeEvent ()
void makeBranch (TBranch *parent)
void synchronizeWithTree (TTree *tree, Int_t splitLevel=0)
Int_t activateBranch (TBranch *branch, Int_t splitLevel=0, Int_t init=0)
virtual void deactivate ()
virtual void activate ()
void addEventElement (TGo4EventElement *aElement, Int_t reading=0)
TGo4EventElementgetEventElement (Int_t idx)
TGo4EventElementgetEventElement (const char *name, Int_t final=0)
void Clear (Option_t *opt="")
void clearAll (Int_t level)
Short_t getNElements () const
virtual Bool_t isComposed ()
TObjArray * getElements ()
TObjArray * getListOfComposites (Bool_t toplevel=kTRUE)
TGo4EventElementoperator[] (Int_t i)

Protected Attributes

Short_t fNElements
 Number of Elements in composite.
TObjArray * fEventElements
 Sub-Events list for this event.

Detailed Description

Base type for object composition.

Definition at line 25 of file TGo4CompositeEvent.h.


Constructor & Destructor Documentation

TGo4CompositeEvent::TGo4CompositeEvent  ) 
 

Definition at line 27 of file TGo4CompositeEvent.cxx.

TGo4CompositeEvent::TGo4CompositeEvent const char *  aName,
const char *  aTitle,
Short_t  aBaseCat = 0
 

Definition at line 34 of file TGo4CompositeEvent.cxx.

References fEventElements.

TGo4CompositeEvent::~TGo4CompositeEvent  ) 
 

Definition at line 42 of file TGo4CompositeEvent.cxx.

References fEventElements.


Member Function Documentation

void TGo4CompositeEvent::makeBranch TBranch *  parent  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 59 of file TGo4CompositeEvent.cxx.

References fEventElements, gTree, and TGo4EventElement::makeBranch().

void TGo4CompositeEvent::synchronizeWithTree TTree *  tree,
Int_t  splitLevel = 0
 

while

Definition at line 153 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::activateBranch(), addEventElement(), Clear(), TGo4EventElement::fDebug, fEventElements, TGo4EventElement::fIdentifier, and fNElements.

Referenced by TGo4FileSource::BuildCompositeEvent().

Int_t TGo4CompositeEvent::activateBranch TBranch *  branch,
Int_t  splitLevel = 0,
Int_t  init = 0
[virtual]
 

while

branch

Reimplemented from TGo4EventElement.

Definition at line 80 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::activateBranch(), addEventElement(), Clear(), TGo4EventElement::fDebug, and fNElements.

void TGo4CompositeEvent::deactivate  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 313 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::deactivate(), and fEventElements.

void TGo4CompositeEvent::activate  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 324 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::activate(), and fEventElements.

void TGo4CompositeEvent::addEventElement TGo4EventElement aElement,
Int_t  reading = 0
 

Definition at line 256 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::fDebug, fEventElements, fNElements, and getEventElement().

Referenced by activateBranch(), and synchronizeWithTree().

TGo4EventElement * TGo4CompositeEvent::getEventElement Int_t  idx  ) 
 

Definition at line 288 of file TGo4CompositeEvent.cxx.

References fEventElements.

Referenced by addEventElement().

TGo4EventElement * TGo4CompositeEvent::getEventElement const char *  name,
Int_t  final = 0
 

Definition at line 296 of file TGo4CompositeEvent.cxx.

References fEventElements, and TGo4EventElement::isComposed().

void TGo4CompositeEvent::Clear Option_t *  opt = ""  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 227 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::Clear(), and fEventElements.

Referenced by activateBranch(), and synchronizeWithTree().

void TGo4CompositeEvent::clearAll Int_t  level  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 239 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::clearAll(), and fEventElements.

Short_t TGo4CompositeEvent::getNElements  )  const [inline]
 

Definition at line 50 of file TGo4CompositeEvent.h.

References fNElements.

virtual Bool_t TGo4CompositeEvent::isComposed  )  [inline, virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 52 of file TGo4CompositeEvent.h.

TObjArray* TGo4CompositeEvent::getElements  )  [inline]
 

Definition at line 53 of file TGo4CompositeEvent.h.

References fEventElements.

TObjArray * TGo4CompositeEvent::getListOfComposites Bool_t  toplevel = kTRUE  ) 
 

Definition at line 337 of file TGo4CompositeEvent.cxx.

References fEventElements, and TGo4EventElement::isComposed().

TGo4EventElement & TGo4CompositeEvent::operator[] Int_t  i  )  [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 365 of file TGo4CompositeEvent.cxx.


Member Data Documentation

Short_t TGo4CompositeEvent::fNElements [protected]
 

Number of Elements in composite.

Definition at line 28 of file TGo4CompositeEvent.h.

Referenced by activateBranch(), addEventElement(), getNElements(), and synchronizeWithTree().

TObjArray* TGo4CompositeEvent::fEventElements [protected]
 

Sub-Events list for this event.

Definition at line 31 of file TGo4CompositeEvent.h.

Referenced by activate(), addEventElement(), Clear(), clearAll(), deactivate(), getElements(), getEventElement(), getListOfComposites(), makeBranch(), synchronizeWithTree(), TGo4CompositeEvent(), and ~TGo4CompositeEvent().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:45 2008 for Go4-v3.04-1 by  doxygen 1.4.2