Ignore:
Timestamp:
08/17/04 16:45:03 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/calibration.C

    r4348 r4662  
    8787
    8888static TString outpath = "./";
    89 static TString inpath  = "/home/rootdata/Calib/2004_05_24/";
     89static TString inpath  = "/home/rootdata/Calib/2004_06_22/";
    9090static TString badfile = "";
    9191//
    9292// the default pedestal run for the calibration
    9393//
    94 static const Int_t   pedrun  = 26569;
     94static const Int_t   pedrun  = 30749;
    9595//
    9696// the default start calibration run
    9797//
    98 static const Int_t   calrun1 = 26568;
     98static const Int_t   calrun1 = 30752;
    9999//
    100100// the default last calibration run (if 0, only one run is taken, otherwise consecutive runs
     
    110110//
    111111static Bool_t blindpix = kTRUE;
    112 //
    113112// A switch to use the PIN Diode
    114113//
     
    139138  //  MExtractFixedWindowPeakSearch extractor;
    140139  //  MExtractSlidingWindow  extractor;   
    141   MExtractFixedWindowSpline extractor;
     140  //  MExtractFixedWindowSpline extractor;
     141  MExtractFixedWindow extractor;
    142142  //  MExtractAmplitudeSpline extractor;
    143143  //  MExtractTimeAndChargeSpline extractor;
     
    145145  // Set Ranges or Windows
    146146  //
    147   extractor.SetRange(1,14,2,13);
     147  extractor.SetRange(3,14,4,13);
    148148  //  extractor.SetWindows(8,8);
    149149
     
    204204  pedloop.SetOutputPath(outpath.Data());
    205205  if (useDisplay)
    206     pedloop.SetDisplay(display);
     206    {
     207      pedloop.SetDisplay(display);
     208      pedloop.SetDataCheckDisplay();
     209    }
    207210  pedloop.SetBadPixels(badcam);
    208211
     
    226229  //
    227230  // For everything, you have ever dreamed of, choose:
    228   //  calloop.SetFullDisplay();
     231  // calloop.SetFullDisplay();
    229232
    230233  //
     
    275278      MJExtractCalibTest testloop;
    276279     
     280      // If you want to see the data-check plots only, choose:
     281      testloop.SetDataCheckDisplay();
     282
    277283      testloop.SetExtractor(&extractor);
    278284      testloop.SetTimeExtractor(&timeext);
     
    290296      return 4;
    291297     
    292       gLog << endl;
    293       gLog << "Mean equiv. number of photons from cascades per mm^2 Inner pixels: "
    294        << testloop.GetTestCam().GetMeanMeanPhotPerArea(0)
    295            << " +- " << testloop.GetTestCam().GetRmsMeanPhotPerArea(0) << endl;
    296       gLog << "Sigma equiv. number of photons from cascades per mm^2 Inner pixels: "
    297            << testloop.GetTestCam().GetMeanSigmaPhotPerArea(0)
    298            << " +- " << testloop.GetTestCam().GetRmsSigmaPhotPerArea(0) << endl;
    299      
    300       gLog << endl;
    301       gLog << "Mean equiv. number of photons from cascades per mm^2 Outer pixels: "
    302            << testloop.GetTestCam().GetMeanMeanPhotPerArea(1)
    303            << " +- " << testloop.GetTestCam().GetRmsMeanPhotPerArea(1) << endl;
    304       gLog << "Sigma equiv. number of photons from cascades per mm^2 Outer pixels: "
    305            << testloop.GetTestCam().GetMeanSigmaPhotPerArea(1)
    306            << " +- " << testloop.GetTestCam().GetRmsSigmaPhotPerArea(1) << endl;
    307       gLog << endl; 
    308      
    309298    }
    310299 
     
    344333  MCalibrationQECam     &qecam       = calloop.GetCalibrationCam();
    345334  MBadPixelsCam         &badcam      = calloop.GetBadPixels();
    346   MHCalibrationTestCam  &testcam     = testloop.GetTestCam();
     335  MCalibrationTestCam   &testcam     = testloop.GetTestCam();
    347336  MHCalibrationTestTimeCam &testtime = testloop.GetTestTimeCam();
    348 */
    349 
    350   //
    351   // List of interesting plots:
    352   //
    353 /*
    354   testcam[200].DrawClone("fourierevents");
    355   testcam.GetAverageHiGainArea(0).DrawClone();
    356   testcam.GetAverageLoGainArea(0).DrawClone();
    357   testcam.GetAverageHiGainArea(1).DrawClone();
    358   testcam.GetAverageLoGainArea(1).DrawClone();
    359 
    360   testcam.GetAverageHiGainSector(1).DrawClone();
    361   testcam.GetAverageLoGainSector(1).DrawClone();
    362   testcam.GetAverageHiGainSector(2).DrawClone();
    363   testcam.GetAverageLoGainSector(2).DrawClone();
    364   testcam.GetAverageHiGainSector(3).DrawClone();
    365   testcam.GetAverageLoGainSector(3).DrawClone();
    366   testcam.GetAverageHiGainSector(4).DrawClone();
    367   testcam.GetAverageLoGainSector(4).DrawClone();
    368   testcam.GetAverageHiGainSector(5).DrawClone();
    369   testcam.GetAverageLoGainSector(5).DrawClone();
    370   testcam.GetAverageHiGainSector(6).DrawClone();
    371   testcam.GetAverageLoGainSector(6).DrawClone();
    372337*/
    373338
Note: See TracChangeset for help on using the changeset viewer.