GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4AnalysisObjectResult.cxx
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 
15 
16 #include "TROOT.h"
17 
19 
20 
22  TGo4Status()
23 {
24 }
25 
27  TGo4Status(name)
28 {
29 }
30 
32 {
33  // names list is not owned by the result object
34  // delete fxNamesList;
35  // fxNamesList = nullptr;
36 }
37 
39 {
41  if(chown) fxNamesList = nullptr;
42  return reval;
43 }
44 
45 void TGo4AnalysisObjectResult::Print(Option_t *) const
46 {
47  gROOT->SetDirLevel(0);
48  PrintLine("G-OOOO-> Analysis Object Result Printout <-OOOO-G");
49  PrintLine("G-OOOO-> ---------------------------------------------- <-OOOO-G");
50 
51  if(fxNamesList)
52  fxNamesList->Print();
53 
54  PrintLine(" Full object name: \t%s", GetObjectFullName());
55  PrintLine(" Message: \t%s", GetMessage());
56  PrintLine(" Action: \t%d", Action());
57 }
Go4ResultAction_t Action() const
const char * GetObjectFullName() const
void Print(Option_t *opt="") const override
TGo4AnalysisObjectNames * GetNamesList(Bool_t chown=kTRUE)
TGo4AnalysisObjectNames * fxNamesList
void Print(Option_t *opt="") const override
static void PrintLine(const char *text,...)
Definition: TGo4Status.cxx:101