Changeset 6362 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/10/05 18:23:33 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r6333 r6362 149 149 // to the extractor-TDAS 150 150 // 151 static Int_t extractorflag = 3 4;151 static Int_t extractorflag = 35; 152 152 // 153 153 Int_t calibration(const UInt_t extflag=extractorflag, const Int_t prun=pedrun, … … 475 475 gLog << " 31: SetNameWeightsFile('msignal/cosmics_weights_logain4.dat')" << endl; 476 476 gLog << " 32: SetNameWeightsFile('msignal/calibration_weights_UV.dat')" << endl; 477 gLog << " 33: Use calibration weights for calibration events and cosmics weights for data events" << endl; 477 gLog << " 33: SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat')" << endl; 478 gLog << " 34: SetNameWeightsFile('msignal/MC_weights.dat')" << endl; 479 gLog << " MExtractTimeAndChargeDigitalFilterPeakSearch" << endl; 480 gLog << " 35: SetNameWeightsFile('msignal/calibration_weights_UV.dat')" << endl; 478 481 gLog << endl; 479 482 gLog << " --inpath=# Find the data in inpath" << endl; -
trunk/MagicSoft/Mars/macros/getExtractor.C
r5806 r6362 83 83 // 32: SetNameWeightsFile('msignal/calibration_weights_UV.dat') 84 84 // 33: SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat') 85 // 34: Real Fit: (not yet implemented) 85 // 34: SetNameWeightsFile('msignal/MC_weights.dat') 86 // MExtractTimeAndChargeDigitalFilterPeakSearch 87 // 35: SetNameWeightsFile('msignal/calibration_weights_UV.dat') 86 88 // 87 89 // The extractor will also carry a meaningful name, storing all information about its … … 94 96 #include "MExtractFixedWindowSpline.h" 95 97 #include "MExtractTimeAndChargeDigitalFilter.h" 98 #include "MExtractTimeAndChargeDigitalFilterPeakSearch.h" 96 99 #include "MExtractTimeAndChargeSlidingWindow.h" 97 100 #include "MExtractTimeAndChargeSpline.h" … … 182 185 case 32: 183 186 case 33: 184 extractor = new MExtractTimeAndChargeDigitalFilter; 185 extractor->SetRange(0,18,3,14); 187 case 34: 188 extractor = new MExtractTimeAndChargeDigitalFilter(); 189 extractor->SetRange(0,14,3,14); 190 break; 191 case 35: 192 extractor = new MExtractTimeAndChargeDigitalFilterPeakSearch(); 193 extractor->SetRange(0,20,3,14); 186 194 break; 187 195 default: 188 gLog << "No valid extractor flag chosen, cannot run..." << endl;196 gLog << "No valid extractor flag chosen, cannot run..." << flag << endl; 189 197 return NULL; 190 198 break; … … 313 321 case 33: 314 322 ((MExtractTimeAndChargeDigitalFilter*)extractor)->SetNameWeightsFile("msignal/calibration_weights_UV_logaintest.dat"); 323 break; 324 case 34: 325 ((MExtractTimeAndChargeDigitalFilter*)extractor)->SetNameWeightsFile("msignal/MC_weights.dat"); 326 break; 327 case 35: 328 ((MExtractTimeAndChargeDigitalFilter*)extractor)->SetNameWeightsFile("msignal/calibration_weights_UV.dat"); 315 329 break; 316 330 default:
Note:
See TracChangeset
for help on using the changeset viewer.