Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 Methods

 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
TObjArray * getElements ()
TObjArray * getListOfComposites (Bool_t toplevel=kTRUE)
TGo4EventElementoperator[] (Int_t i)

Protected Attributes

Short_t fNElements
 Number of Elements in composite. More...

TObjArray * fEventElements
 Sub-Events list for this event. More...


Detailed Description

Base type for object composition.

Definition at line 24 of file TGo4CompositeEvent.h.


Constructor & Destructor Documentation

TGo4CompositeEvent::TGo4CompositeEvent  
 

Definition at line 25 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::isComposite.

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

Definition at line 33 of file TGo4CompositeEvent.cxx.

References fEventElements, and TGo4EventElement::isComposite.

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 58 of file TGo4CompositeEvent.cxx.

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

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

Definition at line 152 of file TGo4CompositeEvent.cxx.

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

Referenced by TGo4FileSource::BuildCompositeEvent(), and TGo4DiskFileBrowserSlots::OpenSelectedRootFile().

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

Reimplemented from TGo4EventElement.

Definition at line 79 of file TGo4CompositeEvent.cxx.

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

void TGo4CompositeEvent::deactivate   [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 312 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::deactivate(), and fEventElements.

void TGo4CompositeEvent::activate   [virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 323 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::activate(), and fEventElements.

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

Definition at line 255 of file TGo4CompositeEvent.cxx.

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

Referenced by activateBranch(), and synchronizeWithTree().

TGo4EventElement * TGo4CompositeEvent::getEventElement Int_t    idx
 

Definition at line 287 of file TGo4CompositeEvent.cxx.

References fEventElements.

Referenced by addEventElement().

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

Definition at line 295 of file TGo4CompositeEvent.cxx.

References fEventElements, and TGo4EventElement::isComposed().

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

Reimplemented from TGo4EventElement.

Definition at line 226 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 238 of file TGo4CompositeEvent.cxx.

References TGo4EventElement::clearAll(), and fEventElements.

Short_t TGo4CompositeEvent::getNElements   const [inline]
 

Definition at line 49 of file TGo4CompositeEvent.h.

References fNElements.

Referenced by TGo4AnalysisObjectManager::CreateCompositeBranchFolder().

TObjArray* TGo4CompositeEvent::getElements   [inline]
 

Definition at line 51 of file TGo4CompositeEvent.h.

References fEventElements.

Referenced by TGo4DiskFileBrowserSlots::MapEvent().

TObjArray * TGo4CompositeEvent::getListOfComposites Bool_t    toplevel = kTRUE
 

Definition at line 336 of file TGo4CompositeEvent.cxx.

References fEventElements, and TGo4EventElement::isComposed().

Referenced by TGo4AnalysisObjectManager::CreateCompositeBranchFolder().

TGo4EventElement& TGo4CompositeEvent::operator[] Int_t    i [inline, virtual]
 

Reimplemented from TGo4EventElement.

Definition at line 53 of file TGo4CompositeEvent.h.

References i.


Member Data Documentation

Short_t TGo4CompositeEvent::fNElements [protected]
 

Number of Elements in composite.

Definition at line 27 of file TGo4CompositeEvent.h.

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

TObjArray* TGo4CompositeEvent::fEventElements [protected]
 

Sub-Events list for this event.

Definition at line 30 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 Tue Nov 8 10:56:32 2005 for Go4-v2.10-5 by doxygen1.2.15