Changeset 3466 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/10/04 20:23:56 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r3183 r3466 41 41 // - added fIsSaturated 42 42 // 43 // Version 4: 44 // ---------- 45 // - added fIsHGSaturated 46 // 43 47 //////////////////////////////////////////////////////////////////////////// 44 48 #include "MCerPhotPix.h" … … 56 60 // 57 61 MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) : 58 fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE) 62 fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE) 59 63 { 60 64 } … … 69 73 gLog << (fRing>0?" Used ":" Unused "); 70 74 gLog << (fIsCore?" Core ":" "); 75 gLog << "High gain " << (fIsHGSaturated?" ":"not") << " saturated"; 71 76 gLog << (fIsSaturated?" ":"Not") << " saturated"; 72 77 gLog << " Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl; -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r3415 r3466 18 18 Float_t fErrPhot; // the error of fPhot 19 19 20 Bool_t fIsSaturated; // the pixel is saturated 20 Bool_t fIsSaturated; // the pixel's low gain is saturated 21 Bool_t fIsHGSaturated; // the pixel's high gain is saturated 21 22 22 23 // FIXME: arrival time t, and it's error sigma t … … 48 49 Bool_t IsPixelSaturated() const { return fIsSaturated; } 49 50 51 void SetPixelHGSaturated() { fIsHGSaturated = kTRUE; } 52 Bool_t IsPixelHGSaturated() const { return fIsHGSaturated; } 53 50 54 void AddNumPhotons(Float_t f) { fPhot += f; } 51 55 … … 54 58 void Print(Option_t *opt = NULL) const; 55 59 56 ClassDef(MCerPhotPix, 3) // class containing information about the Cerenkov Photons in a pixel60 ClassDef(MCerPhotPix, 4) // class containing information about the Cerenkov Photons in a pixel 57 61 }; 58 62
Note:
See TracChangeset
for help on using the changeset viewer.