Changeset 2026 for trunk/MagicSoft/Mars/mimage/MNewImagePar.h
- Timestamp:
- 04/28/03 15:39:40 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MNewImagePar.h
r1940 r2026 2 2 #define MARS_MNewImagePar 3 3 4 #ifndef MARS_M Hillas5 #include "M Hillas.h"4 #ifndef MARS_MParContainer 5 #include "MParContainer.h" 6 6 #endif 7 7 8 class MSrcPosCam; 8 class MHillas; 9 class MGeomCam; 10 class MCerPhotEvt; 9 11 10 12 class MNewImagePar : public MParContainer 11 13 { 12 14 private: 13 Float_t fLeakage1; // (photons in most outer ring of pixels) over fSize 14 Float_t fLeakage2; // (photons in the 2 outer rings of pixels) over fSize 15 Float_t fLeakage1; // (photons in most outer ring of pixels) over fSize 16 Float_t fLeakage2; // (photons in the 2 outer rings of pixels) over fSize 17 18 Float_t fConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize 19 Float_t fConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize 20 21 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning 22 Short_t fNumCorePixels; // number of core pixels 15 23 16 24 public: 17 25 MNewImagePar(const char *name=NULL, const char *title=NULL); 18 26 19 // void SetSrcPos(MSrcPosCam *pos) { fSrcPos = pos; }20 // const MSrcPosCam *GetSrcPos() const { return fSrcPos; }21 22 27 void Reset(); 23 28 24 Float_t GetLeakage1() const { return fLeakage1; } 25 Float_t GetLeakage2() const { return fLeakage2; } 29 Float_t GetLeakage1() const { return fLeakage1; } 30 Float_t GetLeakage2() const { return fLeakage2; } 31 32 Float_t GetConc() const { return fConc; } 33 Float_t GetConc1() const { return fConc1; } 34 35 Int_t GetNumUsedPixels() const { return fNumUsedPixels; } 36 Int_t GetNumCorePixels() const { return fNumCorePixels; } 26 37 27 38 void Print(Option_t *opt=NULL) const; 28 39 29 virtual Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &evt, 30 const MHillas *hillas); 31 32 //virtual void AsciiRead(ifstream &fin); 33 //virtual void AsciiWrite(ofstream &fout) const; 40 void Calc(const MGeomCam &geom, const MCerPhotEvt &evt, 41 const MHillas &hillas); 34 42 35 43 ClassDef(MNewImagePar, 1) // Container to hold new image parameters
Note:
See TracChangeset
for help on using the changeset viewer.