Changeset 2533 for trunk/MagicSoft
- Timestamp:
- 11/19/03 20:38:55 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2531 r2533 2 2 to send a Changelog file to a line printer directly. Thanks. 3 3 4 4 5 -*-*- END OF LINE -*-*- 6 2003/11/19: Markus Gaug 7 8 * manalysis/MPedCalcPedRun: 9 - implemented function ReInit 10 - implemented pointer fRunheader 11 - fNumHiGainSamples now called from fRunHeader inside ReInit 12 - Now, fNumHiGainSamples gets right number, instead of inf 13 14 * mhist/MHCalibrationConig: 15 - gkStartQlast changed from 5000 to 10000. 16 5 17 2003/11/18: Thomas Bretz 6 18 -
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc
r2237 r2533 43 43 #include "MLogManip.h" 44 44 45 #include "MRawRunHeader.h" 45 46 #include "MRawEvtPixelIter.h" 46 47 #include "MRawEvtData.h" … … 77 78 return kFALSE; 78 79 79 fNumHiGainSamples = fRawEvt->GetNumHiGainSamples(); 80 return kTRUE; 81 } 82 83 Bool_t MPedCalcPedRun::ReInit(MParList *pList ) 84 { 85 86 fRunheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); 87 if (!fRunheader) 88 { 89 *fLog << warn << dbginf << 90 "Warning - cannot check file type, MRawRunHeader not found." << endl; 91 } 92 else 93 if (fRunheader->GetRunType() == kRTMonteCarlo) 94 { 95 return kTRUE; 96 } 97 98 fNumHiGainSamples = fRunheader->GetNumSamplesHiGain(); 80 99 81 100 return kTRUE; 101 82 102 } 83 103 … … 102 122 103 123 pix.Set(higainped, higainrms); 104 //pix.SetPedestalRms(higainpederr, higainrmserr); 124 *fLog << dbg << higainped << " " << higainrms << endl; 125 //pix.SetPedestalRms(higainpederr, higainrmserr); 105 126 } 106 127 -
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h
r2237 r2533 14 14 #endif 15 15 16 class MRawRunHeader; 16 17 class MRawEvtData; 17 18 class MPedestalCam; … … 21 22 Byte_t fNumHiGainSamples; 22 23 24 MRawRunHeader *fRunheader; // raw event run header 23 25 MRawEvtData *fRawEvt; // raw event data (time slices) 24 26 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera … … 28 30 //Float_t CalcHiGainMeanErr(Float_t higainrms) const; 29 31 //Float_t CalcHiGainRmsErr(Float_t higainrms) const; 32 33 Bool_t MPedCalcPedRun::ReInit(MParList *pList); 30 34 31 35 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mhist/MHCalibrationConfig.h
r2525 r2533 24 24 25 25 // Starting number for the highest value of the Q-histo: 26 const Axis_t gkStartQlast = 5000.;26 const Axis_t gkStartQlast = 10000.; 27 27 28 28 // Square root of 2 pi:
Note:
See TracChangeset
for help on using the changeset viewer.