source: trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h@ 2087

Last change on this file since 2087 was 2043, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 804 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
12class MMcEvt;
13class MEnergyEst;
14class MParList;
15
16class MHMcEnergyMigration : public MH
17{
18private:
19 MMcEvt *fMcEvt; //!
20 MEnergyEst *fEnergy; //!
21
22 TH3D fHist;
23
24public:
25 MHMcEnergyMigration(const char *name=NULL, const char *title=NULL);
26
27 Bool_t SetupFill(const MParList *pList);
28 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
29
30 const TH3D *GetHist() { return &fHist; }
31 const TH3D *GetHist() const { return &fHist; }
32
33 TH1 *GetHistByName(const TString name) { return &fHist; }
34
35 void Draw(Option_t *option="");
36
37 ClassDef(MHMcEnergyMigration, 1) //3D-histogram E-true E-est Theta
38
39};
40
41#endif
42
43
44
Note: See TracBrowser for help on using the repository browser.