Changeset 5021 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 09/15/04 12:43:16 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/mccalibrate.C
r4773 r5021 44 44 // ------------- user change ----------------- 45 45 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 analyzed46 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 49 49 50 50 Char_t* OutFilename = "calibrated_data.root"; // Output file name … … 121 121 122 122 MHillasCalc hcalc; // Calculates Hillas parameters not dependent on source position. 123 hcalc.Disable(MHillasCalc::kCalcHillasSrc); 123 124 124 125 MMcCalibrationCalc mccalibcalc; -
trunk/MagicSoft/Mars/macros/starmc.C
r4773 r5021 52 52 // differences in gain of outer pixels) 53 53 // 54 CalibrationFilename = new TString("../../ gammas_nonoise/Gamma_zbin0_90_*.root");54 CalibrationFilename = new TString("../../standard/gammas_nonoise/Gamma_zbin0_90_*.root"); 55 55 // File to be used in the calibration (must be a camera file without added noise) 56 56 57 Char_t* AnalysisFilename = "Gamma_zbin *.root"; // File to be analyzed57 Char_t* AnalysisFilename = "Gamma_zbin9_90_7_52780to52784_w0.root"; // File to be analyzed 58 58 59 59 … … 64 64 65 65 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) 67 67 // 68 68 // Fraction of events (taken at random) which one wants to process from the … … 130 130 131 131 MHillasCalc hcalc; // Calculates Hillas parameters not dependent on source position. 132 MHillasSrcCalc scalc; // Calculates source-dependent Hillas parameters132 hcalc.Disable(MHillasCalc::kCalcHillasSrc); 133 133 134 134 MMcCalibrationCalc mccalibcalc; … … 159 159 write1.AddContainer("MHillasExt", "Events"); 160 160 write1.AddContainer("MHillasSrc", "Events"); 161 write1.AddContainer("MImagePar", "Events"); 161 162 write1.AddContainer("MNewImagePar", "Events"); 162 163 … … 171 172 write2.AddContainer("MHillasExt", "Events"); 172 173 write2.AddContainer("MHillasSrc", "Events"); 174 write2.AddContainer("MImagePar", "Events"); 173 175 write2.AddContainer("MNewImagePar", "Events"); 174 176 … … 231 233 tlist.RemoveFromList(&mccalibcalc); // Removes calibration task from list. 232 234 233 tlist.AddToList(&scalc); // Calculates Source-dependent Hillas parameters 234 235 hcalc.Enable(MHillasCalc::kCalcHillasSrc); 235 236 236 237 // Add tasks to write output: -
trunk/MagicSoft/Mars/macros/starmc2.C
r4101 r5021 73 73 74 74 MHillasCalc hcalc; // Calculates Hillas parameters not dependent on source position. 75 MHillasSrcCalc scalc; // Calculates source-dependent Hillas parameters75 hcalc.Enable(MHillasCalc::kCalcHillasSrc); 76 76 77 77 tlist.AddToList(&read); 78 78 tlist.AddToList(&clean); 79 79 tlist.AddToList(&hcalc); 80 tlist.AddToList(&scalc); // Calculates Source-dependent Hillas parameters81 80 82 81 //
Note:
See TracChangeset
for help on using the changeset viewer.