Changeset 5508 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 11/29/04 21:07:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/getExtractor.C
r5500 r5508 87 87 // 36: Real Fit: (not yet implemented)" << endl; 88 88 // 89 // The extractor will also carry a meaningful name, storing all information about its 90 // initialization there. 91 // 92 ////////////////////////////////////////////////////////////////////////////////////////// 93 #include "MExtractor.h" 94 #include "MExtractFixedWindowPeakSearch.h" 95 #include "MExtractFixedWindow.h" 96 #include "MExtractFixedWindowSpline.h" 97 #include "MExtractTimeAndChargeDigitalFilter.h" 98 #include "MExtractTimeAndChargeSlidingWindow.h" 99 #include "MExtractTimeAndChargeSpline.h" 100 #include "MLog.h" 101 102 #include <TSystem.h> 103 #include <fstream> 104 105 using namespace std; 106 89 107 MExtractor *getExtractor(const UInt_t flag) 90 108 { … … 174 192 case 35: 175 193 extractor = new MExtractTimeAndChargeDigitalFilter; 176 extractor->SetRange(0,1 8,2,14);194 extractor->SetRange(0,14,2,14); 177 195 useTimeAndCharge = kTRUE; 178 196 break; … … 309 327 break; 310 328 default: 311 cout<< "No valid extractor flag chosen, cannot run..." << endl;329 gLog << "No valid extractor flag chosen, cannot run..." << endl; 312 330 return NULL; 313 331 break; … … 370 388 break; 371 389 default: 372 cout<< "No valid extractor flag chosen, cannot run..." << endl;390 gLog << "No valid extractor flag chosen, cannot run..." << endl; 373 391 return NULL; 374 392 break;
Note:
See TracChangeset
for help on using the changeset viewer.