BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
AbsCor.h
Go to the documentation of this file.
1#ifndef Analysis_AbsCor_H
2#define Analysis_AbsCor_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7#include "TGraphErrors.h"
8
9class TGraph2DErrors;
10class AbsCor : public Algorithm {
11
12public:
13 AbsCor(const std::string& name, ISvcLocator* pSvcLocator);
14 StatusCode initialize();
15 StatusCode execute();
16 StatusCode finalize();
17 double corEnergyPi0(double eg,double theid);
18private:
19 bool ntOut;
20 int mccor;
21 int edgecor;
22 int usetof;
23 int dodatacor;
24 int dopi0Cor;
25 int MCuseTof;
26 int hotcellmask;
27 int hrunstart[10];
28 int hrunend[10];
29 int hcell[10];
30
31
32 int **m_index;
33 double **m_par;
34 double **m_parphi;
35
36
37 double ECorrMC(double eg, double theid) const;
38 double ErrMC(double eg, double theid) const;
39 double E25min(int n) const;
40 double E25max(int n) const;
41
42 double e25min[28];
43 double e25max[28];
44 // Shower energy correction
45 TGraph2DErrors *dt;
46 // Energy error
47 TGraph2DErrors *dtErr;
48
49
50
51
52 NTuple::Tuple* m_tuple1;
53 NTuple::Item<double> m_ef;
54 NTuple::Item<double> m_e5;
55 NTuple::Item<double> m_ct;
56 NTuple::Item<double> m_cedge;
57 NTuple::Item<double> m_ec;
58
59};
60#endif
Definition: AbsCor.h:10
StatusCode execute()
Definition: AbsCor.cxx:281
double corEnergyPi0(double eg, double theid)
StatusCode finalize()
Definition: AbsCor.cxx:604
StatusCode initialize()
Definition: AbsCor.cxx:77