GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4FitNamed.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 TGO4FITNAMED_H
15#define TGO4FITNAMED_H
16
17#include "TNamed.h"
18
25class TGo4FitNamed : public TNamed {
26 public:
27
32
36 TGo4FitNamed(const char *Name, const char *Title, TNamed *Owner = nullptr);
37
41 virtual ~TGo4FitNamed();
42
47 const char *GetFullName();
48
53 const char *GetOwnerFullName();
54
59 void SetOwner(TNamed *iOwner) { fxOwner = iOwner; }
60
64 TNamed *GetOwner() { return fxOwner; }
65
66 void Print(Option_t *option = "") const override;
67
68 private:
69
73 TNamed *fxOwner{nullptr};
74
78 TString fxFullName;
79
80 ClassDefOverride(TGo4FitNamed,1)
81};
82
83#endif // TGO4FITNAMED_H
void Print(Option_t *option="") const override
void SetOwner(TNamed *iOwner)
Sets owner of object.
const char * GetOwnerFullName()
Return full name of owner.
virtual ~TGo4FitNamed()
Destroy TGo4FitNamed object.
TNamed * GetOwner()
Return owner of object.
TString fxFullName
String, containing full name of object.
TNamed * fxOwner
Owner of object.
TGo4FitNamed()
Default constructor.
const char * GetFullName()
Returns full name of object.