Ignore:
Timestamp:
02/12/05 11:41:42 (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

    r6362 r6394  
    8888//static TString inpath  = "/home/rootdata/Calib/2004_12_18";
    8989static TString inpath  = "/home/rootdata/Calib/2004_09_21";
     90//static TString inpath  = "/home/rootdata/Calib/1999_01_01";
    9091static TString badfile;
    9192//static TString badfile = "badpixels_only0_388_559.dat";
     
    158159  cout << extractorflag << endl;
    159160
    160   MExtractor *extractor = getExtractor(extflag==33 ? 32 : extflag);
     161  MExtractor *extractor = getExtractor(extflag==35 ? 32 : extflag);
    161162
    162163  if (!extractor)
     
    291292  // If you want to see the data-check plots only, choose:
    292293  calloop.SetDataCheckDisplay();
    293   //calloop.SetNormalDisplay();
     294  //  calloop.SetNormalDisplay();
    294295  //
    295296  // For everything, you have ever dreamed of, choose:
     
    365366  /********************************************************************/
    366367
    367   if (extflag == 33)
     368  if (extflag == 35)
    368369    {
    369370      delete extractor;
     
    477478    gLog << "     33:          SetNameWeightsFile('msignal/calibration_weights_UV_logain.dat')" << endl;
    478479    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;
    479482    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   
    482486    gLog << "     --inpath=#          Find the data in inpath"                      << endl;
    483487    gLog << "     --outpath=#         Write the output containers to outpath"       << endl;
  • trunk/MagicSoft/Mars/macros/getExtractor.C

    r6362 r6394  
    187187    case 34:
    188188      extractor = new MExtractTimeAndChargeDigitalFilter();
    189       extractor->SetRange(0,14,3,14);
     189      extractor->SetRange(0,16,3,14);
    190190      break;
    191191    case 35:
     
    296296      ((MExtractTimeAndChargeSpline*)extractor)->SetRiseTimeHiGain(1.0);
    297297      ((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));
    299299      break;
    300300    case 27:
Note: See TracChangeset for help on using the changeset viewer.