Last change
on this file since 20029 was 18102, checked in by ghughes, 10 years ago |
Added Scaled Width and Length Parameters to output
|
File size:
2.2 KB
|
Line | |
---|
1 | #ifndef MARS_MEnergyTable
|
---|
2 | #define MARS_MEnergyTable
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TArrayD
|
---|
9 | #include <TArrayD.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | #include <vector>
|
---|
13 | #include "TH2F.h"
|
---|
14 |
|
---|
15 | #define D2R 3.1415/180.
|
---|
16 |
|
---|
17 | #ifndef MARS_MParameterCalc
|
---|
18 | #include "MParameterCalc.h"
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | using namespace std;
|
---|
22 |
|
---|
23 | class MHillasSrc;
|
---|
24 | class MEnergyEst;
|
---|
25 | class MHillas;
|
---|
26 | class MNewImagePar;
|
---|
27 | class MMcEvt;
|
---|
28 | class MHMatrix;
|
---|
29 | class MPointingPos;
|
---|
30 | class MParameterD;
|
---|
31 |
|
---|
32 | class MEnergyTable : public MParameterCalc
|
---|
33 | {
|
---|
34 | private:
|
---|
35 |
|
---|
36 | MParameterD *fParameterW;
|
---|
37 | MParameterD *fParameterL;
|
---|
38 | MParameterD *fParameter;
|
---|
39 | MHillasSrc *fHillasSrc;
|
---|
40 | MHillas *fHillas;
|
---|
41 | MPointingPos *fPointing;
|
---|
42 | MMcEvt *fMC;
|
---|
43 |
|
---|
44 | TString fNameHillasSrc;
|
---|
45 | TString fNameHillas;
|
---|
46 | TString fNamePoint;
|
---|
47 | TString fNameMC;
|
---|
48 | TString fNameParameter;
|
---|
49 | TString fNameParameterW;
|
---|
50 | TString fNameParameterL;
|
---|
51 |
|
---|
52 | Double_t fMm2Deg;
|
---|
53 |
|
---|
54 | Int_t PreProcess(MParList *plist);
|
---|
55 | Int_t Process();
|
---|
56 |
|
---|
57 | TFile *fTableFile;
|
---|
58 |
|
---|
59 | char sHistDir[500];
|
---|
60 | char sHistName[500];
|
---|
61 | char sHistNameL[500];
|
---|
62 | char sHistNameLS[500];
|
---|
63 | char sHistNameW[500];
|
---|
64 | char sHistNameWS[500];
|
---|
65 | int iZen[3];
|
---|
66 | int iThr[3];
|
---|
67 |
|
---|
68 | vector<TH2F *> htempE;
|
---|
69 | vector<TH2F *> htempL;
|
---|
70 | vector<TH2F *> htempLS;
|
---|
71 | vector<TH2F *> htempW;
|
---|
72 | vector<TH2F *> htempWS;
|
---|
73 |
|
---|
74 | vector< vector<TH2F *> > hEnergy;
|
---|
75 | vector< vector<TH2F *> > hLength;
|
---|
76 | vector< vector<TH2F *> > hLengthSigma;
|
---|
77 | vector< vector<TH2F *> > hWidth;
|
---|
78 | vector< vector<TH2F *> > hWidthSigma;
|
---|
79 |
|
---|
80 | Float_t fZenith;
|
---|
81 | float fThreshold;
|
---|
82 | Int_t iZenith;
|
---|
83 | Int_t iThreshold;
|
---|
84 | Int_t iX;
|
---|
85 | Int_t iY;
|
---|
86 | float fEnergy1;
|
---|
87 | float fEnergy2;
|
---|
88 | float fEnergyRecon;
|
---|
89 |
|
---|
90 | float fLength;
|
---|
91 | float fWidth;
|
---|
92 | float fLengthSigma;
|
---|
93 | float fWidthSigma;
|
---|
94 |
|
---|
95 | float fLength1;
|
---|
96 | float fLength2;
|
---|
97 | float fWidth1;
|
---|
98 | float fWidth2;
|
---|
99 | float fLengthSigma1;
|
---|
100 | float fLengthSigma2;
|
---|
101 | float fWidthSigma1;
|
---|
102 | float fWidthSigma2;
|
---|
103 |
|
---|
104 | float RSW,RSL;
|
---|
105 |
|
---|
106 | public:
|
---|
107 |
|
---|
108 | MEnergyTable(const char *name=NULL, const char *title=NULL);
|
---|
109 | ~MEnergyTable();
|
---|
110 |
|
---|
111 | Int_t SetTableFile( const TString sTableFile );
|
---|
112 |
|
---|
113 | ClassDef(MEnergyTable, 0) // Task to estimate the energy
|
---|
114 |
|
---|
115 | };
|
---|
116 |
|
---|
117 | #endif
|
---|
118 |
|
---|
119 |
|
---|
120 |
|
---|
121 |
|
---|
122 |
|
---|
123 |
|
---|
124 |
|
---|
125 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.