source: trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.h@ 2029

Last change on this file since 2029 was 1992, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 807 bytes
Line 
1#ifndef MARS_MHSigmabarTheta
2#define MARS_MHSigmabarTheta
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH2
9#include "TH2.h"
10#endif
11
12class MMcEvt;
13class MSigmabar;
14class TH2D;
15class MParList;
16
17
18class MHSigmabarTheta : public MH
19{
20private:
21 MMcEvt *fMcEvt; //!
22 MSigmabar *fSigmabar; //!
23
24 TH2D fHist;
25
26public:
27 MHSigmabarTheta(const char *name=NULL, const char *title=NULL);
28
29 Bool_t SetupFill(const MParList *pList);
30 Bool_t Fill(const MParContainer *par, Double_t w=1);
31
32 const TH2D *GetHist() { return &fHist; }
33 const TH2D *GetHist() const { return &fHist; }
34
35 TH1 *GetHistByName(const TString name) { return &fHist; }
36
37 void Draw(Option_t *option="");
38
39 ClassDef(MHSigmabarTheta, 1) //3D-histogram in alpha, Energy and theta
40};
41
42#endif
43
44
45
46
47
Note: See TracBrowser for help on using the repository browser.