Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ComSetSource Class Reference

Switches the event source of the target analysis step. More...

#include <TGo4ComSetSource.h>

Inheritance diagram for TGo4ComSetSource:

TGo4AnalysisStepCommand TGo4AnalysisCommand TGo4Command List of all members.

Public Methods

 TGo4ComSetSource ()
 TGo4ComSetSource (const char *stepname, TGo4EventSourceParameter *newsource)
virtual ~TGo4ComSetSource ()
Int_t ExeCom ()
 Do the command action. More...

TGo4EventSourceParameterGetSourcePar () const
 Access to the new event source parameter. More...

void SetSourcePar (TGo4EventSourceParameter *par)
 Set the event source parameter. More...


Private Attributes

TGo4EventSourceParameterfxSourcePar

Detailed Description

Switches the event source of the target analysis step.

The old source is deleted (closed) and a new source is created; this happens in between two event processings.

Author:
J. Adamczewski
Since:
16-Aug-2001

Definition at line 29 of file TGo4ComSetSource.h.


Constructor & Destructor Documentation

TGo4ComSetSource::TGo4ComSetSource  
 

Definition at line 33 of file TGo4ComSetSource.cxx.

References fxSourcePar, TGo4Command::SetReceiverName(), and TRACE.

TGo4ComSetSource::TGo4ComSetSource const char *    stepname,
TGo4EventSourceParameter   newsource
 

Definition at line 22 of file TGo4ComSetSource.cxx.

References fxSourcePar, TGo4Command::SetReceiverName(), and TRACE.

TGo4ComSetSource::~TGo4ComSetSource   [virtual]
 

Definition at line 44 of file TGo4ComSetSource.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4ComSetSource::ExeCom   [virtual]
 

Do the command action.

Reimplemented from TGo4Command.

Definition at line 49 of file TGo4ComSetSource.cxx.

References TGo4Log::Debug(), TGo4AnalysisStepCommand::fgcDEFAULTSTEP, TGo4Command::fxReceiverBase, GetSourcePar(), TGo4AnalysisStepCommand::GetStepName(), TGo4Analysis::Instance(), TGo4Analysis::NewStepSource(), TGo4Slave::SendStatusMessage(), and TRACE.

TGo4EventSourceParameter* TGo4ComSetSource::GetSourcePar   const [inline]
 

Access to the new event source parameter.

Definition at line 41 of file TGo4ComSetSource.h.

References fxSourcePar.

Referenced by ExeCom().

void TGo4ComSetSource::SetSourcePar TGo4EventSourceParameter   par [inline]
 

Set the event source parameter.

Definition at line 44 of file TGo4ComSetSource.h.

References fxSourcePar.


Member Data Documentation

TGo4EventSourceParameter* TGo4ComSetSource::fxSourcePar [private]
 

Definition at line 48 of file TGo4ComSetSource.h.

Referenced by GetSourcePar(), SetSourcePar(), and TGo4ComSetSource().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:33 2005 for Go4-v2.10-5 by doxygen1.2.15