source: trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h@ 7717

Last change on this file since 7717 was 7717, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHThetaSqN
2#define MARS_MHThetaSqN
3
4#ifndef MARS_MHAlpha
5#include "MHAlpha.h"
6#endif
7
8class TVector2;
9
10class MTaskList;
11class MSrcPosCam;
12
13class MHThetaSqN : public MHAlpha
14{
15private:
16 MParameterD *fDisp; //!
17 MSrcPosCam *fSrcPosCam; //!
18
19 Double_t fMm2Deg;
20
21 UInt_t fNumBinsSignal;
22 UInt_t fNumBinsTotal;
23 UInt_t fNumOffSourcePos;
24
25 Bool_t fDoOffCut;
26
27 // MHThetaSqN
28 TVector2 GetVec(const TVector2 &v, Int_t n1) const;
29 void SetVal(Double_t val);
30
31 // MHAlpha
32 Bool_t GetParameter(const MParList &pl) { return kTRUE; }
33 Double_t GetVal() const;
34
35 // MH
36 Bool_t SetupFill(const MParList *pl);
37 Bool_t Fill(const MParContainer *par, const Stat_t weight);
38
39 // MParContainer
40 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
41
42public:
43 MHThetaSqN(const char *name=NULL, const char *title=NULL);
44 ~MHThetaSqN();
45
46 void InitMapping(MHMatrix *mat, Int_t type=0);
47
48 void SetNumBinsSignal(UInt_t n) { fNumBinsSignal =TMath::Max(n, 1U); }
49 void SetNumBinsTotal(UInt_t n) { fNumBinsTotal =TMath::Max(n, 1U); }
50 void SetNumOffSourcePos(UInt_t n=3) { fNumOffSourcePos=TMath::Max(n, 1U); }
51
52 void SetDoOffCut(Bool_t b=kTRUE) { fDoOffCut = b; }
53
54 ClassDef(MHThetaSqN, 1) // Theta-Plot which is fitted online
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.