Last change
on this file since 859 was 851, checked in by tbretz, 23 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
853 bytes
|
Line | |
---|
1 | #ifndef MHMCENERGY_H
|
---|
2 | #define MHMCENERGY_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MPARCONTAINER_H
|
---|
8 | #include "MParContainer.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class TH1F;
|
---|
12 | class TF1;
|
---|
13 |
|
---|
14 | class MHMcEnergy : public MParContainer
|
---|
15 | {
|
---|
16 | private:
|
---|
17 |
|
---|
18 | TH1F *hLogEner; // histogram with the logarith of the energy
|
---|
19 | TF1 *fLogEner; // gausian function to fit the histogram
|
---|
20 |
|
---|
21 | public:
|
---|
22 |
|
---|
23 | MHMcEnergy(const UInt_t idx=0, const char *name=NULL, const char *title=NULL);
|
---|
24 | ~MHMcEnergy();
|
---|
25 |
|
---|
26 | Float_t GetThreshold() const;
|
---|
27 | Float_t GetThresholdErr() const;
|
---|
28 |
|
---|
29 | Float_t GetGaussPeak() const;
|
---|
30 | Float_t GetGaussSigma() const;
|
---|
31 |
|
---|
32 | void Fill(Float_t log10E, Float_t w);
|
---|
33 | void Fit(Axis_t xxmin, Axis_t xxmax);
|
---|
34 |
|
---|
35 | void Draw(Option_t* option = "");
|
---|
36 | void Print(Option_t* option = NULL);
|
---|
37 |
|
---|
38 | ClassDef(MHMcEnergy, 1) // Histogram container for montecarlo energy
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.