Changeset 6394 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/12/05 11:41:42 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r6362 r6394 88 88 //static TString inpath = "/home/rootdata/Calib/2004_12_18"; 89 89 static TString inpath = "/home/rootdata/Calib/2004_09_21"; 90 //static TString inpath = "/home/rootdata/Calib/1999_01_01"; 90 91 static TString badfile; 91 92 //static TString badfile = "badpixels_only0_388_559.dat"; … … 158 159 cout << extractorflag << endl; 159 160 160 MExtractor *extractor = getExtractor(extflag==3 3? 32 : extflag);161 MExtractor *extractor = getExtractor(extflag==35 ? 32 : extflag); 161 162 162 163 if (!extractor) … … 291 292 // If you want to see the data-check plots only, choose: 292 293 calloop.SetDataCheckDisplay(); 293 // calloop.SetNormalDisplay();294 // calloop.SetNormalDisplay(); 294 295 // 295 296 // For everything, you have ever dreamed of, choose: … … 365 366 /********************************************************************/ 366 367 367 if (extflag == 3 3)368 if (extflag == 35) 368 369 { 369 370 delete extractor; … … 477 478 gLog << " 33: SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat')" << endl; 478 479 gLog << " 34: SetNameWeightsFile('msignal/MC_weights.dat')" << endl; 480 gLog << " 35: SetNameWeightsFile('msignal/cosmics_weights.dat') (for cosmics) and" << endl; 481 gLog << " SetNameWeightsFile('msignal/calibration_weights_UV.dat') (for cal.)" << endl; 479 482 gLog << " MExtractTimeAndChargeDigitalFilterPeakSearch" << endl; 480 gLog << " 35: SetNameWeightsFile('msignal/calibration_weights_UV.dat')" << endl; 481 gLog << endl; 483 gLog << " 36: SetNameWeightsFile('msignal/calibration_weights_UV.dat')" << endl; 484 gLog << endl; 485 482 486 gLog << " --inpath=# Find the data in inpath" << endl; 483 487 gLog << " --outpath=# Write the output containers to outpath" << endl; -
trunk/MagicSoft/Mars/macros/getExtractor.C
r6362 r6394 187 187 case 34: 188 188 extractor = new MExtractTimeAndChargeDigitalFilter(); 189 extractor->SetRange(0,1 4,3,14);189 extractor->SetRange(0,16,3,14); 190 190 break; 191 191 case 35: … … 296 296 ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(1.0); 297 297 ((MExtractTimeAndChargeSpline*)extractor)->SetFallTimeHiGain(3.0); 298 extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(), 0.5,2.5));298 extractor->SetName(Form("%s_Rise-and-Fall-Time_%2.1f_%2.1f",extractor->GetName(),1.0,3.0)); 299 299 break; 300 300 case 27:
Note:
See TracChangeset
for help on using the changeset viewer.