Ignore:
Timestamp:
09/15/04 12:43:16 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/macros
Files:
3 edited

Legend:

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

    r4773 r5021  
    4444  // ------------- user change -----------------
    4545  TString* CalibrationFilename;
    46   CalibrationFilename = new TString("../../gammas_nonoise/Gamma_zbin0_0*.root");  // File to be used for the calibration (must be a camera file without added noise)
    47 
    48   Char_t* AnalysisFilename = "Proton_zbin0_0*.root";  // File to be analyzed
     46  CalibrationFilename = new TString("../gammas_nonoise/Gamma_zbin0_0*.root");  // File to be used for the calibration (must be a camera file without added noise)
     47
     48  Char_t* AnalysisFilename = "Gamma_zbin9_90_7_1740to1749_w0.root";  // File to be analyzed
    4949
    5050  Char_t* OutFilename      = "calibrated_data.root";  // Output file name
     
    121121
    122122  MHillasCalc hcalc; // Calculates Hillas parameters not dependent on source position.
     123  hcalc.Disable(MHillasCalc::kCalcHillasSrc);
    123124
    124125  MMcCalibrationCalc mccalibcalc;
  • trunk/MagicSoft/Mars/macros/starmc.C

    r4773 r5021  
    5252  // differences in gain of outer pixels)
    5353  //
    54   CalibrationFilename = new TString("../../gammas_nonoise/Gamma_zbin0_90_*.root");
     54  CalibrationFilename = new TString("../../standard/gammas_nonoise/Gamma_zbin0_90_*.root");
    5555  // File to be used in the calibration (must be a camera file without added noise)
    5656
    57   Char_t* AnalysisFilename = "Gamma_zbin*.root";  // File to be analyzed
     57  Char_t* AnalysisFilename = "Gamma_zbin9_90_7_52780to52784_w0.root";  // File to be analyzed
    5858
    5959
     
    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
     
    130130
    131131  MHillasCalc       hcalc; // Calculates Hillas parameters not dependent on source position.
    132   MHillasSrcCalc    scalc; // Calculates source-dependent Hillas parameters
     132  hcalc.Disable(MHillasCalc::kCalcHillasSrc);
    133133
    134134  MMcCalibrationCalc mccalibcalc;
     
    159159  write1.AddContainer("MHillasExt",    "Events");
    160160  write1.AddContainer("MHillasSrc",    "Events");
     161  write1.AddContainer("MImagePar",     "Events");
    161162  write1.AddContainer("MNewImagePar",  "Events");
    162163
     
    171172      write2.AddContainer("MHillasExt",    "Events");
    172173      write2.AddContainer("MHillasSrc",    "Events");
     174      write2.AddContainer("MImagePar",     "Events");
    173175      write2.AddContainer("MNewImagePar",  "Events");
    174176
     
    231233  tlist.RemoveFromList(&mccalibcalc); // Removes calibration task from list.
    232234
    233   tlist.AddToList(&scalc);            // Calculates Source-dependent Hillas parameters
    234 
     235  hcalc.Enable(MHillasCalc::kCalcHillasSrc);
    235236
    236237  // Add tasks to write output:
  • trunk/MagicSoft/Mars/macros/starmc2.C

    r4101 r5021  
    7373
    7474  MHillasCalc       hcalc; // Calculates Hillas parameters not dependent on source position.
    75   MHillasSrcCalc    scalc; // Calculates source-dependent Hillas parameters
     75  hcalc.Enable(MHillasCalc::kCalcHillasSrc);
    7676
    7777  tlist.AddToList(&read);
    7878  tlist.AddToList(&clean);
    7979  tlist.AddToList(&hcalc);
    80   tlist.AddToList(&scalc); // Calculates Source-dependent Hillas parameters
    8180
    8281  //
Note: See TracChangeset for help on using the changeset viewer.