GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4UserStoreParameter.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 TGO4USERSTOREPARAMETER_H
15#define TGO4USERSTOREPARAMETER_H
16
18
19#include "TString.h"
20
24
26
28
29 public:
31
32 TGo4UserStoreParameter(const char *name);
33
35
37 void Print(Option_t *opt = "") const override;
38
40 Bool_t UpdateFrom(TGo4Parameter *rhs) override;
41
43 const char *GetExpression() const { return fxExpression.Data(); }
44 void SetExpression(const char *name) { fxExpression = name; }
45
46 private:
47
49 TString fxExpression;
50
51 ClassDefOverride(TGo4UserStoreParameter,1)
52};
53
54#endif //TGO4USERSTOREPARAMETER_H
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
const char * GetExpression() const
User expression as string.
void Print(Option_t *opt="") const override
basic method to printout object
TString fxExpression
Any user defined expression as string.
void SetExpression(const char *name)
Bool_t UpdateFrom(TGo4Parameter *rhs) override
update contents of parameter class with external object.