GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4FitterEnvelope.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 TGO4FITTERENVELOPE_H
15#define TGO4FITTERENVELOPE_H
16
17#include "TGo4Parameter.h"
18
19#include "TGo4Fitter.h"
20
28
30
31 public:
33 TGo4FitterEnvelope(const char *name, TGo4Fitter *fitter = nullptr);
34 virtual ~TGo4FitterEnvelope();
35
36 void Print(Option_t *opt = "") const override;
37 Bool_t UpdateFrom(TGo4Parameter *) override;
38
39 void Clear(Option_t *opt = "") override;
40
45 TGo4Fitter *GetFitter(Bool_t chown = kFALSE);
46
48 void SetFitter(TGo4Fitter *fitter);
49
50 private:
52
53 ClassDefOverride(TGo4FitterEnvelope,1)
54};
55
56#endif //TGO4FITTERENVELOPE_H
This class is a container for one fitter to be send between gui and analysis and back.
TGo4Fitter * GetFitter(Bool_t chown=kFALSE)
Access to the contained fitter object.
Bool_t UpdateFrom(TGo4Parameter *) override
Update contents of parameter class with external object.
void Clear(Option_t *opt="") override
void SetFitter(TGo4Fitter *fitter)
Set new fitter into envelope.
void Print(Option_t *opt="") const override
Central class of Go4Fit package.
Definition TGo4Fitter.h:38