| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contains a single step of the analysis. Each analysis step
has an event source, an input event structure,
an output event structure (both from event element class),
and an event store. Input event is converted to output event using
an event processor instance which is referenced by the output event
class, but not stored with the resulting data. Analysis steps are
held in an analysis step list which is processed iteratively; output
event of an analysis step is input event of the subsequent analysis step,
etc. The first analysis step takes its input event from an
external event source, e.g. a file; the last step writes the
output event into its external event store. Starting and ending
point within the chain of analysis steps may be changed on the fly.
Field Summary | |
private Bool_t | fbErrorStopEnabled Operation mode switch. |
private Bool_t | fbErrorStopped True if the analysis step has been stopped after input error. |
private Bool_t | fbProcessEnabled Enables processing of the input event. |
private Bool_t | fbSourceEnabled Enables event source.If true, the event source is used to get the input event; otherwise we use the output of the previous step. |
private Bool_t | fbSourceImplemented Flag for the previous analysis step. |
private Bool_t | fbStoreEnabled Enables event store. |
private Bool_t | fbStoreImplemented Flag for the subsequent analysis step. |
private TString | fcBuffer Buffer string for text output |
private TString | fcStatusMessage Most recent status message. |
private Int_t | fiProcessStatus Contains current analysis step status value. |
private TGo4EventFactory* | fxEventFactory The abstract factory implementation which provides the event classes. |
private TGo4EventProcessor* | fxEventProcessor The processing class which works on the input event and fills the output event. |
private TGo4EventSource* | fxEventSource The source of the input events. |
private TGo4EventStore* | fxEventStore The storage instance for the unpacked events (detector) structures. |
private TGo4EventElement* | fxInputEvent points to the last input event delivered from the event source |
private TGo4EventElement* | fxOutputEvent The unpacked event (detector) structure that has been filled by the analysis step . |
private TGo4Analysis* | fxOwner Points back to the analysis wich keeps this step. |
private TGo4AnalysisStep* | fxPrevious Points to the previous analysis step. |
private TGo4EventProcessorParameter* | fxProcessorType Parameter object of next event processor to be activated. |
private TGo4EventSourceParameter* | fxSourceType Parameter object of next event source to be activated. |
private TGo4EventStoreParameter* | fxStoreType Parameter object of next event storage to be activated. |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4AnalysisStep(const char * name, TGo4EventFactory* eventfactory, TGo4EventSourceParameter* sourcetype, TGo4EventStoreParameter* storetype, TGo4EventProcessorParameter* processortype) Normal ctor. | |
TGo4AnalysisStep() default ctor for streamer. |
Destructor Summary | |
virtual synchronized | ~TGo4AnalysisStep() |
Method Summary | |
void | Close() Closes the analysis step. |
void | CloseEventProcessor() Unregister and close eventprocessor, if existing. |
void | CloseEventSource() Unregister and close eventsource, if existing. |
void | CloseEventStore() Unregister and close eventstore, if existing. |
TGo4AnalysisStepStatus* | CreateStatus() Create a copy of the analysis step internal state. |
void | DeleteInputEvent() Delete input event object |
void | DeleteOutputEvent() Delete input event object |
TGo4EventProcessor* | GetEventProcessor() Access to the event processor. |
const const char * | GetEventStoreName() Access to name of currently active event store. |
TGo4EventElement* | GetInputEvent() Access to the input event of this step. |
TGo4EventElement* | GetOutputEvent() Access to the output event which has been filled last. |
TGo4AnalysisStep* | GetPreviousStep() Get previous analysis step. |
Int_t | GetProcessStatus() Status of the last event. |
const const char * | GetStatusMessage() Status message of last Process() call. |
virtual void | InitEventClasses() Initialization of the event class plugins which are delivered from the user defined event factory. |
Bool_t | IsErrorStopEnabled() True if analsis step allows stop on error. |
Bool_t | IsErrorStopped() True if analsis step has been stopped on error. |
Bool_t | IsMatchingPrevious() Check if an analysis step is matching as a previous step to this step. |
Bool_t | IsProcessEnabled() |
Bool_t | IsSourceEnabled() |
Bool_t | IsSourceImplemented() |
Bool_t | IsStoreEnabled() |
Bool_t | IsStoreImplemented() |
void | NewEventProcessor(TGo4EventProcessorParameter* kind) For lazy initialization of event processor. |
void | NewEventSource(TGo4EventSourceParameter* kind) For lazy initialization of event source. |
void | NewEventStore(TGo4EventStoreParameter* kind) For lazy initialization of event store. |
void | NewInputEvent() create input event object |
void | NewOutputEvent() create input event object |
void | Process() The main analysis action which is invoked by the external go4 analysis. |
void | ResetErrorStop() Reset the stopped-after-error state of this analysis step object. |
void | SetErrorStopEnabled(Bool_t on) Enables or disables the stop-on-error mode. |
void | SetEventProcessor(TGo4EventProcessorParameter* kind) Sets the event processor parameter which is used on intitialization of this step. |
void | SetEventSource(TGo4EventSourceParameter* kind) Sets the event source parameter which is used on intitialization of this step. |
void | SetEventStore(TGo4EventStoreParameter* kind) Sets the event storee parameter which is used on intitialization of this step. |
void | SetInputEvent(TGo4EventElement* in) Sets reference to external input event. |
void | SetPreviousStep(TGo4AnalysisStep* pre) Sets reference to previous analysis step. |
void | SetProcessEnabled(Bool_t on) Enables or disables the event processing. |
void | SetSourceEnabled(Bool_t on) Enables or disables the event source. |
void | SetStatus(TGo4AnalysisStepStatus* state) Set all analysis step parameters to that of given status object. |
void | SetStatusMessage(const char * txt) Set Status message of last Process() call. |
void | SetStoreEnabled(Bool_t on) Enables or disables the event store. |
Int_t | Store(TGo4Parameter* cali) Saves a parameter correllated with the current event into the storage. |
Int_t | Store(TGo4Condition* conny) Saves a condition correllated with the current event into the storage. |
Int_t | Store(TGo4Fitter* fitter) Saves a fitter correllated with the current event into the storage. |
Int_t | Store(TFolder* fold) Saves a folder correllated with the current event into the storage. |
void | StoreCalibration() Store the current calibration object of the event processor into the event store instance. |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Field Detail |
private Bool_t fbErrorStopEnabled
private Bool_t fbErrorStopped
private Bool_t fbProcessEnabled
private Bool_t fbSourceEnabled
private Bool_t fbSourceImplemented
private Bool_t fbStoreEnabled
private Bool_t fbStoreImplemented
private TString fcBuffer
private TString fcStatusMessage
private Int_t fiProcessStatus
private TGo4EventFactory* fxEventFactory
private TGo4EventProcessor* fxEventProcessor
private TGo4EventSource* fxEventSource
private TGo4EventStore* fxEventStore
private TGo4EventElement* fxInputEvent
private TGo4EventElement* fxOutputEvent
private TGo4Analysis* fxOwner
private TGo4AnalysisStep* fxPrevious
private TGo4EventProcessorParameter* fxProcessorType
private TGo4EventSourceParameter* fxSourceType
private TGo4EventStoreParameter* fxStoreType
Constructor Detail |
public TGo4AnalysisStep(const char * name, TGo4EventFactory* eventfactory, TGo4EventSourceParameter* sourcetype, TGo4EventStoreParameter* storetype, TGo4EventProcessorParameter* processortype)
public TGo4AnalysisStep()
Method Detail |
public virtual synchronized ~TGo4AnalysisStep()
Method Detail |
public void Close()
public void CloseEventProcessor()
public void CloseEventSource()
public void CloseEventStore()
public TGo4AnalysisStepStatus* CreateStatus()
public void DeleteInputEvent()
public void DeleteOutputEvent()
public TGo4EventProcessor* GetEventProcessor()
public const const char * GetEventStoreName()
public TGo4EventElement* GetInputEvent()
public TGo4EventElement* GetOutputEvent()
public TGo4AnalysisStep* GetPreviousStep()
public Int_t GetProcessStatus()
public const const char * GetStatusMessage()
public virtual void InitEventClasses()
public Bool_t IsErrorStopEnabled()
public Bool_t IsErrorStopped()
public Bool_t IsMatchingPrevious()
public Bool_t IsProcessEnabled()
public Bool_t IsSourceEnabled()
public Bool_t IsSourceImplemented()
public Bool_t IsStoreEnabled()
public Bool_t IsStoreImplemented()
public void NewEventProcessor(TGo4EventProcessorParameter* kind)
public void NewEventSource(TGo4EventSourceParameter* kind)
public void NewEventStore(TGo4EventStoreParameter* kind)
public void NewInputEvent()
public void NewOutputEvent()
public void Process()
public void ResetErrorStop()
public void SetErrorStopEnabled(Bool_t on)
public void SetEventProcessor(TGo4EventProcessorParameter* kind)
public void SetEventSource(TGo4EventSourceParameter* kind)
public void SetEventStore(TGo4EventStoreParameter* kind)
public void SetInputEvent(TGo4EventElement* in)
public void SetPreviousStep(TGo4AnalysisStep* pre)
public void SetProcessEnabled(Bool_t on)
public void SetSourceEnabled(Bool_t on)
public void SetStatus(TGo4AnalysisStepStatus* state)
public void SetStatusMessage(const char * txt)
public void SetStoreEnabled(Bool_t on)
public Int_t Store(TGo4Parameter* cali)
public Int_t Store(TGo4Condition* conny)
public Int_t Store(TGo4Fitter* fitter)
public Int_t Store(TFolder* fold)
public void StoreCalibration()
Association Links |
to Class TGo4AnalysisStep
to Class TGo4EventFactory
to Class TGo4EventStore
to Class TGo4EventSource
to Class TGo4EventProcessor
to Class TGo4EventElement
to Class TGo4EventElement
to Class TGo4EventSourceParameter
to Class TGo4EventStoreParameter
to Class TGo4EventProcessorParameter
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |