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

Last change on this file since 2010 was 2010, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 851 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, Double_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 TObject *DrawClone(Option_t *option="") const;
37
38 ClassDef(MHMcEnergyMigration, 1) //3D-histogram E-true E-est Theta
39
40};
41
42#endif
43
44
45
Note: See TracBrowser for help on using the repository browser.