source: trunk/Mars/mhflux/MHThetaSq.h@ 10058

Last change on this file since 10058 was 7710, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 870 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 UInt_t fNumBinsSignal;
14 UInt_t fNumBinsTotal;
15
16 Bool_t GetParameter(const MParList &pl);
17 Double_t GetVal() const;
18 const char *GetParameterRule() const
19 {
20 return "ThetaSquared.fVal";
21 }
22
23 Bool_t SetupFill(const MParList *pl);
24
25 // MParContainer
26 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
27
28public:
29 MHThetaSq(const char *name=NULL, const char *title=NULL);
30
31 void InitMapping(MHMatrix *mat, Int_t type=0);
32
33 void SetNumBinsSignal(UInt_t n) { fNumBinsSignal=TMath::Max(n, 1U); }
34 void SetNumBinsTotal(UInt_t n) { fNumBinsTotal =TMath::Max(n, 1U); }
35
36 ClassDef(MHThetaSq, 2) // Theta-Plot which is fitted online
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.