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

Last change on this file since 7269 was 7151, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 903 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
27 // MParContainer
28 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
29
30public:
31 MHThetaSq(const char *name=NULL, const char *title=NULL);
32
33 void InitMapping(MHMatrix *mat, Int_t type=0);
34
35 void SetNumBinsSignal(UInt_t n) { fNumBinsSignal=TMath::Max(n, 1U); }
36 void SetNumBinsTotal(UInt_t n) { fNumBinsTotal =TMath::Max(n, 1U); }
37
38 ClassDef(MHThetaSq, 2) // Theta-Plot which is fitted online
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.