Changeset 5819 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 01/13/05 15:20:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/starmc.C
r5565 r5819 52 52 // differences in gain of outer pixels) 53 53 // 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"); 55 55 // File to be used in the calibration (must be a camera file without added noise) 56 56 … … 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 … … 72 72 Float_t accepted_fraction = 1.; 73 73 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 78 93 79 94 // ------------------------------------------- … … 89 104 plist.AddToList(&tlist); 90 105 91 MSrcPosCam src;92 106 src.SetReadyToSave(); 93 107 plist.AddToList(&src); … … 113 127 MMcPedestalCopy pcopy; 114 128 // 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]);120 129 121 130 MPointingPosCalc pointcalc;
Note:
See TracChangeset
for help on using the changeset viewer.