Ignore:
Timestamp:
11/29/04 21:07:01 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/getExtractor.C

    r5500 r5508  
    8787//       36:  Real Fit: (not yet implemented)" << endl;
    8888//
     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
     105using namespace std;
     106
    89107MExtractor *getExtractor(const UInt_t flag)
    90108{
     
    174192    case 35:
    175193      extractor = new MExtractTimeAndChargeDigitalFilter;
    176       extractor->SetRange(0,18,2,14);
     194      extractor->SetRange(0,14,2,14);
    177195      useTimeAndCharge = kTRUE;
    178196      break;
     
    309327      break;
    310328    default:
    311       cout << "No valid extractor flag chosen, cannot run..." << endl;
     329      gLog << "No valid extractor flag chosen, cannot run..." << endl;
    312330      return NULL;
    313331      break;
     
    370388      break;
    371389    default:
    372       cout << "No valid extractor flag chosen, cannot run..." << endl;
     390      gLog << "No valid extractor flag chosen, cannot run..." << endl;
    373391      return NULL;
    374392      break;
Note: See TracChangeset for help on using the changeset viewer.