Changeset 6242
- Timestamp:
- 02/03/05 14:55:40 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6240 r6242 43 43 - intialize fTimeShiftHiGain and fTimeShiftLoGain by default. 44 44 45 * mjobs/MJPedestal.cc 46 - in case, extractor is used, put the extractor into the tasklist, 47 otherwise ranges do not get initialized correctly (wrong memory 48 usage!). Use an event selector, however to not skip the Process. 49 This is as fast as before and now safe for any kind of extractor 45 50 46 51 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r6182 r6242 339 339 340 340 SetPulserColor ( MCalibrationCam::kNONE ); 341 341 342 fStrength = 0.; 342 343 fBlindPixelFlags.Set(0); 343 344 fPINDiodeFlags .Set(0); … … 1389 1390 *fLog << inf << GetDescriptor() 1390 1391 << ": Average total phes for area idx " << aidx << ": " 1391 << Form("%7.2f +- 6.2f",areaphes[aidx],TMath::Sqrt(areaweights[aidx])) << endl;1392 << Form("%7.2f +- %6.2f",areaphes[aidx],TMath::Sqrt(areaweights[aidx])) << endl; 1392 1393 1393 1394 apix.SetPheFFactorMethod ( areaphes[aidx] ); … … 1461 1462 pix.SetPheFFactorMethod ( apix.GetPheFFactorMethod() ); 1462 1463 pix.SetPheFFactorMethodVar( apix.GetPheFFactorMethodVar() ); 1464 1463 1465 if (!pix.CalcConvFFactor()) 1464 1466 { … … 1471 1473 bad.SetUnsuitable ( MBadPixelsPix::kUnsuitableRun ); 1472 1474 } 1475 1473 1476 } 1474 1477 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r5679 r6242 92 92 // 93 93 MCalibrationRelTimeCalc::MCalibrationRelTimeCalc(const char *name, const char *title) 94 : fGeom(NULL) 94 : fGeom(NULL), fFlags(0) 95 95 { 96 96 -
trunk/MagicSoft/Mars/mcalib/MCalibrationTestCam.h
r5047 r6242 34 34 const MGeomCam &cam, Int_t type=0) const; 35 35 36 void InitAverageAreas ( const UInt_t i); 37 36 38 // Prints 37 39 void Print (Option_t *o="") const; -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6211 r6242 199 199 { 200 200 TString dat = GetEnv("DataType", ""); 201 dat = dat.Strip(TString::kBoth); 201 202 if (dat.BeginsWith("raw", TString::kIgnoreCase)) 202 203 { -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r6234 r6242 62 62 #include "MExtractor.h" 63 63 #include "MExtractTimeAndCharge.h" 64 #include "MFEventSelector.h" 64 65 65 66 // parameter containers … … 955 956 } 956 957 958 MFEventSelector sel; 959 sel.SetNumSelectEvts(0); 960 961 if (fExtractionType!=kFundamental) 962 { 963 fExtractor->SetFilter(&sel); 964 tlist.AddToList(&sel); 965 tlist.AddToList(fExtractor); 966 } 967 957 968 // ---------------------------------------------------------------------- 958 969 // Now we make sure, that in all cases the ranges are setup correctly … … 1108 1119 DisplayResult(plist); 1109 1120 1121 if (fExtractionType!=kFundamental) 1122 fExtractor->SetFilter(0); 1123 1110 1124 if (!WriteResult()) 1111 1125 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.