source: tags/Mars-V0.8.4/mhist/MHAlphaEnergyTheta.h

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