source: trunk/MagicSoft/Mars/mhflux/MHThetaSq.h@ 7147

Last change on this file since 7147 was 7147, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 902 bytes
Line 
1#ifndef MARS_MHThetaSq
2#define MARS_MHThetaSq
3
4#ifndef MARS_MHAlpha
5#include "MHAlpha.h"
6#endif
7
8class MTaskList;
9
10class MHThetaSq : public MHAlpha
11{
12private:
13 MParameterD *fThetaSq; //!
14
15 UInt_t fNumBinsSignal;
16 UInt_t fNumBinsTotal;
17
18 Bool_t GetParameter(const MParList &pl);
19 Double_t GetVal() const;
20 const char *GetParameterRule() const
21 {
22 return "ThetaSquared.fVal";
23 }
24
25 Bool_t SetupFill(const MParList *pl);
26 void InitMapping(MHMatrix *mat, Int_t type=0);
27
28 // MParContainer
29 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
30
31public:
32 MHThetaSq(const char *name=NULL, const char *title=NULL);
33
34 void SetNumBinsSignal(UInt_t n) { fNumBinsSignal=TMath::Max(n, 1U); }
35 void SetNumBinsTotal(UInt_t n) { fNumBinsTotal =TMath::Max(n, 1U); }
36
37 ClassDef(MHThetaSq, 2) // Theta-Plot which is fitted online
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.