source: trunk/MagicSoft/Mars/mhist/MHMcEnergyImpact.h@ 1376

Last change on this file since 1376 was 1306, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 841 bytes
Line 
1#ifndef MARS_MHMcEnergyImpact
2#define MARS_MHMcEnergyImpact
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH2
8#include <TH2.h>
9#endif
10
11class MMcEvt;
12
13class MHMcEnergyImpact : public MH
14{
15private:
16 TH2D fHist; // histogram with the logarith of the energy
17
18public:
19 MHMcEnergyImpact(const char *name=NULL, const char *title=NULL);
20 ~MHMcEnergyImpact();
21
22 void SetName(const char *name);
23 void SetTitle(const char *title);
24
25 Bool_t SetupFill(const MParList *pList);
26 Bool_t Fill(const MParContainer *pcont=NULL);
27
28 const TH2D *GetHist() { return &fHist; }
29 const TH2D *GetHist() const { return &fHist; }
30
31 void Draw(Option_t* option = "");
32 TObject *DrawClone(Option_t* option = "") const;
33
34 ClassDef(MHMcEnergyImpact, 1) // Histogram container for 2D histogram in Energy and Impact
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.