source: trunk/MagicSoft/Mars/mtemp/mucm/classes/MHExcessEnergyThetaONOFF.h@ 6976

Last change on this file since 6976 was 6967, checked in by marcos, 20 years ago
*** empty log message ***
File size: 898 bytes
Line 
1#ifndef MARS_MHExcessEnergyThetaONOFF
2#define MARS_MHExcessEnergyThetaONOFF
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH3
9#include <TH2.h>
10#endif
11
12#ifndef MARS_MHExcessEnergyTheta
13#include "MHExcessEnergyTheta.h"
14#endif
15
16class MParList;
17class MHAlphaEnergyTheta;
18
19class MHExcessEnergyThetaONOFF : public MHExcessEnergyTheta
20{
21 private:
22
23 TH2D fHist;
24
25 Bool_t SetupFill(const MParList *pList);
26 Bool_t ReInit(MParList *pList);
27
28
29 public:
30
31 MHExcessEnergyThetaONOFF(const char *name=NULL, const char *title=NULL);
32
33 void Calc(MHAlphaEnergyTheta* hAlphaON, MHAlphaEnergyTheta* hAlphaOFF);
34
35 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
36
37 TH2D *GetHist() { return &fHist; }
38
39 void Draw(Option_t *option="");
40
41 ClassDef(MHExcessEnergyThetaONOFF, 1) //2D-histogram in number of excess events vs. Energy and theta
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.