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

TGo4ComGetCurrentEvent Class Reference

Requests the current event as a sample from the client. More...

#include <TGo4ComGetCurrentEvent.h>

Inheritance diagram for TGo4ComGetCurrentEvent:

TGo4AnalysisObjectCommand TGo4AnalysisCommand TGo4Command List of all members.

Public Methods

 TGo4ComGetCurrentEvent ()
 TGo4ComGetCurrentEvent (const char *obname)
virtual ~TGo4ComGetCurrentEvent ()
Int_t ExeCom ()
 Do the command action. More...

Bool_t IsOutputEvent () const
void SetOutputEvent (Bool_t output=kTRUE)
Bool_t IsPrintoutOnly () const
void SetPrintoutOnly (Bool_t on=kTRUE)
Bool_t IsTreeMode () const
void SetTreeMode (Bool_t on=kTRUE)

Private Attributes

Bool_t fbOutputEvent
 If true output event is searched, otherwise input event of step. More...

Bool_t fbPrintoutOnly
 If true, the event will not be sent but content is shown on analysis terminal. More...

Bool_t fbTreeMode
 If true, event will be put into tree before showing; otherwise use PrintEvent method or send event directly. More...


Detailed Description

Requests the current event as a sample from the client.

Object name is name of the analysis step that owns the event. By default, the output event of that step is taken. If no such analysis step, the event is searched by name in the eventstructure folder. Event will be filled in a temporary tree that is send to the gui. Any user event display may apply this command.

Author:
J. Adamczewski
Since:
02-Jul-2002

Definition at line 33 of file TGo4ComGetCurrentEvent.h.


Constructor & Destructor Documentation

TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent  
 

Definition at line 34 of file TGo4ComGetCurrentEvent.cxx.

References TGo4Command::SetReceiverName(), and TRACE.

TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent const char *    obname
 

Definition at line 25 of file TGo4ComGetCurrentEvent.cxx.

References TGo4Command::SetReceiverName(), and TRACE.

TGo4ComGetCurrentEvent::~TGo4ComGetCurrentEvent   [virtual]
 

Definition at line 43 of file TGo4ComGetCurrentEvent.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4ComGetCurrentEvent::ExeCom   [virtual]
 

Do the command action.

Reimplemented from TGo4Command.

Definition at line 49 of file TGo4ComGetCurrentEvent.cxx.

References TGo4Analysis::CreateSingleEventTree(), TGo4Log::Debug(), TGo4Analysis::GetEventStructure(), TGo4Analysis::GetInputEvent(), TGo4AnalysisObjectCommand::GetObjectName(), TGo4Analysis::GetOutputEvent(), TGo4Command::GetTaskName(), TGo4Analysis::Instance(), IsOutputEvent(), IsPrintoutOnly(), IsTreeMode(), TGo4EventElement::PrintEvent(), TGo4Slave::SendObject(), TGo4Slave::SendStatusMessage(), TGo4Analysis::ShowEvent(), and TRACE.

Bool_t TGo4ComGetCurrentEvent::IsOutputEvent   const [inline]
 

Definition at line 44 of file TGo4ComGetCurrentEvent.h.

References fbOutputEvent.

Referenced by ExeCom().

void TGo4ComGetCurrentEvent::SetOutputEvent Bool_t    output = kTRUE [inline]
 

Definition at line 46 of file TGo4ComGetCurrentEvent.h.

References fbOutputEvent.

Referenced by TGo4EventInfoSlots::SendGetCurrentEventCommand().

Bool_t TGo4ComGetCurrentEvent::IsPrintoutOnly   const [inline]
 

Definition at line 48 of file TGo4ComGetCurrentEvent.h.

References fbPrintoutOnly.

Referenced by ExeCom().

void TGo4ComGetCurrentEvent::SetPrintoutOnly Bool_t    on = kTRUE [inline]
 

Definition at line 50 of file TGo4ComGetCurrentEvent.h.

References fbPrintoutOnly.

Referenced by TGo4EventInfoSlots::SendGetCurrentEventCommand().

Bool_t TGo4ComGetCurrentEvent::IsTreeMode   const [inline]
 

Definition at line 52 of file TGo4ComGetCurrentEvent.h.

References fbTreeMode.

Referenced by ExeCom().

void TGo4ComGetCurrentEvent::SetTreeMode Bool_t    on = kTRUE [inline]
 

Definition at line 54 of file TGo4ComGetCurrentEvent.h.

References fbTreeMode.

Referenced by TGo4EventInfoSlots::SendGetCurrentEventCommand().


Member Data Documentation

Bool_t TGo4ComGetCurrentEvent::fbOutputEvent [private]
 

If true output event is searched, otherwise input event of step.

Definition at line 60 of file TGo4ComGetCurrentEvent.h.

Referenced by IsOutputEvent(), and SetOutputEvent().

Bool_t TGo4ComGetCurrentEvent::fbPrintoutOnly [private]
 

If true, the event will not be sent but content is shown on analysis terminal.

Definition at line 63 of file TGo4ComGetCurrentEvent.h.

Referenced by IsPrintoutOnly(), and SetPrintoutOnly().

Bool_t TGo4ComGetCurrentEvent::fbTreeMode [private]
 

If true, event will be put into tree before showing; otherwise use PrintEvent method or send event directly.

Definition at line 67 of file TGo4ComGetCurrentEvent.h.

Referenced by IsTreeMode(), and SetTreeMode().


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