Changeset 3751 for trunk/MagicSoft
- Timestamp:
- 04/15/04 15:15:58 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3750 r3751 24 24 works if there is indeed a colour or if the run nubmer is smaller 25 25 than 20000 -> take ct1 26 27 * manalysis/MCerPhotPix.[h,cc]28 - added one variable fTime (with Getter and Setter)29 26 30 27 * mcalib/MCalibrateRelTimes.[h,cc] -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r3749 r3751 60 60 // 61 61 MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) : 62 fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fTime(-1.), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE) 62 fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), 63 fIsSaturated(kFALSE), fIsHGSaturated(kFALSE) 63 64 { 64 65 } -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r3748 r3751 17 17 Float_t fPhot; // The number of Cerenkov photons 18 18 Float_t fErrPhot; // the error of fPhot 19 Float_t fTime; // Calibrated Arrival Time20 19 21 20 Bool_t fIsSaturated; // the pixel's low gain is saturated … … 30 29 Float_t GetNumPhotons() const { return fPhot; } 31 30 Float_t GetErrorPhot() const { return fErrPhot; } 32 Float_t GetTime() const { return fTime; }33 31 34 32 Bool_t IsPixelUsed() const { return fRing>0; } … … 46 44 void SetNumPhotons(Float_t f) { fPhot = f; } 47 45 void SetErrorPhot(Float_t f) { fErrPhot = f; } 48 void SetTime (Float_t f) { fTime = f; }49 46 void Set(Float_t np, Float_t ep) { fPhot = np; fErrPhot = ep; } 50 47 -
trunk/MagicSoft/Mars/mcalib/MCalibrate.cc
r3747 r3751 256 256 MCalibrationChargePix &pix = (MCalibrationChargePix&)(*fCalibrations)[pixidx]; 257 257 MCalibrationQEPix &qe = (MCalibrationQEPix&) (*fQEs )[pixidx]; 258 MBadPixelsPix &bad = (*fBadPixels)[pixidx];259 258 260 259 if (fBadPixels) 261 if (!bad.IsCalibrationResultOK()) 262 continue; 263 260 { 261 MBadPixelsPix &bad = (*fBadPixels)[pixidx]; 262 if (!bad.IsCalibrationResultOK()) 263 continue; 264 } 265 264 266 calibConv = pix.GetMeanConvFADC2Phe(); 265 267 calibConvVar = pix.GetMeanConvFADC2PheVar();
Note:
See TracChangeset
for help on using the changeset viewer.