source: trunk/MagicSoft/Mars/manalysis/MParameters.h@ 1884

Last change on this file since 1884 was 1884, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 753 bytes
Line 
1#ifndef MARS_MParameters
2#define MARS_MParameters
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MParameterD : public MParContainer
9{
10private:
11 Double_t fVal;
12
13public:
14 MParameterD(const char *name=NULL, const char *title=NULL);
15
16 void SetVal(Double_t v) { fVal = v; }
17 Double_t GetVal() const { return fVal; }
18
19 ClassDef(MParameterD, 1) // Container to hold a generalized parameters (double)
20};
21
22class MParameterI : public MParContainer
23{
24private:
25 Int_t fVal;
26
27public:
28 MParameterI(const char *name=NULL, const char *title=NULL);
29
30 void SetVal(Int_t v) { fVal = v; }
31 Int_t GetVal() const { return fVal; }
32
33 ClassDef(MParameterI, 1) // Container to hold a generalized parameters (double)
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.