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

Last change on this file since 1788 was 1682, checked in by rwagner, 22 years ago
*** empty log message ***
File size: 841 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 virtual Bool_t SetupFill(const MParList *pList);
30 virtual Bool_t Fill(const MParContainer *par);
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 TObject *DrawClone(Option_t *option="") const;
39
40 ClassDef(MHSigmabarTheta, 1) //3D-histogram in alpha, Energy and theta
41};
42
43#endif
44
45
46
47
48
Note: See TracBrowser for help on using the repository browser.