GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4FitterEnvelope Class Reference

This class is a container for one fitter to be send between gui and analysis and back. More...

#include <TGo4FitterEnvelope.h>

+ Inheritance diagram for TGo4FitterEnvelope:

Public Member Functions

 TGo4FitterEnvelope ()
 
 TGo4FitterEnvelope (const char *name, TGo4Fitter *fitter=nullptr)
 
virtual ~TGo4FitterEnvelope ()
 
void Clear (Option_t *opt="") override
 
TGo4FitterGetFitter (Bool_t chown=kFALSE)
 Access to the contained fitter object.
 
void Print (Option_t *opt="") const override
 
void SetFitter (TGo4Fitter *fitter)
 Set new fitter into envelope.
 
Bool_t UpdateFrom (TGo4Parameter *) override
 Update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
void Clear (Option_t *opt="") override
 
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
 
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
 
void GetMemberValues (TObjArray *fItems)
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro,.
 
Bool_t SetMemberValues (TObjArray *fItems)
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.
 

Private Attributes

TGo4FitterfxFitter {nullptr}
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Parameter
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
 
void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
 
Bool_t SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset)
 

Detailed Description

This class is a container for one fitter to be send between gui and analysis and back.

It is treated in the scope of the go4 parameter mechanism.

Author
J. Adamczewski
Since
8-apr-2003

Definition at line 29 of file TGo4FitterEnvelope.h.

Constructor & Destructor Documentation

◆ TGo4FitterEnvelope() [1/2]

TGo4FitterEnvelope::TGo4FitterEnvelope ( )

Definition at line 18 of file TGo4FitterEnvelope.cxx.

References TGo4Parameter::TGo4Parameter().

Referenced by UpdateFrom().

◆ TGo4FitterEnvelope() [2/2]

TGo4FitterEnvelope::TGo4FitterEnvelope ( const char * name,
TGo4Fitter * fitter = nullptr )

Definition at line 23 of file TGo4FitterEnvelope.cxx.

References TGo4Parameter::TGo4Parameter(), and fxFitter.

◆ ~TGo4FitterEnvelope()

TGo4FitterEnvelope::~TGo4FitterEnvelope ( )
virtual

Definition at line 29 of file TGo4FitterEnvelope.cxx.

References fxFitter.

Member Function Documentation

◆ Clear()

void TGo4FitterEnvelope::Clear ( Option_t * opt = "")
override

Definition at line 53 of file TGo4FitterEnvelope.cxx.

References fxFitter.

◆ GetFitter()

TGo4Fitter * TGo4FitterEnvelope::GetFitter ( Bool_t chown = kFALSE)

Access to the contained fitter object.

If change owner is kTRUE, this fitter envelope will lose its fitter to the invoking client and is empty after this call.

Definition at line 58 of file TGo4FitterEnvelope.cxx.

References fxFitter.

◆ Print()

void TGo4FitterEnvelope::Print ( Option_t * opt = "") const
override

Definition at line 34 of file TGo4FitterEnvelope.cxx.

References fxFitter, TGo4Parameter::Print(), and TGo4Status::PrintLine().

◆ SetFitter()

void TGo4FitterEnvelope::SetFitter ( TGo4Fitter * fitter)

Set new fitter into envelope.

Previous fitter is deleted.

Definition at line 65 of file TGo4FitterEnvelope.cxx.

References fxFitter.

◆ UpdateFrom()

Bool_t TGo4FitterEnvelope::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

Update contents of parameter class with external object.

to be implemented in subclass

Reimplemented from TGo4Parameter.

Definition at line 43 of file TGo4FitterEnvelope.cxx.

References TGo4FitterEnvelope(), TGo4Parameter::TGo4Parameter(), and fxFitter.

Field Documentation

◆ fxFitter

TGo4Fitter* TGo4FitterEnvelope::fxFitter {nullptr}
private

The documentation for this class was generated from the following files: