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

Last change on this file since 1788 was 1668, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 887 bytes
Line 
1#ifndef MARS_MHMcEnergyMigration
2#define MARS_MHMcEnergyMigration
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH3
9#include "TH3.h"
10#endif
11
12#ifndef ROOT_TH2
13#include "TH2.h"
14#endif
15
16class MMcEvt;
17class MEnergyEst;
18class MParList;
19
20class MHMcEnergyMigration : public MH
21{
22private:
23 MMcEvt *fMcEvt;
24 MEnergyEst *fEnergy;
25
26 TH3D fHist;
27
28public:
29 MHMcEnergyMigration(const char *name=NULL, const char *title=NULL);
30
31 virtual Bool_t SetupFill(const MParList *pList);
32 virtual Bool_t Fill(const MParContainer *par);
33
34 const TH3D *GetHist() { return &fHist; }
35 const TH3D *GetHist() const { return &fHist; }
36
37 TH1 *GetHistByName(const TString name) { return &fHist; }
38
39 void Draw(Option_t *option="");
40 TObject *DrawClone(Option_t *option="") const;
41
42 ClassDef(MHMcEnergyMigration, 0) //3D-histogram E-true E-est Theta
43
44};
45
46#endif
47
48
49
Note: See TracBrowser for help on using the repository browser.