source: trunk/MagicSoft/Mars/mhist/MHMcIntRate.h@ 1572

Last change on this file since 1572 was 1228, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 867 bytes
Line 
1#ifndef MARS_MHMcIntRate
2#define MARS_MHMcIntRate
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7#ifndef ROOT_TH1
8#include <TH1.h>
9#endif
10
11class MHMcDifRate;
12
13class MHMcIntRate : public MParContainer
14{
15private:
16
17 TH1D fHist; // histogram with the logarith of the energy
18
19 // const MMcEvt *fMcEvt; //! container to fill histogram from
20
21public:
22 MHMcIntRate(const char *name=NULL, const char *title=NULL);
23 ~MHMcIntRate();
24
25 void SetName(const char *name);
26 void SetTitle(const char *title);
27
28 const TH1D *GetHist() { return &fHist; }
29 const TH1D *GetHist() const { return &fHist; }
30
31 void Draw(Option_t* option = "");
32 TObject *DrawClone(Option_t* option = "") const;
33
34 void Calc(const MHMcDifRate &rate);
35
36 ClassDef(MHMcIntRate, 1) // Histogram container for montecarlo energy threshold
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.