Changeset 6362


Ignore:
Timestamp:
02/10/05 18:23:33 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/macros
Files:
2 edited

Legend:

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

    r6333 r6362  
    149149// to the extractor-TDAS
    150150//
    151 static Int_t extractorflag = 34;
     151static Int_t extractorflag = 35;
    152152//
    153153Int_t calibration(const UInt_t extflag=extractorflag, const Int_t prun=pedrun,
     
    475475    gLog << "     31:          SetNameWeightsFile('msignal/cosmics_weights_logain4.dat')" << endl;
    476476    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;
    478481    gLog << endl;
    479482    gLog << "     --inpath=#          Find the data in inpath"                      << endl;
  • trunk/MagicSoft/Mars/macros/getExtractor.C

    r5806 r6362  
    8383//       32:          SetNameWeightsFile('msignal/calibration_weights_UV.dat')
    8484//       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')
    8688//
    8789// The extractor will also carry a meaningful name, storing all information about its
     
    9496#include "MExtractFixedWindowSpline.h"
    9597#include "MExtractTimeAndChargeDigitalFilter.h"
     98#include "MExtractTimeAndChargeDigitalFilterPeakSearch.h"
    9699#include "MExtractTimeAndChargeSlidingWindow.h"
    97100#include "MExtractTimeAndChargeSpline.h"
     
    182185    case 32:
    183186    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);
    186194      break;
    187195    default:
    188       gLog << "No valid extractor flag chosen, cannot run..." << endl;
     196      gLog << "No valid extractor flag chosen, cannot run..." << flag << endl;
    189197      return NULL;
    190198      break;
     
    313321    case 33:
    314322      ((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");
    315329      break;
    316330    default:
Note: See TracChangeset for help on using the changeset viewer.