#include <TGo4ComSetPrintEvent.h>
Public Member Functions | |
TGo4ComSetPrintEvent () | |
TGo4ComSetPrintEvent (const char *obname) | |
virtual | ~TGo4ComSetPrintEvent () |
Int_t | ExeCom () |
virtual void | Set (TGo4RemoteCommand *remcon) |
void | SetEventNum (Int_t i) |
void | SetSubId (Int_t i) |
void | SetLong (Bool_t on) |
void | SetHex (Bool_t on) |
void | SetData (Bool_t on) |
Private Attributes | |
TGo4MbsSourcePrintPar | fxPrintPar |
Sets explicit printout for the next n events to come Event is searched by object name in the EventObjects folder. Currently, this feature is only supported for mbs events. may be extended to all kinds of TGo4EventElements...
Definition at line 27 of file TGo4ComSetPrintEvent.h.
TGo4ComSetPrintEvent::TGo4ComSetPrintEvent | ( | ) |
Definition at line 29 of file TGo4ComSetPrintEvent.cxx.
References TGo4Command::SetReceiverName().
TGo4ComSetPrintEvent::TGo4ComSetPrintEvent | ( | const char * | obname | ) |
Definition at line 23 of file TGo4ComSetPrintEvent.cxx.
References TGo4Command::SetReceiverName().
TGo4ComSetPrintEvent::~TGo4ComSetPrintEvent | ( | ) | [virtual] |
Definition at line 36 of file TGo4ComSetPrintEvent.cxx.
Int_t TGo4ComSetPrintEvent::ExeCom | ( | ) | [virtual] |
Do the command action
Reimplemented from TGo4Command.
Definition at line 51 of file TGo4ComSetPrintEvent.cxx.
References TGo4Log::Debug(), TGo4MbsSourcePrintPar::fiData, TGo4MbsSourcePrintPar::fiHex, TGo4MbsSourcePrintPar::fiLong, TGo4MbsSourcePrintPar::fiNum, TGo4MbsSourcePrintPar::fiSid, fxPrintPar, TGo4Command::fxReceiverBase, TGo4EventElement::GetEventSource(), TGo4Analysis::GetEventStructure(), TGo4AnalysisObjectCommand::GetObjectName(), GO4TRACE, TGo4Analysis::Instance(), TGo4AnalysisClient::SendStatusMessage(), and TGo4MbsSource::SetPrintEvent().
void TGo4ComSetPrintEvent::Set | ( | TGo4RemoteCommand * | remcon | ) | [virtual] |
Set internals of this command from specification of external remote command (command container). Must be overloaded for each specific command!
Reimplemented from TGo4AnalysisObjectCommand.
Definition at line 40 of file TGo4ComSetPrintEvent.cxx.
References TGo4MbsSourcePrintPar::fiData, TGo4MbsSourcePrintPar::fiHex, TGo4MbsSourcePrintPar::fiLong, TGo4MbsSourcePrintPar::fiNum, TGo4MbsSourcePrintPar::fiSid, fxPrintPar, and TGo4RemoteCommand::GetValue().
void TGo4ComSetPrintEvent::SetData | ( | Bool_t | on | ) | [inline] |
Definition at line 46 of file TGo4ComSetPrintEvent.h.
References TGo4MbsSourcePrintPar::fiData, and fxPrintPar.
void TGo4ComSetPrintEvent::SetEventNum | ( | Int_t | i | ) | [inline] |
Definition at line 42 of file TGo4ComSetPrintEvent.h.
References TGo4MbsSourcePrintPar::fiNum, and fxPrintPar.
void TGo4ComSetPrintEvent::SetHex | ( | Bool_t | on | ) | [inline] |
Definition at line 45 of file TGo4ComSetPrintEvent.h.
References TGo4MbsSourcePrintPar::fiHex, and fxPrintPar.
void TGo4ComSetPrintEvent::SetLong | ( | Bool_t | on | ) | [inline] |
Definition at line 44 of file TGo4ComSetPrintEvent.h.
References TGo4MbsSourcePrintPar::fiLong, and fxPrintPar.
void TGo4ComSetPrintEvent::SetSubId | ( | Int_t | i | ) | [inline] |
Definition at line 43 of file TGo4ComSetPrintEvent.h.
References TGo4MbsSourcePrintPar::fiSid, and fxPrintPar.
Definition at line 50 of file TGo4ComSetPrintEvent.h.
Referenced by ExeCom(), Set(), SetData(), SetEventNum(), SetHex(), SetLong(), and SetSubId().