Changeset 938 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 09/20/01 16:26:50 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r937 r938 8 8 class MCerPhotPix : public TObject 9 9 { 10 private: 11 12 Int_t fPixId ; // the pixel Id 13 Bool_t fIsUsed ; // the pixel is used for calculations --> kTRUE 14 Bool_t fIsCore ; // the pixel is a Core pixel --> kTRUE 15 Float_t fPhot ; // The number of Cerenkov photons 16 Float_t fErrPhot ; // the error of fPhot 17 18 public: 19 20 MCerPhotPix(Int_t pix = -1, Float_t phot=0. , Float_t errphot=0.) ; 10 private: 21 11 22 void Print(Option_t *opt = NULL) ;23 24 Int_t GetPixId() const { return fPixId ; }25 Float_t GetNumPhotons() const { return fPhot ; }26 Float_t GetErrorPhot() const { return fErrPhot ; }12 Int_t fPixId; // the pixel Id 13 Bool_t fIsUsed; // the pixel is used for calculations --> kTRUE 14 Bool_t fIsCore; // the pixel is a Core pixel --> kTRUE 15 Float_t fPhot; // The number of Cerenkov photons 16 Float_t fErrPhot; // the error of fPhot 27 17 28 void SetPixelContent(Int_t pix, Float_t phot, Float_t errphot); 18 public: 29 19 30 Bool_t IsPixelUsed() const { return fIsUsed ; } 31 void SetPixelUnused() { fIsUsed = kFALSE ; } 32 void SetPixelUsed() { fIsUsed = kTRUE ; } 20 MCerPhotPix(Int_t pix = -1, Float_t phot=0., Float_t errphot=0.); 33 21 34 void SetCorePixel() { fIsCore = kTRUE ; } 35 Bool_t IsCorePixel() const { return fIsCore ; } 22 void Print(Option_t *opt = NULL) ; 36 23 37 void SetNumPhotons(Float_t f) { fPhot = f; } 38 void SetErrorPhot(Float_t f) { fErrPhot = f; } 39 40 ClassDef(MCerPhotPix, 1) // class containing information about the Cerenkov Photons in a pixel 41 } ; 24 Int_t GetPixId() const { return fPixId; } 25 Float_t GetNumPhotons() const { return fPhot; } 26 Float_t GetErrorPhot() const { return fErrPhot; } 27 28 void SetPixelContent(Int_t pix, Float_t phot, Float_t errphot); 29 30 Bool_t IsPixelUsed() const { return fIsUsed; } 31 void SetPixelUnused() { fIsUsed = kFALSE; } 32 void SetPixelUsed() { fIsUsed = kTRUE; } 33 34 void SetCorePixel() { fIsCore = kTRUE; } 35 Bool_t IsCorePixel() const { return fIsCore; } 36 37 void SetNumPhotons(Float_t f) { fPhot = f; } 38 void SetErrorPhot(Float_t f) { fErrPhot = f; } 39 40 ClassDef(MCerPhotPix, 1) // class containing information about the Cerenkov Photons in a pixel 41 }; 42 42 43 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.