Ignore:
Timestamp:
03/20/06 12:48:14 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHDisp.h

    r7217 r7616  
    1717class MParameterD;
    1818class MPointingDev;
     19class MSrcPosCam;
    1920
    2021class MHDisp : public MHFalseSource
    2122{
    2223private:
    23     MParameterD  *fDisp;    //!
     24    MParameterD  *fDisp;      //!
    2425    MPointingDev *fDeviation; //!
     26    //MSrcPosCam   *fAxis;      //!
    2527
    2628    TH2D         fHistBg;
     
    3133    Bool_t       fHalf;
    3234
    33     Double_t     fSmearing;
    34     Bool_t       fWobble;
     35    Double_t     fSmearing;    // [deg] Width of Gaus to fold with the events
     36    Bool_t       fWobble;      // This is for Wobble-Mode observations
     37
     38    Double_t     fScaleMin;    // [deg] Minimum circle for integration of off-data for scaling
     39    Double_t     fScaleMax;    // [deg] Maximum circle for integration of off-data for scaling
    3540
    3641    // MHDisp
    3742    Double_t GetOffSignal(TH1 &h) const;
    3843    Double_t DeltaPhiSrc(const TVector2 &v) const;
     44
     45    void Update();
    3946
    4047    void Profile1D(const char *name, const TH2 &h) const;
     
    5158    void SetSmearing(Double_t s=-1) { fSmearing=s; }
    5259    void SetWobble(Bool_t w=kTRUE)  { fWobble=w;   }
     60
     61    void SetScaleMin(Double_t scale) { fScaleMin = scale; Update(); } //*MENU* *ARGS={scale=>fScaleMin}
     62    void SetScaleMax(Double_t scale) { fScaleMax = scale; Update(); } //*MENU* *ARGS={scale=>fScaleMax}
     63    void SetScale(Double_t min, Double_t max) { fScaleMin = min; fScaleMax = max; Update(); } //*MENU* *ARGS={min=>fScaleMin,max=>fScaleMax}
     64
     65    Double_t GetScaleMin() { return fScaleMin; }
     66    Double_t GetScaleMax() { return fScaleMax; }
    5367
    5468    // MHFalseSource (to be moved!)
     
    8296    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
    8397
    84     ClassDef(MHDisp, 2) //Class to provide a Disp map
     98    ClassDef(MHDisp, 3) //Class to provide a Disp map
    8599};
    86100
Note: See TracChangeset for help on using the changeset viewer.