Changeset 3768 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 04/16/04 19:17:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/mccalibrate.C
r3744 r3768 46 46 // ------------- user change ----------------- 47 47 TString* CalibrationFilename; 48 CalibrationFilename = new TString(" nonoise/Gamma_zbin0_0*.root");48 CalibrationFilename = new TString("../../gammas_nonoise/Gamma_zbin0_0*.root"); 49 49 // File to be used for the calibration (must be a camera file without added noise) 50 50 … … 54 54 55 55 56 Int_t BinsHigh[2] = {5, 9}; // First and last FADC bin of the range to be integrated,57 Int_t BinsLow[2] = {5, 9}; // for high and low gain respectively.56 Int_t BinsHigh[2] = {5, 10}; // First and last FADC bin of the range to be integrated, 57 Int_t BinsLow[2] = {5, 10}; // for high and low gain respectively. 58 58 59 59 // ------------------------------------------- … … 95 95 96 96 MExtractSignal sigextract; 97 sigextract.SetSaturationLimit(240); 98 97 99 // Define ADC slices to be integrated in high and low gain: 98 100 sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]); … … 101 103 102 104 MCalibrate calib; // Transforms signals from ADC counts into photons. 103 calib.SetCalibrationMode(MCalibrate::k Dummy);105 calib.SetCalibrationMode(MCalibrate::kFfactor); 104 106 105 107 // MBlindPixelCalc blind; … … 170 172 } 171 173 172 calib.SetCalibrationMode(MCalibrate::kFfactor);173 174 174 // 175 175 // Second loop: analysis loop -
trunk/MagicSoft/Mars/macros/starmc.C
r3534 r3768 52 52 // differences in gain of outer pixels) 53 53 // 54 CalibrationFilename = new TString(" nonoise/Gamma_zbin0_90_*.root");54 CalibrationFilename = new TString("../../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 57 Char_t* AnalysisFilename = "Gamma_zbin*.root"; // File to be analyzed 58 58 59 59 60 // ------------- user change ----------------- … … 73 74 Float_t CleanLev[2] = {4., 3.}; // Tail cuts for image analysis 74 75 75 Int_t BinsHigh[2] = {5, 9}; // First and last FADC bin of the range to be integrated,76 Int_t BinsLow[2] = {5, 9}; // for high and low gain respectively.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. 77 78 78 79 // ------------------------------------------- … … 114 115 115 116 MExtractSignal sigextract; 117 sigextract.SetSaturationLimit(240); 116 118 // Define ADC slices to be integrated in high and low gain: 117 119 sigextract.SetRange(BinsHigh[0], BinsHigh[1], BinsLow[0], BinsLow[1]); … … 120 122 121 123 MCalibrate calib; // Transforms signals from ADC counts into photons. 124 calib.SetCalibrationMode(MCalibrate::kFfactor); 122 125 123 126 // MBlindPixelCalc blind;
Note:
See TracChangeset
for help on using the changeset viewer.