25 fbSourceEnabled(kFALSE),
26 fbStoreEnabled(kFALSE),
27 fbProcessEnabled(kFALSE),
28 fbErrorStopEnabled(kFALSE),
29 fbErrorStopped(kFALSE),
35 TGo4Status(name,
"Go4 AnalysisStep Status Object"),
39 fbSourceEnabled(kFALSE),
40 fbStoreEnabled(kFALSE),
41 fbProcessEnabled(kFALSE),
42 fbErrorStopEnabled(kFALSE),
43 fbErrorStopped(kFALSE),
46 GO4TRACE((15,
"TGo4AnalysisStepStatus::TGo4AnalysisStepStatus(const char*)",__LINE__, __FILE__));
52 GO4TRACE((15,
"TGo4AnalysisStepStatus::~TGo4AnalysisStepStatus()",__LINE__, __FILE__));
60 GO4TRACE((12,
"TGo4AnalysisStepStatus::PrintStatus()",__LINE__, __FILE__));
64 Text_t localbuf[64000];
65 if(buflen<0 && buffer!=0)
69 Text_t* current=localbuf;
70 Int_t restlen=locallen;
73 TROOT::IncreaseDirLevel();
88 current=
PrintBuffer(current,restlen,
"EventSource Type: undefined \n");
94 current=
PrintBuffer(current,restlen,
"EventSource is disabled. \n");
124 current=
PrintBuffer(current,restlen,
"EventStore Type: undefined \n");
130 current=
PrintBuffer(current,restlen,
"EventStore is disabled.\n");
142 current=
PrintBuffer(current,restlen,
"Step is disabled.\n");
144 TROOT::DecreaseDirLevel();
146 current =
PrintBuffer(current, restlen,
"---------------------------------------------- \n");
148 std::cout << localbuf << std::endl;
150 size = locallen - restlen;
151 if (size > buflen - 1)
153 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)