v2.10-0 (21000JUN2005)

Go4ExampleUserSource
Class TYYYRawEvent


class TYYYRawEvent
derived from TGo4EventElement

Example for user defined raw event class.
This event structure corresponds to the user event source.


Field Summary
 private Double_t*fdData
           
 private Int_tfiColumns
           
 private TGo4FileSource*fxFileSource
          points to filesource if exists
 private TGo4TreeSource*fxTreeSource
          points to treesource if exists
 private TYYYEventSource*fxUserSource
          points to mbssource if exists

Fields inherited from interface Go4Event.TGo4EventElement
fDebug, fIdentifier, isActivated, isComposite

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TYYYRawEvent()
           
TYYYRawEvent(const Text_t* name)
           

Destructor Summary
 virtual synchronized ~TYYYRawEvent()
           

Method Summary
 virtual voidClear(Option_t* t)
          Method called by the event owner (analysis step) to clear the
event element.
 virtual Int_tFill()
          Method called by the event owner (analysis step) to fill the
event element from the set event source.
 Int_tGetColumns()
           
 virtual Int_tInit()
           
 voidPrintEvent()
           
 voidReAllocate(Int_t newsize)
          Expand data field if necessary

Methods inherited from interface Go4Event.TGo4EventElement
activate, activateBranch, CheckEventSource, clearAll, deactivate, GetDataChar, GetDataDouble, GetDataFloat, GetDataInt, GetDataLong, GetDataShort, GetEventSource, getId, GetParent, getSubEventElement, isComposed, IsValid, makeBranch, operator[], setDebug, SetEventSource, SetParent, SetValid

Methods inherited from class TNamed
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fdData

private Double_t* fdData

fiColumns

private Int_t fiColumns

fxFileSource

private TGo4FileSource* fxFileSource
points to filesource if exists

fxTreeSource

private TGo4TreeSource* fxTreeSource
points to treesource if exists

fxUserSource

private TYYYEventSource* fxUserSource
points to mbssource if exists
Constructor Detail

TYYYRawEvent

public TYYYRawEvent()

TYYYRawEvent

public TYYYRawEvent(const Text_t* name)
Method Detail

~TYYYRawEvent

public virtual synchronized ~TYYYRawEvent()
Method Detail

Clear

public virtual void Clear(Option_t* t)
Method called by the event owner (analysis step) to clear the
event element.

Fill

public virtual Int_t Fill()
Method called by the event owner (analysis step) to fill the
event element from the set event source. Event source can
be the source of the analysis step (if this is a raw event) or the event processor (if this is a reduced event).
Fill method has to specify how the event source writes to the
members of this event structure. Either by calling methods of
the source (like myevent.a=GetEventSource()->GetA(); etc ), or by
direct copy to the member (like GetEventSource()->FillMemoryAt(&myevent.a);)

GetColumns

public Int_t GetColumns()

Init

public virtual Int_t Init()

PrintEvent

public void PrintEvent()

ReAllocate

public void ReAllocate(Int_t newsize)
Expand data field if necessary

Association Links

to Class TYYYEventSource

points to mbssource if exists

to Class TGo4TreeSource

points to treesource if exists

to Class TGo4FileSource

points to filesource if exists

Note Links

to Note Note1

to Note Note2


J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005