Changeset 6870 for trunk/MagicSoft
- Timestamp:
- 03/21/05 13:32:33 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6869 r6870 56 56 * mjobs/MJStar.cc: 57 57 - replaced MCerPhotEvt by MSignalCam 58 59 * msignal/cosmics_weights46.dat, msignal/calibration_weightsUV46.dat, 60 mjobs/hilocalib_df46.root: 61 - added 62 63 * mbase/MLogHtml.cc: 64 - fixed a bug in Underline which cause a crash if fOut==NULL 65 - output a message if file cannot be opened 66 67 * mhcalib/MHCalibrationPulseTimeCam.cc: 68 - for some output there was a replacement of pix.GetPixId() 69 by hist.GetName() <undocumented> 58 70 59 71 … … 178 190 - removed MFSelStandard 179 191 - removed MFSelFinal 192 193 194 195 2005/03/19 Markus Gaug 196 197 * mjobs/hilocalib_df46.root 198 - added new intercalibration file for digital filter 4sl higain 199 and 6 slices logain 200 201 * mjobs/MJCalibration.cc 202 - exchanged intercalibration file from hilocalib_df_4.root to 203 hilocalib_df46.root 204 205 * mjobs/MJPedestal.cc 206 - exchanged two (Int_t)'s by TMath::Nint(). 207 - undocumented(!) change to the calculation of the extraction 208 range (PulsePosCheck) 209 210 * callisto.rc 211 - exchanged default weights file for Digital filter from 212 cosmics_weights4.dat to cosmics_weights46.dat and from 213 calibration_weights_UV4.dat to calibration_weights_UV46.dat! 214 This change is absolutely necessary, given the new results from 215 Nuria about the signal resolution in the low gain which gets worse 216 than the intrinsic Poisson jitter above 350 phes. Also the time 217 resolution is too bad. This was not known before we had the 218 correct low-gain MC pulse. 180 219 181 220 -
trunk/MagicSoft/Mars/callisto.rc
r6828 r6870 100 100 # weights file depending on what you are extracting 101 101 # ------------------------------------------------------------------------- 102 MJPedestalC2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV4 .dat103 MJPedestalY2.ExtractSignal.WeightsFile: msignal/cosmics_weights4 .dat104 MJPedestalY3.ExtractSignal.WeightsFile: msignal/cosmics_weights4 .dat105 MJCalibration.ExtractSignal.WeightsFile: msignal/calibration_weights_UV4 .dat106 MJCalibrateSignal.ExtractSignal.WeightsFile: msignal/cosmics_weights4 .dat107 MJCalibrateSignal.ExtractInterlaced.WeightsFile: msignal/calibration_weights_UV4 .dat102 MJPedestalC2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV46.dat 103 MJPedestalY2.ExtractSignal.WeightsFile: msignal/cosmics_weights46.dat 104 MJPedestalY3.ExtractSignal.WeightsFile: msignal/cosmics_weights46.dat 105 MJCalibration.ExtractSignal.WeightsFile: msignal/calibration_weights_UV46.dat 106 MJCalibrateSignal.ExtractSignal.WeightsFile: msignal/cosmics_weights46.dat 107 MJCalibrateSignal.ExtractInterlaced.WeightsFile: msignal/calibration_weights_UV46.dat 108 108 #MJCalibrateSignal.ExtractSignal.LoGainStretch: 1.5 109 109 #MJCalibrateSignal.ExtractInterlaced.LoGainStretch: 1.5 … … 203 203 # Use this if you want to change the higain-vs. logain intercalibration 204 204 # ------------------------------------------------------------------------- 205 #MJCalibration.HiLoCalibFile: mjobs/hilocalib_df4 .root205 #MJCalibration.HiLoCalibFile: mjobs/hilocalib_df46.root 206 206 #MJCalibration.HiLoCalibration: yes 207 207 … … 309 309 #MJPedestalY2.PulsePosCheck: yes 310 310 #MJPedestalY2.ExtractWinLeft: 2.5 311 #MJPedestalY2.ExtractWinRight: 5.0311 #MJPedestalY2.ExtractWinRight: 4.5 312 312 313 313 # ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mbase/MLogHtml.cc
r2784 r6870 47 47 delete fOut; 48 48 fOut = NULL; 49 50 cerr << "Cannot open file " << name << ": " << strerror(errno) << endl; 49 51 return; 50 52 } … … 81 83 void MLogHtml::Underline() 82 84 { 85 if (!fOut) 86 return; 87 83 88 *fOut << "<u>"; 84 89 fUnderline = kTRUE; -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r6774 r6870 547 547 { 548 548 *fLog << warn << GetDescriptor() 549 << ": Only overflow or underflow in hi-gain pixel: " << pix.GetPixId() << endl;549 << ": Only overflow or underflow in hi-gain pixel: " << hist.GetName() << endl; 550 550 return; 551 551 } -
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.