Public Member Functions | Public Attributes | Private Attributes

TMeshB2InputEvent Class Reference

#include <TMeshB2InputEvent.h>

Inheritance diagram for TMeshB2InputEvent:
TGo4EventElement

List of all members.

Public Member Functions

 TMeshB2InputEvent ()
 TMeshB2InputEvent (const char *name)
virtual ~TMeshB2InputEvent ()
Int_t Fill ()
void Clear (Option_t *t="")
Int_t Init ()

Public Attributes

Int_t fiCrate2 [16]

Private Attributes

TMeshUnpackProcfxProcessor
TGo4FileSourcefxFile
 Don't put this to file.

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 (  )  [virtual]

Definition at line 31 of file TMeshB2InputEvent.cxx.


Member Function Documentation

void TMeshB2InputEvent::Clear ( Option_t *  t = ""  )  [virtual]

Reimplemented from TGo4EventElement.

Definition at line 70 of file TMeshB2InputEvent.cxx.

References fiCrate2.

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

Int_t TMeshB2InputEvent::Fill (  )  [virtual]

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 (  )  [virtual]

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

Don't put this to file.

Definition at line 36 of file TMeshB2InputEvent.h.

Referenced by Fill(), and Init().

Definition at line 35 of file TMeshB2InputEvent.h.

Referenced by Fill(), and Init().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines