Changeset 7616 for trunk/MagicSoft/Mars/mhflux/MHDisp.h
- Timestamp:
- 03/20/06 12:48:14 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHDisp.h
r7217 r7616 17 17 class MParameterD; 18 18 class MPointingDev; 19 class MSrcPosCam; 19 20 20 21 class MHDisp : public MHFalseSource 21 22 { 22 23 private: 23 MParameterD *fDisp; //!24 MParameterD *fDisp; //! 24 25 MPointingDev *fDeviation; //! 26 //MSrcPosCam *fAxis; //! 25 27 26 28 TH2D fHistBg; … … 31 33 Bool_t fHalf; 32 34 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 35 40 36 41 // MHDisp 37 42 Double_t GetOffSignal(TH1 &h) const; 38 43 Double_t DeltaPhiSrc(const TVector2 &v) const; 44 45 void Update(); 39 46 40 47 void Profile1D(const char *name, const TH2 &h) const; … … 51 58 void SetSmearing(Double_t s=-1) { fSmearing=s; } 52 59 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; } 53 67 54 68 // MHFalseSource (to be moved!) … … 82 96 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE); 83 97 84 ClassDef(MHDisp, 2) //Class to provide a Disp map98 ClassDef(MHDisp, 3) //Class to provide a Disp map 85 99 }; 86 100
Note:
See TracChangeset
for help on using the changeset viewer.