source: branches/Mars_use_drstimefiles/mhistmc/MHMcEnergyMigration.h@ 18605

Last change on this file since 18605 was 2107, checked in by moralejo, 22 years ago
*** empty log message ***
File size: 991 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 TH3D fHist2;
28 TH2D fHistImp;
29
30public:
31 MHMcEnergyMigration(const char *name=NULL, const char *title=NULL);
32
33 Bool_t SetupFill(const MParList *pList);
34 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
35
36 const TH3D *GetHist() { return &fHist; }
37 const TH3D *GetHist() const { return &fHist; }
38 TH1 *GetHistByName(const TString name) { return &fHist; }
39
40 const TH3D *GetHist2() { return &fHist2; }
41 const TH2D *GetHistImp() { return &fHistImp; }
42
43 void Draw(Option_t *option="");
44
45 ClassDef(MHMcEnergyMigration, 1) //3D-histogram E-true E-est Theta
46
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.