GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4StepFactory Class Reference

Ready to use step factory. More...

#include <TGo4StepFactory.h>

+ Inheritance diagram for TGo4StepFactory:

Public Member Functions

 TGo4StepFactory ()
 Default constructor.
 
 TGo4StepFactory (const char *name)
 Normal constructor.
 
virtual ~TGo4StepFactory ()
 destructor
 
TGo4EventProcessorCreateEventProcessor (TGo4EventProcessorParameter *par) override
 Create event processor event.
 
TGo4EventSourceCreateEventSource (TGo4EventSourceParameter *par) override
 Create event source.
 
TGo4EventStoreCreateEventStore (TGo4EventStoreParameter *par) override
 Create event store.
 
TGo4EventElementCreateInputEvent () override
 Create input event.
 
TGo4EventElementCreateOutputEvent () override
 Create output event.
 
void DefEventProcessor (const char *Pname, const char *Pclass)
 Configure name and class name for event processor.
 
void DefInputEvent (const char *Iname, const char *Iclass)
 Configure name and class name for input event.
 
void DefOutputEvent (const char *Oname, const char *Oclass)
 Configure name and class name for output event.
 
void DefUserEventSource (const char *Sclass)
 Configure class name for event source.
 
void DefUserEventStore (const char *Sclass)
 Configure class name for event store.
 
- Public Member Functions inherited from TGo4EventServerFactory
 TGo4EventServerFactory ()
 
 TGo4EventServerFactory (const char *name)
 
virtual ~TGo4EventServerFactory ()
 
void SetOutputEvent (TGo4EventElement *eve)
 For usersubclass: set pointer to user output event.
 
- Public Member Functions inherited from TGo4EventFactory
 TGo4EventFactory ()
 
 TGo4EventFactory (const char *name)
 
virtual ~TGo4EventFactory ()
 

Private Attributes

TString fInputEventName
 name for new input event
 
TString fnewEventSource
 command to create new event source
 
TString fnewEventStore
 command to create new event store
 
TString fnewInputEvent
 command to create new input event
 
TString fnewOutputEvent
 command to create new output event
 
TString fnewProcessor
 command to create new processor
 
TString fOutputEventName
 name for new output event
 
TString fProcessorName
 name for new processor
 

Detailed Description

Ready to use step factory.

One can configure input/output events and event processors per class names Used in most go4 examples

Definition at line 25 of file TGo4StepFactory.h.

Constructor & Destructor Documentation

◆ TGo4StepFactory() [1/2]

TGo4StepFactory::TGo4StepFactory ( )

Default constructor.

Definition at line 27 of file TGo4StepFactory.cxx.

References TGo4EventServerFactory::TGo4EventServerFactory(), and TGo4Log::Debug().

Referenced by TGo4PrintFactory::TGo4PrintFactory().

◆ TGo4StepFactory() [2/2]

TGo4StepFactory::TGo4StepFactory ( const char * name)

◆ ~TGo4StepFactory()

TGo4StepFactory::~TGo4StepFactory ( )
virtual

destructor

Definition at line 47 of file TGo4StepFactory.cxx.

References TGo4Log::Debug().

Member Function Documentation

◆ CreateEventProcessor()

TGo4EventProcessor * TGo4StepFactory::CreateEventProcessor ( TGo4EventProcessorParameter * par)
overridevirtual

Create event processor event.

Implements TGo4EventServerFactory.

Definition at line 60 of file TGo4StepFactory.cxx.

References TGo4Log::Error(), fnewProcessor, fProcessorName, and TGo4Log::Info().

◆ CreateEventSource()

TGo4EventSource * TGo4StepFactory::CreateEventSource ( TGo4EventSourceParameter * par)
overridevirtual

Create event source.

Reimplemented from TGo4EventServerFactory.

Definition at line 148 of file TGo4StepFactory.cxx.

References TGo4EventServerFactory::CreateEventSource(), TGo4Log::Error(), fnewEventSource, and TGo4Log::Info().

◆ CreateEventStore()

