source: trunk/Mars/mhist/MHCompProb.h@ 17869

Last change on this file since 17869 was 2043, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1013 bytes
Line 
1#ifndef MARS_MHCompProb
2#define MARS_MHCompProb
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class MParList;
9
10class MHCompProb : public MH
11{
12private:
13 Int_t fNumLoop; //! Counter of the loop (two eventloops needed)
14
15 TList *fRules; // Rules describing the used data sets
16
17 TList *fData; //! MDataChain objects
18 TList *fHists; //! fixed bin size histograms
19 TList *fHistVar; // variable bin size histograms
20
21 void Fill(TList &list);
22 void SetBinningHistVar();
23
24public:
25 MHCompProb(Int_t nbins, const char *name=NULL, const char *title=NULL);
26 ~MHCompProb();
27
28 void Add(const char *rule, Int_t n, Float_t min, Float_t max);
29
30 Bool_t SetupFill(const MParList *plist);
31 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
32 Bool_t Finalize();
33
34 const TList *GetRules() const { return fRules; }
35 TList *GetHistVar() const { return fHistVar; }
36
37 ClassDef(MHCompProb, 1) // Histogram to be used for the calculation of the composite probabilities
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.