Ignore:
Timestamp:
07/26/07 12:13:00 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFMagicCuts.h

    r8619 r8646  
    4343    enum {
    4444        kESize, kEAlpha, kEAlphaAnti, kEArea, kEDist, kEDistAnti,
    45         kEM3Long, kEM3LongAnti, kEWdivL, kELeakage, kESrcSign,
    46         kESlope, kESlopeAnti, kEHadronness,
     45        kEM3Long, kEM3LongAnti, kEWdivL, kELeakage, kESlope,
     46        kESlopeAnti, kEHadronness, kESign, kEDisp, kEGhostbuster,
    4747        kLastElement
    4848    };
     
    5555    MParameterD    *fThetaSq;           //! Pointer to MParameterD container called ThetaSq
    5656    MParameterD    *fDisp;              //! Pointer to MParameterD container called Disp
     57    MParameterD    *fGhostbuster;       //! Pointer to MParameterD container called Ghostbuster
    5758    MParameterD    *fHadronness;        //! Pointer to MParameterD container called Hadronness
    5859
     
    6768    ThetaCut_t      fThetaCut;          // Which kind of theta cut should be evaluated
    6869    HadronnessCut_t fHadronnessCut;     // Which kind of hadronness cut should be evaluated
     70    Bool_t          fCalcDisp;          // Should we use Disp from the parameterlist?
     71    Bool_t          fCalcGhostbuster;   // Should we use Ghostbuster from the parameterlist?
    6972
    7073    // MTask
     
    7679
    7780    // MFMagicCuts
     81    Double_t GetDisp(Double_t slope, Double_t lgsize) const;
     82    Bool_t   IsGhost(Double_t m3long, Double_t slope, Double_t dist) const;
    7883    Double_t GetVal(Int_t i) const;
    7984    TString  GetParam(Int_t i) const;
    80     Double_t GetThetaSq(Double_t p, Double_t wl, Double_t d, Double_t a) const;
     85    Double_t GetThetaSq(Double_t p, Double_t d, Double_t a) const;
    8186
    8287public:
     
    8994    void   SetThetaCut(ThetaCut_t c) { fThetaCut=c; }
    9095    void   SetHadronnessCut(HadronnessCut_t c) { fHadronnessCut=c; }
     96    void   SetCalcDisp(Bool_t b=kTRUE) { fCalcDisp=b; }
     97    void   SetCalcGhostbuster(Bool_t b=kTRUE) { fCalcGhostbuster=b; }
    9198
    9299    // MFMagicCuts
Note: See TracChangeset for help on using the changeset viewer.