TGo4EventStore * TGo4StepFactory::CreateEventStore ( TGo4EventStoreParameter * par)
overridevirtual

Create event store.

Reimplemented from TGo4EventServerFactory.

Definition at line 167 of file TGo4StepFactory.cxx.

References TGo4EventServerFactory::CreateEventStore(), TGo4Log::Error(), fnewEventStore, and TGo4Log::Info().

◆ CreateInputEvent()

TGo4EventElement * TGo4StepFactory::CreateInputEvent ( )
overridevirtual

◆ CreateOutputEvent()

TGo4EventElement * TGo4StepFactory::CreateOutputEvent ( )
overridevirtual

Create output event.

Implements TGo4EventServerFactory.

Definition at line 86 of file TGo4StepFactory.cxx.

References TGo4Log::Error(), fnewOutputEvent, fOutputEventName, and TGo4Log::Info().

◆ DefEventProcessor()

void TGo4StepFactory::DefEventProcessor ( const char * Pname,
const char * Pclass )

Configure name and class name for event processor.

Definition at line 53 of file TGo4StepFactory.cxx.

References fnewProcessor, and fProcessorName.

Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().

◆ DefInputEvent()

void TGo4StepFactory::DefInputEvent ( const char * Iname,
const char * Iclass )

Configure name and class name for input event.

Definition at line 102 of file TGo4StepFactory.cxx.

References fInputEventName, and fnewInputEvent.

Referenced by TMeshAnalysis::TMeshAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().

◆ DefOutputEvent()

void TGo4StepFactory::DefOutputEvent ( const char * Oname,
const char * Oclass )

Configure name and class name for output event.

Definition at line 78 of file TGo4StepFactory.cxx.

References fnewOutputEvent, and fOutputEventName.

Referenced by TMeshAnalysis::TMeshAnalysis(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().

◆ DefUserEventSource()

void TGo4StepFactory::DefUserEventSource ( const char * Sclass)

Configure class name for event source.

Definition at line 123 of file TGo4StepFactory.cxx.

References fnewEventSource.

Referenced by TYYYAnalysis::TYYYAnalysis(), and CreateDefaultAnalysis().

◆ DefUserEventStore()

void TGo4StepFactory::DefUserEventStore ( const char * Sclass)

Configure class name for event store.

Definition at line 135 of file TGo4StepFactory.cxx.

References fnewEventStore.

Referenced by CreateDefaultAnalysis().

Field Documentation

◆ fInputEventName

TString TGo4StepFactory::fInputEventName
private

name for new input event

Definition at line 60 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateInputEvent(), and DefInputEvent().

◆ fnewEventSource

TString TGo4StepFactory::fnewEventSource
private

command to create new event source

Definition at line 61 of file TGo4StepFactory.h.

Referenced by CreateEventSource(), and DefUserEventSource().

◆ fnewEventStore

TString TGo4StepFactory::fnewEventStore
private

command to create new event store

Definition at line 62 of file TGo4StepFactory.h.

Referenced by CreateEventStore(), and DefUserEventStore().

◆ fnewInputEvent

TString TGo4StepFactory::fnewInputEvent
private

command to create new input event

Definition at line 59 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateInputEvent(), and DefInputEvent().

◆ fnewOutputEvent

TString TGo4StepFactory::fnewOutputEvent
private

command to create new output event

Definition at line 57 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateOutputEvent(), and DefOutputEvent().

◆ fnewProcessor

TString TGo4StepFactory::fnewProcessor
private

command to create new processor

Definition at line 55 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateEventProcessor(), and DefEventProcessor().

◆ fOutputEventName

TString TGo4StepFactory::fOutputEventName
private

name for new output event

Definition at line 58 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateOutputEvent(), and DefOutputEvent().

◆ fProcessorName

TString TGo4StepFactory::fProcessorName
private

name for new processor

Definition at line 56 of file TGo4StepFactory.h.

Referenced by TGo4StepFactory(), CreateEventProcessor(), and DefEventProcessor().


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