GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Attributes | List of all members
TMeshB2InputEvent Class Reference

#include <TMeshB2InputEvent.h>

+ Inheritance diagram for TMeshB2InputEvent:

Public Member Functions

 TMeshB2InputEvent ()
 TMeshB2InputEvent (const char *name)
virtual ~TMeshB2InputEvent ()
Int_t Fill ()
void Clear (Option_t *t="")
Int_t Init ()
- Public Member Functions inherited from TGo4EventElement
 TGo4EventElement ()
 TGo4EventElement (const char *name)
 TGo4EventElement (const char *aName, const char *aTitle, Short_t aBaseCat=0)
virtual ~TGo4EventElement (void)
void SetValid (Bool_t on)
Bool_t IsValid () const
void SetEventSource (TGo4EventSource *src)
void SetParent (TGo4EventElement *par)
void SetKeepContents (Bool_t on=kTRUE)
TGo4EventElementGetParent () const
virtual TGo4EventElementGetChild (const char *name)
TGo4EventSourceGetEventSource () const
Bool_t CheckEventSource (const char *classname)
virtual void PrintEvent ()
virtual void makeBranch (TBranch *parent)
virtual void deactivate ()
virtual void activate ()
virtual void clearAll (Int_t)
virtual Bool_t isComposed ()
virtual Short_t getId ()
virtual void setDebug (Bool_t debug)
virtual TGo4EventElementoperator[] (Int_t)
virtual void Print (Option_t *option="") const
virtual void synchronizeWithTree (TTree *tree, TGo4EventElement **var_ptr=0)
virtual Int_t activateBranch (TBranch *branch, Int_t index=0, TGo4EventElement **var_ptr=0)
virtual TTree * CreateSampleTree (TGo4EventElement **sample=0)
void ShowSampleTree ()

Public Attributes

Int_t fiCrate2 [16]

Private Attributes

 Don't put this to file. More...

Additional Inherited Members

- Protected Attributes inherited from TGo4EventElement
Short_t fIdentifier
Bool_t fDebug
Bool_t fbKeepContents
 Debug level. More...

Detailed Description

Definition at line 22 of file TMeshB2InputEvent.h.

Constructor & Destructor Documentation

TMeshB2InputEvent::TMeshB2InputEvent ( )

Definition at line 21 of file TMeshB2InputEvent.cxx.

TMeshB2InputEvent::TMeshB2InputEvent ( const char *  name)

Definition at line 26 of file TMeshB2InputEvent.cxx.

TMeshB2InputEvent::~TMeshB2InputEvent ( )

Definition at line 31 of file TMeshB2InputEvent.cxx.

Member Function Documentation

void TMeshB2InputEvent::Clear ( Option_t *  t = "")

Reimplemented from TGo4EventElement.

Definition at line 70 of file TMeshB2InputEvent.cxx.

References fiCrate2.

Referenced by TMeshRawEvent::Clear(), Fill(), and Init().

Int_t TMeshB2InputEvent::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=fxEventSource->GetA(); etc ), or by direct copy to the member (like fxEventSource->FillMemoryAt(&myevent.a);)

Reimplemented from TGo4EventElement.

Definition at line 56 of file TMeshB2InputEvent.cxx.

References TGo4FileSource::BuildEvent(), Clear(), fxFile, fxProcessor, and TMeshUnpackProc::UnpackBranch2().

Int_t TMeshB2InputEvent::Init ( )

Method called on initialization of event classes. User might check the correct type of the eventsource here and assign this to a subclass pointer.

Reimplemented from TGo4EventElement.

Definition at line 37 of file TMeshB2InputEvent.cxx.

References TGo4EventElement::CheckEventSource(), Clear(), fxFile, fxProcessor, TGo4EventElement::GetEventSource(), and TGo4Log::Info().

Member Data Documentation

Int_t TMeshB2InputEvent::fiCrate2[16]
TGo4FileSource* TMeshB2InputEvent::fxFile

Don't put this to file.

Definition at line 36 of file TMeshB2InputEvent.h.

Referenced by Fill(), and Init().

TMeshUnpackProc* TMeshB2InputEvent::fxProcessor

Definition at line 35 of file TMeshB2InputEvent.h.

Referenced by Fill(), and Init().

The documentation for this class was generated from the following files: