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

Last change on this file since 8139 was 6096, checked in by mazin, 20 years ago
*** empty log message ***
File size: 3.1 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 TH1F;
19class MGeomCam;
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 Int_t CountNumValidEntries(const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE) const;
31
32 // Graphs
33
34 TGraphErrors *GetRazmikPlot( const UInt_t pixid );
35 TGraphErrors *GetPheVsCharge( const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
36 TGraphErrors *GetPhePerCharge( const UInt_t pixid, const MGeomCam &geom, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
37 TGraphErrors *GetPhePerChargePerArea( const Int_t aidx, const MGeomCam &geom, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
38 TGraphErrors *GetPheVsChargePerArea( const Int_t aidx, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE);
39 TH2F *GetRazmikPlotResults( const Int_t aidx, const MGeomCam &geom );
40
41 TGraphErrors *GetChargePerAreaVsTime( const Int_t aidx, const MGeomCam &geom );
42 TGraphErrors *GetPhePerAreaVsTime( const Int_t aidx, const MGeomCam &geom );
43 TGraphErrors *GetPhotVsTime( const Option_t *method="FFactor" );
44
45 TGraphErrors *GetVarPerAreaVsTime( const Int_t aidx, const MGeomCam &geom, const Option_t *varname );
46 TGraphErrors *GetVarVsTime( const Int_t pixid , const Option_t *varname );
47 TH1F *GetVarFluctuations( const Int_t aidx, const MGeomCam &geom, const Option_t *varname);
48
49 // Draws
50 void DrawRazmikPlot( const UInt_t pixid );
51 void DrawPheVsCharge( const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE); // *MENU*
52 void DrawPhePerCharge( const UInt_t pixid, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE); // *MENU*
53 void DrawPhePerChargePerArea( const Int_t aidx, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE); // *MENU*
54 void DrawPheVsChargePerArea( const Int_t aidx, const MCalibrationCam::PulserColor_t col=MCalibrationCam::kNONE); // *MENU*
55 void DrawRazmikPlotResults( const Int_t aidx ); // *MENU*
56
57 void DrawChargePerAreaVsTime( const Int_t aidx); // *MENU*
58 void DrawPhePerAreaVsTime( const Int_t aidx ); // *MENU*
59 void DrawPhotVsTime( const Option_t *method="FFactor"); // *MENU*
60
61 void DrawVarPerAreaVsTime( const Int_t aidx, const Option_t *varname ); // *MENU*
62 void DrawVarVsTime( const Int_t pixid , const Option_t *varname ); // *MENU*
63 void DrawVarFluctuations( const Int_t aidx, const Option_t *varname); // *MENU*
64
65
66 ClassDef(MCalibrationIntensityChargeCam, 1) // Container Intensity Charge Calibration Results Camera
67};
68
69#endif
Note: See TracBrowser for help on using the repository browser.