source: trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.h@ 4693

Last change on this file since 4693 was 3691, checked in by gaug, 21 years ago
*** empty log message ***
File size: 2.3 KB
Line 
1#ifndef MARS_MCalibrationQECam
2#define MARS_MCalibrationQECam
3
4#ifndef MARS_MCalibrationCam
5#include "MCalibrationCam.h"
6#endif
7
8#ifndef ROOT_TArrayC
9#include "TArrayC.h"
10#endif
11
12class MCalibrationQECam : public MCalibrationCam
13{
14private:
15
16 static const Float_t gkPlexiglassQE ; //! Quantum Efficiency Plexiglass (now set to: 0.96)
17 static const Float_t gkPlexiglassQEErr; //! Uncertainty QE Plexiglass (now set to: 0.01)
18
19 TArrayC fFlags;
20
21 enum { kBlindPixelMethodValid, kFFactorMethodValid,
22 kPINDiodeMethodValid, kCombinedMethodValid };
23
24public:
25
26 MCalibrationQECam(const char *name=NULL, const char *title=NULL);
27 ~MCalibrationQECam() {}
28
29 void Clear( Option_t *o="");
30
31 // Others
32 void DrawPixelContent( Int_t num ) const;
33 Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0 ) const;
34
35 Float_t GetPlexiglassQE () const { return gkPlexiglassQE; }
36 Float_t GetPlexiglassQERelVar () const;
37
38 Bool_t IsBlindPixelMethodValid () const;
39 Bool_t IsFFactorMethodValid () const;
40 Bool_t IsCombinedMethodValid () const;
41 Bool_t IsPINDiodeMethodValid () const;
42
43 Bool_t IsBlindPixelMethodValid ( MCalibrationCam::PulserColor_t col ) const;
44 Bool_t IsFFactorMethodValid ( MCalibrationCam::PulserColor_t col ) const;
45 Bool_t IsCombinedMethodValid ( MCalibrationCam::PulserColor_t col ) const;
46 Bool_t IsPINDiodeMethodValid ( MCalibrationCam::PulserColor_t col ) const;
47
48 // Prints
49 void Print(Option_t *o="") const;
50
51 // Setters (without color only for MC!)
52 void SetBlindPixelMethodValid ( const Bool_t b=kTRUE );
53 void SetBlindPixelMethodValid ( const Bool_t b, MCalibrationCam::PulserColor_t col);
54 void SetCombinedMethodValid ( const Bool_t b=kTRUE );
55 void SetCombinedMethodValid ( const Bool_t b, MCalibrationCam::PulserColor_t col);
56 void SetFFactorMethodValid ( const Bool_t b=kTRUE );
57 void SetFFactorMethodValid ( const Bool_t b, MCalibrationCam::PulserColor_t col);
58 void SetPINDiodeMethodValid ( const Bool_t b=kTRUE );
59 void SetPINDiodeMethodValid ( const Bool_t b, MCalibrationCam::PulserColor_t col);
60
61 ClassDef(MCalibrationQECam, 1) // Container Quantum Efficieny Calibration Results Camera
62};
63
64#endif
65
66
67
68
69
Note: See TracBrowser for help on using the repository browser.