GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4AnalysisStepException.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TGO4ANALYSISSTEPEXCEPTION_H
15#define TGO4ANALYSISSTEPEXCEPTION_H
16
18#include "TString.h"
19
21
23
24 public:
25
27
29
30 Int_t Handle() override;
31
33
35
37 Int_t GetProcessStatus() const { return fiProcessStatus; }
38
40 const char *GetStatusMessage() const { return fxStatusMessage.Data(); }
41
43 const char *GetStepName() const { return fxStepName.Data(); }
44
45 protected:
48
50
51 TString fxStepName;
52
55};
56
57#endif
TGo4AnalysisStepException & operator=(const TGo4AnalysisStepException &right)
Int_t fiProcessStatus
Contains current analysis step status value.
Int_t Handle() override
This is a default handler function for the respective exception type.
const char * GetStatusMessage() const
Status message of last Process() call.
const char * GetStepName() const
Name of the throwing analysis step.
TGo4AnalysisStepException(TGo4AnalysisStep *step)
Int_t GetProcessStatus() const
Status of the last event.
Contains a single step of the analysis.