16 #include "Riostream.h"
26 fbSourceEnabled(kFALSE),
27 fbStoreEnabled(kFALSE),
28 fbProcessEnabled(kFALSE),
29 fbErrorStopEnabled(kFALSE),
30 fbErrorStopped(kFALSE),
36 TGo4Status(name,
"Go4 AnalysisStep Status Object"),
40 fbSourceEnabled(kFALSE),
41 fbStoreEnabled(kFALSE),
42 fbProcessEnabled(kFALSE),
43 fbErrorStopEnabled(kFALSE),
44 fbErrorStopped(kFALSE),
47 GO4TRACE((15,
"TGo4AnalysisStepStatus::TGo4AnalysisStepStatus(const char*)",__LINE__, __FILE__));
53 GO4TRACE((15,
"TGo4AnalysisStepStatus::~TGo4AnalysisStepStatus()",__LINE__, __FILE__));
61 GO4TRACE((12,
"TGo4AnalysisStepStatus::PrintStatus()",__LINE__, __FILE__));
65 Text_t localbuf[64000];
66 if(buflen<0 && buffer!=0)
70 Text_t* current=localbuf;
71 Int_t restlen=locallen;
74 TROOT::IncreaseDirLevel();
89 current=
PrintBuffer(current,restlen,
"EventSource Type: undefined \n");
95 current=
PrintBuffer(current,restlen,
"EventSource is disabled. \n");
125 current=
PrintBuffer(current,restlen,
"EventStore Type: undefined \n");
131 current=
PrintBuffer(current,restlen,
"EventStore is disabled.\n");
143 current=
PrintBuffer(current,restlen,
"Step is disabled.\n");
145 TROOT::DecreaseDirLevel();
147 current=
PrintBuffer(current,restlen,
"---------------------------------------------- \n");
150 std::cout << localbuf << std::endl;
154 size=locallen-restlen;
157 strncpy(buffer,localbuf,size);
Bool_t IsProcessEnabled() const
TGo4EventStoreParameter * fxStoreType
TGo4EventStoreParameter * GetStorePar() const
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
TGo4EventProcessorParameter * GetProcessorPar() const
TGo4EventSourceParameter * fxSourceType
Bool_t IsSourceEnabled() const
TGo4EventProcessorParameter * fxProcessorType
void SetStorePar(TGo4EventStoreParameter *kind)
static Text_t * PrintIndent(Text_t *buffer, Int_t &buflen)
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)
void SetSourcePar(TGo4EventSourceParameter *kind)
TGo4EventSourceParameter * GetSourcePar() const
Bool_t IsStoreEnabled() const
TGo4EventSourceParameter * TakeSourcePar()
void SetProcessorPar(TGo4EventProcessorParameter *kind)
Int_t GetProcessStatus() const
virtual const char * GetName() const
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)
virtual ~TGo4AnalysisStepStatus()
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
virtual Int_t PrintParameter(Text_t *buffer=0, Int_t buflen=0)