Changeset 5819 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/13/05 15:20:33 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5818 r5819  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2005/01/13 Abelardo Moralejo
     24
     25   * macros/starmc.C
     26     - Added (commented) lines for the case of gamma MC source off-axis
     27       (wobble mode). Changed default extractor to
     28       MExtractFixedWindowPeakSearch.
    2229
    2330 2005/01/13 Raquel de los Reyes
  • 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.