Changeset 6870 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 03/21/05 13:32:33 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r6858 r6870 178 178 const Int_t MJCalibration::gkThirdBlindPixelInstallation = 43308; 179 179 const TString MJCalibration::fgReferenceFile = "mjobs/calibrationref.rc"; 180 const TString MJCalibration::fgHiLoCalibFile = "mjobs/hilocalib_df4 .root";180 const TString MJCalibration::fgHiLoCalibFile = "mjobs/hilocalib_df46.root"; 181 181 182 182 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r6858 r6870 33 33 #include "MJPedestal.h" 34 34 35 // C/C++ includes 36 #include <fstream> 37 35 38 // root classes 36 39 #include <TF1.h> … … 86 89 #include "MFTriggerPattern.h" 87 90 88 #include <fstream>89 90 91 ClassImp(MJPedestal); 91 92 … … 94 95 const TString MJPedestal::fgReferenceFile = "mjobs/pedestalref.rc"; 95 96 const TString MJPedestal::fgBadPixelsFile = "mjobs/badpixels_0_559.rc"; 96 const Float_t MJPedestal::fgExtractWinLeft = 2.5; 97 const Float_t MJPedestal::fgExtractWinRight = 5.0; 97 const Float_t MJPedestal::fgExtractWinLeft = 3.5; 98 const Float_t MJPedestal::fgExtractWinRight = 4.5; 99 98 100 // -------------------------------------------------------------------------- 99 101 // … … 1291 1293 // Get the ranges for the new extractor setting 1292 1294 // 1293 const Int_t newfirst = (Int_t)(meanpulsetime-fExtractWinLeft);1295 const Int_t newfirst = TMath::Nint(meanpulsetime-fExtractWinLeft); 1294 1296 Int_t wshigain = fExtractor->InheritsFrom("MExtractTimeAndCharge") 1295 1297 ? ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeHiGain() … … 1302 1304 ? ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeLoGain() 1303 1305 : 6; 1304 if (wslogain > 6)1305 wslogain = 6;1306 1307 const Int_t newlast = (Int_t)(meanpulsetime+fExtractWinRight);1306 if (wslogain > 4) 1307 wslogain = 4; 1308 1309 const Int_t newlast = TMath::Nint(meanpulsetime+fExtractWinRight); 1308 1310 1309 1311 *fLog << all << underline … … 1331 1333 *fLog << "Try to use a different extractor (e.g. with a window size of only 4 sl.) or:" << endl; 1332 1334 *fLog << "Set the limit to a lower value (callisto.rc: line 329): " << endl; 1333 *fLog << " MJPedestalY2:ExtractWinRight: 5.0" << endl;1335 *fLog << " MJPedestalY2:ExtractWinRight: 4.5 " << endl; 1334 1336 *fLog << "(ATTENTION, you will lose late cosmics pulses!)" << endl; 1335 1337 *fLog << endl;
Note:
See TracChangeset
for help on using the changeset viewer.