Line | |
---|
1 | #ifndef MARS_MCalibConstPix
|
---|
2 | #define MARS_MCalibConstPix
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MCalibConstPix : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | Float_t fCalibConst; // conversion factor (modified after each interlaced cal. update)
|
---|
12 | Float_t fCalibFFactor; // global F-Factor (modified after each interlaced cal. update)
|
---|
13 |
|
---|
14 | public:
|
---|
15 | MCalibConstPix();
|
---|
16 |
|
---|
17 | // TObject
|
---|
18 | void Clear(Option_t *o="")
|
---|
19 | {
|
---|
20 | fCalibConst = -1.;
|
---|
21 | fCalibFFactor = -1.;
|
---|
22 | }
|
---|
23 |
|
---|
24 | void Copy(TObject &object) const
|
---|
25 | {
|
---|
26 | MCalibConstPix &pix = (MCalibConstPix&)object;
|
---|
27 | pix.fCalibConst = fCalibConst;
|
---|
28 | pix.fCalibFFactor = fCalibFFactor;
|
---|
29 | }
|
---|
30 |
|
---|
31 | // Getters
|
---|
32 | Float_t GetCalibConst() const { return fCalibConst; }
|
---|
33 | Float_t GetCalibFFactor() const { return fCalibFFactor; }
|
---|
34 |
|
---|
35 | // Setters
|
---|
36 | void SetCalibConst ( const Float_t f ) { fCalibConst = f; }
|
---|
37 | void SetCalibFFactor( const Float_t f ) { fCalibFFactor = f; }
|
---|
38 |
|
---|
39 | ClassDef(MCalibConstPix, 1) // Temporay Storage Calibraion Constant of one pixel
|
---|
40 | };
|
---|
41 |
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.