Changeset 2056 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 05/02/03 13:01:51 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r2048 r2056 23 23 ! 24 24 \* ======================================================================== */ 25 26 25 #include "MCerPhotPix.h" 27 26 … … 42 41 // -------------------------------------------------------------------------- 43 42 // 44 // Sets the information of one pixel. The pixel is assumed as used and45 // not a core pixel.46 //47 void MCerPhotPix::SetPixelContent(Int_t pix, Float_t phot, Float_t errphot)48 {49 fPixId = pix;50 fRing = 1;51 fPhot = phot;52 fErrPhot = errphot;53 }54 55 // --------------------------------------------------------------------------56 //57 43 // Print information to gLog. 58 44 // … … 64 50 gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl; 65 51 } 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r2055 r2056 12 12 Int_t fPixId; // the pixel Id 13 13 14 UShort_t fRing; // NT: number of analyzed rings around the core pixels 15 Bool_t fIsCore; // the pixel is a Core pixel --> kTRUE14 UShort_t fRing; // NT: number of analyzed rings around the core pixels (fRing>0 means: used) 15 Bool_t fIsCore; // the pixel is a Core pixel -> kTRUE 16 16 17 UShort_t fRing; // NT: number of analyzed rings around the core pixels18 17 Float_t fPhot; // The number of Cerenkov photons 19 18 Float_t fErrPhot; // the error of fPhot … … 28 27 Float_t GetErrorPhot() const { return fErrPhot; } 29 28 30 Bool_t IsPixelUsed() const { return fRing>0; }31 void SetPixelUnused() { fRing=0; }32 void SetPixelUsed() { fRing=1; }29 Bool_t IsPixelUsed() const { return fRing>0; } 30 void SetPixelUnused() { fRing=0; } 31 void SetPixelUsed() { fRing=1; } 33 32 34 void SetRing(UShort_t r) { fRing = r; }35 Short_t GetRing() const { return fRing;}33 void SetRing(UShort_t r) { fRing = r; } 34 Short_t GetRing() const { return fRing;} 36 35 37 36 void SetPixelCore() { fIsCore = kTRUE; }
Note:
See TracChangeset
for help on using the changeset viewer.