Ignore:
Timestamp:
04/28/03 15:39:40 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MNewImagePar.h

    r1940 r2026  
    22#define MARS_MNewImagePar
    33
    4 #ifndef MARS_MHillas
    5 #include "MHillas.h"
     4#ifndef MARS_MParContainer
     5#include "MParContainer.h"
    66#endif
    77
    8 class MSrcPosCam;
     8class MHillas;
     9class MGeomCam;
     10class MCerPhotEvt;
    911
    1012class MNewImagePar : public MParContainer
    1113{
    1214private:
    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
    1523
    1624public:
    1725    MNewImagePar(const char *name=NULL, const char *title=NULL);
    1826
    19     //    void SetSrcPos(MSrcPosCam *pos) { fSrcPos = pos; }
    20     //    const MSrcPosCam *GetSrcPos() const   { return fSrcPos; }
    21 
    2227    void Reset();
    2328
    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; }
    2637
    2738    void Print(Option_t *opt=NULL) const;
    2839
    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);
    3442
    3543    ClassDef(MNewImagePar, 1) // Container to hold new image parameters
Note: See TracChangeset for help on using the changeset viewer.