GSI Object Oriented Online Offline (Go4) GO4-6.4.5
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 ()
 Default constructor.
 TGo4StepFactory (const char *name)
 Normal constructor.
 TGo4StepFactory (const char *name)
 Normal constructor.
virtual ~TGo4StepFactory ()
 destructor
virtual ~TGo4StepFactory ()
 destructor
TGo4EventProcessorCreateEventProcessor (TGo4EventProcessorParameter *par) override
 Create event processor event.
TGo4EventProcessorCreateEventProcessor (TGo4EventProcessorParameter *par) override
 Create event processor event.
TGo4EventSourceCreateEventSource (TGo4EventSourceParameter *par) override
 Create event source.
TGo4EventSourceCreateEventSource (TGo4EventSourceParameter *par) override
 Create event source.
TGo4EventStoreCreateEventStore (TGo4EventStoreParameter *par) override
 Create event store.
TGo4EventStoreCreateEventStore (TGo4EventStoreParameter *par) override
 Create event store.
TGo4EventElementCreateInputEvent () override
 Create input event.
TGo4EventElementCreateInputEvent () override
 Create input event.
TGo4EventElementCreateOutputEvent () override
 Create output event.
TGo4EventElementCreateOutputEvent () override
 Create output event.
void DefEventProcessor (const char *Pname, const char *Pclass)
 Configure name and class name for event processor.
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 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 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 DefUserEventSource (const char *Sclass)
 Configure class name for event source.
void DefUserEventStore (const char *Sclass)
 Configure class name for event store.
void DefUserEventStore (const char *Sclass)
 Configure class name for event store.
Public Member Functions inherited from TGo4EventServerFactory
 TGo4EventServerFactory ()
 TGo4EventServerFactory ()
 TGo4EventServerFactory (const char *name)
 TGo4EventServerFactory (const char *name)
virtual ~TGo4EventServerFactory ()
virtual ~TGo4EventServerFactory ()
void SetOutputEvent (TGo4EventElement *eve)
 For usersubclass: set pointer to user output event.
void SetOutputEvent (TGo4EventElement *eve)
 For usersubclass: set pointer to user output event.
Public Member Functions inherited from TGo4EventFactory
 TGo4EventFactory ()
 TGo4EventFactory ()
 TGo4EventFactory (const char *name)
 TGo4EventFactory (const char *name)
virtual ~TGo4EventFactory ()
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/4]

TGo4StepFactory::TGo4StepFactory ( )

◆ TGo4StepFactory() [2/4]

TGo4StepFactory::TGo4StepFactory ( const char * name)

◆ ~TGo4StepFactory() [1/2]

TGo4StepFactory::~TGo4StepFactory ( )
virtual

destructor

Definition at line 47 of file TGo4StepFactory.cxx.

References TGo4Log::Debug().

◆ TGo4StepFactory() [3/4]

TGo4StepFactory::TGo4StepFactory ( )

Default constructor.

◆ TGo4StepFactory() [4/4]

TGo4StepFactory::TGo4StepFactory ( const char * name)

Normal constructor.

◆ ~TGo4StepFactory() [2/2]

virtual TGo4StepFactory::~TGo4StepFactory ( )
virtual

destructor

Member Function Documentation

◆ CreateEventProcessor() [1/2]

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().

◆ CreateEventProcessor() [2/2]

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

Create event processor event.

Implements TGo4EventServerFactory.

◆ CreateEventSource() [1/2]

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().

◆ CreateEventSource() [2/2]

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

Create event source.

Reimplemented from TGo4EventServerFactory.

◆ CreateEventStore() [1/2]

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().

◆ CreateEventStore() [2/2]

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

Create event store.

Reimplemented from TGo4EventServerFactory.

◆ CreateInputEvent() [1/2]

TGo4EventElement * TGo4StepFactory::CreateInputEvent ( )
overridevirtual

◆ CreateInputEvent() [2/2]

TGo4EventElement * TGo4StepFactory::CreateInputEvent ( )
overridevirtual

Create input event.

Reimplemented from TGo4EventServerFactory.

◆ CreateOutputEvent() [1/2]

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().

◆ CreateOutputEvent() [2/2]

TGo4EventElement * TGo4StepFactory::CreateOutputEvent ( )
overridevirtual

Create output event.

Implements TGo4EventServerFactory.

◆ DefEventProcessor() [1/2]

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().

◆ DefEventProcessor() [2/2]

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

Configure name and class name for event processor.

◆ DefInputEvent() [1/2]

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().

◆ DefInputEvent() [2/2]

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

Configure name and class name for input event.

◆ DefOutputEvent() [1/2]

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().

◆ DefOutputEvent() [2/2]

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

Configure name and class name for output event.

◆ DefUserEventSource() [1/2]

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().

◆ DefUserEventSource() [2/2]

void TGo4StepFactory::DefUserEventSource ( const char * Sclass)

Configure class name for event source.

◆ DefUserEventStore() [1/2]

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().

◆ DefUserEventStore() [2/2]

void TGo4StepFactory::DefUserEventStore ( const char * Sclass)

Field Documentation

◆ fInputEventName

TString TGo4StepFactory::fInputEventName
private

name for new input event

Definition at line 60 of file TGo4StepFactory.h.

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

◆ fnewEventSource

TString TGo4StepFactory::fnewEventSource
private

command to create new event source

Definition at line 61 of file TGo4StepFactory.h.

Referenced by CreateEventSource(), DefUserEventSource(), and DefUserEventStore().

◆ 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(), DefInputEvent(), and DefUserEventStore().

◆ fnewOutputEvent

TString TGo4StepFactory::fnewOutputEvent
private

command to create new output event

Definition at line 57 of file TGo4StepFactory.h.

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

◆ fnewProcessor

TString TGo4StepFactory::fnewProcessor
private

command to create new processor

Definition at line 55 of file TGo4StepFactory.h.

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

◆ fOutputEventName

TString TGo4StepFactory::fOutputEventName
private

name for new output event

Definition at line 58 of file TGo4StepFactory.h.

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

◆ fProcessorName

TString TGo4StepFactory::fProcessorName
private

name for new processor

Definition at line 56 of file TGo4StepFactory.h.

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


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