source: trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityChargeCam.h@ 5729

Last change on this file since 5729 was 5653, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.4 KB
Line 
1#ifndef MARS_MCalibrationIntensityChargeCam
2#define MARS_MCalibrationIntensityChargeCam
3
4#ifndef MARS_MCalibrationIntensityCam
5#include "MCalibrationIntensityCam.h"
6#endif
7
8#ifndef MARS_MCalibrationChargeCam
9#include "MCalibrationChargeCam.h"
10#endif
11
12#ifndef MARS_MCalibrationCam
13#include "MCalibrationCam.h"
14#endif
15
16class TGraphErrors;
17class TH2F;
18class MGeomCam;
19
20class MCalibrationIntensityChargeCam : public MCalibrationIntensityCam
21{
22private:
23
24 void Add(const UInt_t a, const UInt_t b);
25
26public:
27
28 MCalibrationIntensityChargeCam(const char *name=NULL, const char *title=NULL);
29
30 // Setters
31 void SetFFactorMethodValid ( const Bool_t b=kTRUE ) {
32 ((MCalibrationChargeCam*)GetCam())->SetFFactorMethodValid(b); }
33 void SetNumPhotonsBlindPixelMethod ( const Float_t f ) {
34 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsBlindPixelMethod(f); }
35 void SetNumPhotonsFFactorMethod ( const Float_t f ) {
36 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsFFactorMethod (f); }
37 void SetNumPhotonsPINDiodeMethod ( const Float_t f ) {
38 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsPINDiodeMethod (f); }
39 void SetNumPhotonsBlindPixelMethodErr( const Float_t f ) {
40 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsBlindPixelMethodErr(f); }
41 void SetNumPhotonsFFactorMethodErr ( const Float_t f ) {
42 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsFFactorMethodErr(f); }
43 void SetNumPhotonsPINDiodeMethodErr ( const Float_t f ) {
44 ((MCalibrationChargeCam*)GetCam())->SetNumPhotonsPINDiodeMethodErr(f); }
45
46 Int_t CountNumValidEntries(const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE) const;
47
48 TGraphErrors *GetRazmikPlot( const UInt_t pixid );
49 TGraphErrors *GetPheVsCharge( const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
50 TGraphErrors *GetPhePerCharge( const UInt_t pixid, const MGeomCam &geom, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
51 TGraphErrors *GetPhePerChargePerArea( const Int_t aidx, const MGeomCam &geom, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
52 TGraphErrors *GetPheVsChargePerArea( const Int_t aidx, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
53 TH2F *GetRazmikPlotResults( const Int_t aidx, const MGeomCam &geom );
54
55 ClassDef(MCalibrationIntensityChargeCam, 1) // Container Intensity Charge Calibration Results Camera
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.