Changeset 2885 for trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
- Timestamp:
- 01/22/04 16:27:10 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
r2883 r2885 24 24 25 25 ////////////////////////////////////////////////////////////////////////////// 26 // //27 // MHCalibrationBlindPixel //28 // //29 // Performs all the Single Photo-Electron Fit to extract //30 // the mean number of photons and to derive the light flux //31 // //32 // The fit result is accepted under condition that: //33 // 1) the Probability is greater than gkProbLimit (default 0.001 == 99.7%) //34 // 2) at least 100 events are in the single Photo-electron peak //35 // //26 // 27 // MHCalibrationBlindPixel 28 // 29 // Performs all the Single Photo-Electron Fit to extract 30 // the mean number of photons and to derive the light flux 31 // 32 // The fit result is accepted under condition that: 33 // 1) the Probability is greater than gkProbLimit (default 0.001 == 99.7%) 34 // 2) at least 100 events are in the single Photo-electron peak 35 // 36 36 ////////////////////////////////////////////////////////////////////////////// 37 37 #include "MHCalibrationBlindPixel.h" … … 39 39 40 40 #include <TStyle.h> 41 #include <TMath.h>42 #include <TPad.h>43 44 #include <TMinuit.h>45 #include <TFitter.h>46 47 #include <TF1.h>48 #include <TH2.h>49 41 #include <TCanvas.h> 50 42 #include <TPaveText.h> 43 44 #include <TF1.h> 45 #include <TH1.h> 51 46 #include <TRandom.h> 52 53 #include <TText.h>54 55 #include "MBinning.h"56 #include "MParList.h"57 47 58 48 #include "MLog.h" … … 62 52 63 53 using namespace std; 54 64 55 // -------------------------------------------------------------------------- 65 56 // … … 145 136 } 146 137 138 Bool_t MHCalibrationBlindPixel::FillBlindPixelCharge(Float_t q) 139 { 140 return fHBlindPixelCharge->Fill(q) > -1; 141 } 142 143 Bool_t MHCalibrationBlindPixel::FillBlindPixelTime(Int_t t) 144 { 145 return fHBlindPixelTime->Fill(t) > -1; 146 } 147 148 Bool_t MHCalibrationBlindPixel::FillBlindPixelChargevsN(Stat_t rq, Int_t t) 149 { 150 return fHBlindPixelChargevsN->Fill(t,rq) > -1; 151 } 147 152 148 153
Note:
See TracChangeset
for help on using the changeset viewer.