- Timestamp:
- 11/07/03 18:50:44 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2486 r2487 38 38 * status.cc: 39 39 - added (not yet in Makefile) 40 41 * manalysis/MMcPedestalCopy.[h,cc]: 42 - made sure, that MPedestalCam is in the list 43 44 * mraw/MRawEvtData.cc: 45 - set the maximum/minimum of the fadc histograms 46 47 * mraw/MRawEvtPixelIter.[h,cc]: 48 - added a fixes for the case that fData->fLoGainPixId->GetArray()=NULL 40 49 41 50 -
trunk/MagicSoft/Mars/Makefile
r2485 r2487 74 74 @echo " " 75 75 76 include Makefile.rules 76 77 include Makefile.depend 77 78 … … 127 128 root -b -q dohtml.C 128 129 129 include Makefile.rules130 131 130 clean: rmcint rmobjs rmcore rmlib 132 131 -
trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.cc
r2470 r2487 91 91 // -------------------------------------------------------------------------- 92 92 // 93 // Make sure, that there is an MPedestalCam Object in the Parameter List. 94 // 95 Int_t MMcPedestalCopy::PreProcess(MParList *pList) 96 { 97 // FIXME: This should be done for MC files only... 98 return pList->FindCreateObj(AddSerialNumber("MPedestalCam")) ? kTRUE : kFALSE; 99 } 100 101 // -------------------------------------------------------------------------- 102 // 93 103 // Check for the runtype. 94 104 // Search for MPedestalCam and MMcFadcHeader. -
trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.h
r2454 r2487 10 10 private: 11 11 Bool_t CheckRunType(MParList *pList) const; 12 Int_t PreProcess(MParList *pList); 12 13 Bool_t ReInit(MParList *pList); 13 14 -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2466 r2487 269 269 270 270 TH1F *histhi = graphhi->GetHistogram(); 271 271 histhi->SetMinimum(0); 272 histhi->SetMaximum(255); 273 272 274 histhi->SetXTitle("Time/FADC Slices"); 273 275 histhi->SetYTitle("Signal/FADC Units"); … … 302 304 303 305 TH1F *histh = new TH1F(name, "FADC Samples", nh, -0.5, nh-.5); 306 histh->SetMinimum(0); 307 histh->SetMaximum(255); 304 308 histh->SetXTitle("Time [FADC Slices]"); 305 309 histh->SetYTitle("Signal [FADC Units]"); -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
r2404 r2487 57 57 ClassImp(MRawEvtPixelIter); 58 58 59 using namespace std; 60 59 61 MRawEvtPixelIter::MRawEvtPixelIter(MRawEvtData *dat) : fData(dat) 60 62 { … … 92 94 // 93 95 if (fNumLoGainEntry != fData->fLoGainPixId->GetSize()) 94 if ( *fHiGainId == *fLoGainId)96 if (HasLoGain()) 95 97 { 96 98 // … … 133 135 // 134 136 fHiGainId = fData->fHiGainPixId->GetArray()-1; 135 fLoGainId = fData->fLoGainPixId->GetArray() -1;137 fLoGainId = fData->fLoGainPixId->GetArray(); 136 138 fHiGainPos = fData->fHiGainFadcSamples->GetArray()-fNumHiGainSamples; 137 139 fLoGainPos = fData->fLoGainFadcSamples->GetArray()-fNumLoGainSamples; 140 141 // 142 // In case fLoGainPixId.GetSize()=0 some root versions seems to 143 // initialize the array with NULL. This makes both cases work. 144 // 145 if (fLoGainId) 146 fLoGainId -= 1; 138 147 } 139 148 -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r2404 r2487 91 91 // return kTRUE the lo gains exist for the actual pixel, else return kFALSE 92 92 // 93 return *fHiGainId==*fLoGainId;93 return fLoGainId && *fHiGainId==*fLoGainId; 94 94 } 95 95
Note:
See TracChangeset
for help on using the changeset viewer.