| 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 |  | 
|---|
| 16 | class TGraphErrors; | 
|---|
| 17 | class TH2F; | 
|---|
| 18 | class TH1F; | 
|---|
| 19 | class MGeomCam; | 
|---|
| 20 | class MCalibrationIntensityChargeCam : public MCalibrationIntensityCam | 
|---|
| 21 | { | 
|---|
| 22 | private: | 
|---|
| 23 |  | 
|---|
| 24 | void Add(const UInt_t a, const UInt_t b); | 
|---|
| 25 |  | 
|---|
| 26 | public: | 
|---|
| 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 | 
|---|