Ignore:
Timestamp:
01/13/05 15:20:33 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5565 r5819  
    5252  // differences in gain of outer pixels)
    5353  //
    54   CalibrationFilename = new TString("/data1/MAGIC/Period016/mcdata/fullmirror_spot_default/standard/gammas_nonoise/Gamma_zbin0_90_*.root");
     54  CalibrationFilename = new TString("/data1/magic/mc_data/root/Period021_0.73_mirror/gammas_nonoise/Gamma_zbin0_*.root");
    5555  // File to be used in the calibration (must be a camera file without added noise)
    5656
     
    6464
    6565  OutFilename1 = new TString("star_train.root");   // Output file name 1 (test)
    66   //  OutFilename2 = new TString("star_test.root"); // Output file name 2 (train)
     66  OutFilename2 = new TString("star_test.root"); // Output file name 2 (train)
    6767  //
    6868  // Fraction of events (taken at random) which one wants to process from the
     
    7272  Float_t accepted_fraction = 1.;
    7373
    74   Float_t CleanLev[2] = {4., 3.}; // Tail cuts for image analysis
    75 
    76   Int_t BinsHigh[2] = {5, 10}; // First and last FADC bin of the range to be integrated,
    77   Int_t BinsLow[2]  = {5, 10}; // for high and low gain respectively.
     74  Float_t CleanLev[2] = {3., 2.}; // Tail cuts for image analysis
     75
     76  //  Int_t BinsHigh[2] = {5, 10}; // First and last FADC bin of the range to be integrated,
     77  //  Int_t BinsLow[2]  = {5, 10}; // for high and low gain respectively.
     78  //  MExtractSignal    sigextract;
     79  //  sigextract.SetSaturationLimit(240);
     80  // Define ADC slices to be integrated in high and low gain:
     81  //  sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]);
     82
     83  MExtractFixedWindowPeakSearch sigextract;
     84  sigextract.SetWindows(6, 6, 4);
     85
     86  MSrcPosCam src;
     87  //
     88  // WOBBLE MODE!!
     89  //   src.SetX(120.);  // units: mm
     90
     91  src.SetReadyToSave();
     92
    7893
    7994  // -------------------------------------------
     
    89104  plist.AddToList(&tlist);
    90105
    91   MSrcPosCam src;
    92106  src.SetReadyToSave();
    93107  plist.AddToList(&src);
     
    113127  MMcPedestalCopy   pcopy;
    114128  // Copies pedestal data from the MC file run fadc header to the MPedestalCam container.
    115 
    116   MExtractSignal    sigextract;
    117   sigextract.SetSaturationLimit(240);
    118   // Define ADC slices to be integrated in high and low gain:
    119   sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]);
    120129
    121130  MPointingPosCalc pointcalc;
Note: See TracChangeset for help on using the changeset viewer.