source: trunk/Mars/mreflector/MHReflector.h@ 12937

Last change on this file since 12937 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 799 bytes
Line 
1#ifndef MARS_MHReflector
2#define MARS_MHReflector
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH2
9#include <TH2.h>
10#endif
11
12#ifndef ROOT_TH3
13#include <TH3.h>
14#endif
15
16class MRflEvtData;
17class MRflEvtHeader;
18
19class MHReflector : public MH
20{
21private:
22 MRflEvtData *fData; //!
23 MRflEvtHeader *fHeader; //!
24
25 Double_t fMm2Deg;
26
27 TH3D fHistXY;
28 TH2D fHistRad;
29 TH2D fHistSize;
30
31 Bool_t SetupFill(const MParList *pList);
32 Int_t Fill(const MParContainer *par, const Stat_t weight=1);
33 Bool_t Finalize();
34
35public:
36 MHReflector(const char *name=0, const char *title=0);
37
38 TH2D *GetHistRad() { return &fHistRad; }
39 TH3D *GetHistXY() { return &fHistXY; }
40
41 void Draw(Option_t *o="");
42 void Paint(Option_t *o="");
43
44 ClassDef(MHReflector, 1)
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.