Ignore:
Timestamp:
01/22/04 16:27:10 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc

    r2883 r2885  
    2424
    2525//////////////////////////////////////////////////////////////////////////////
    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//
    3636//////////////////////////////////////////////////////////////////////////////
    3737#include "MHCalibrationBlindPixel.h"
     
    3939
    4040#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>
    4941#include <TCanvas.h>
    5042#include <TPaveText.h>
     43
     44#include <TF1.h>
     45#include <TH1.h>
    5146#include <TRandom.h>
    52 
    53 #include <TText.h>
    54 
    55 #include "MBinning.h"
    56 #include "MParList.h"
    5747
    5848#include "MLog.h"
     
    6252
    6353using namespace std;
     54
    6455// --------------------------------------------------------------------------
    6556//
     
    145136}
    146137
     138Bool_t MHCalibrationBlindPixel::FillBlindPixelCharge(Float_t q)
     139{
     140    return fHBlindPixelCharge->Fill(q) > -1;
     141}
     142
     143Bool_t MHCalibrationBlindPixel::FillBlindPixelTime(Int_t t)
     144{
     145    return fHBlindPixelTime->Fill(t) > -1;
     146}
     147
     148Bool_t MHCalibrationBlindPixel::FillBlindPixelChargevsN(Stat_t rq, Int_t t)
     149{
     150    return fHBlindPixelChargevsN->Fill(t,rq) > -1;
     151}
    147152
    148153
Note: See TracChangeset for help on using the changeset viewer.