126 const char *ptr_arg =
"0x%x";
128 const char *ptr_arg =
"%p";
131 fnewEventSource.Form(
"new %s((%s*)%s)", Sclass, TGo4UserSourceParameter::Class()->GetName(), ptr_arg);
138 const char *ptr_arg =
"0x%x";
140 const char *ptr_arg =
"%p";
143 fnewEventStore.Form(
"new %s((%s*)%s)", Sclass, TGo4UserStoreParameter::Class()->GetName(), ptr_arg);
150 if ((
fnewEventSource.Length() > 0) && par->InheritsFrom(TGo4UserSourceParameter::Class())) {
158 if (source)
return source;
169 if ((
fnewEventStore.Length() > 0) && par->InheritsFrom(TGo4UserStoreParameter::Class())) {
177 if (store)
return store;
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
Basic type for all classes containing information to parametrize the event processor.
Abstract event processor.
TGo4EventStore * CreateEventStore(TGo4EventStoreParameter *par) override
TGo4EventElement * CreateInputEvent() override
TGo4EventSource * CreateEventSource(TGo4EventSourceParameter *par) override
Basic type for all classes containing information to parameterize the event source.
Basic type for all classes containing information to parametrize the event store.
The abstract interface class for the raw event store.
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
static void Error(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 3.
TString fnewInputEvent
command to create new input event
virtual ~TGo4StepFactory()
destructor
void DefUserEventSource(const char *Sclass)
Configure class name for event source.
TGo4EventProcessor * CreateEventProcessor(TGo4EventProcessorParameter *par) override
Create event processor event.
TGo4EventElement * CreateOutputEvent() override
Create output event.
TString fnewProcessor
command to create new processor
TGo4StepFactory()
Default constructor.
TString fnewOutputEvent
command to create new output event
void DefEventProcessor(const char *Pname, const char *Pclass)
Configure name and class name for event processor.
void DefUserEventStore(const char *Sclass)
Configure class name for event store.
void DefInputEvent(const char *Iname, const char *Iclass)
Configure name and class name for input event.
TGo4EventStore * CreateEventStore(TGo4EventStoreParameter *par) override
Create event store.
TGo4EventElement * CreateInputEvent() override
Create input event.
TString fProcessorName
name for new processor
TGo4EventSource * CreateEventSource(TGo4EventSourceParameter *par) override
Create event source.
TString fnewEventSource
command to create new event source
TString fnewEventStore
command to create new event store
TString fInputEventName
name for new input event
void DefOutputEvent(const char *Oname, const char *Oclass)
Configure name and class name for output event.
TString fOutputEventName
name for new output event