CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DQA_EMC.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DQA_EMC_H
2#define Physics_Analysis_DQA_EMC_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8#include "TH1F.h"
9#include "TH2F.h"
10#include "TNtuple.h"
11#include "TProfile.h"
12#include "TProfile2D.h"
15class ITHistSvc;
16
17/**********************************************************************/
18/** <project name> -
19 ** <description> Head file for histogram(tuple) filling algorithm
20 **
21 ** \file
22 **
23 ** \author Liu ChunXiu
24 **
25 ** \version $Id: DQA_EMC.h,v 1.3 2009/06/18 09:11:39 liucx Exp $
26 **
27 **
28*************************************************************************/
29
30class DQA_EMC : public Algorithm {
31
32public:
33 DQA_EMC(const std::string& name, ISvcLocator* pSvcLocator);
34 StatusCode initialize();
35 StatusCode execute();
36 StatusCode finalize();
37
38private:
39 int m_event;
40
41 int m_runNo;
42
43 ITHistSvc* m_thistsvc;
44
45 NTuple::Tuple* m_tuple;
46 NTuple::Item<long> m_ixtal;
47 NTuple::Item<long> m_npart;
48 NTuple::Item<long> m_ntheta;
49 NTuple::Item<long> m_nphi;
50 NTuple::Item<double> m_theta;
51 NTuple::Item<double> m_phi;
52 NTuple::Item<double> m_emcX;
53 NTuple::Item<double> m_emcY;
54 NTuple::Item<double> m_eSeed;
55 NTuple::Item<double> m_e5x5;
56 NTuple::Item<double> m_energy;
57 NTuple::Item<long> m_time;
58
59 TH1F* m_HistEnergyB;
60 TH1F* m_HistEnergyEast;
61 TH1F* m_HistEnergyWest;
62 TH1F* m_HistTheta;
63 TH1F* m_HistCosTheta;
64 TH1F* m_HistPhiB;
65 TH1F* m_HistPhiEast;
66 TH1F* m_HistPhiWest;
67// TProfile2D* m_ThetaPhi;
68 TH2F* m_ThetaPhi;
69
70
71 TH1F* m_HistTime;
72 TH1F* m_HistHitMap;
73
74 TH2F* m_XYeast;
75 TH2F* m_XYwest;
76 TH2F* m_eSeedIxtal;
77
78
79 IEmcCalibConstSvc* m_emcCalibConstSvc;
80
81
82};
83
84
85#endif
StatusCode initialize()
Definition: DQA_EMC.cxx:44
StatusCode finalize()
Definition: DQA_EMC.cxx:529
StatusCode execute()
Definition: DQA_EMC.cxx:298