BOSS 8.0.0
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/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6#include "TH1F.h"
7#include "TH2F.h"
8
9#include "EmcCalibConstSvc/IEmcCalibConstSvc.h"
10
11class ITHistSvc;
12
13/**********************************************************************/
14/** <project name> -
15 ** <description> Head file for histogram(tuple) filling algorithm
16 **
17 ** \file
18 **
19 ** \author Liu ChunXiu
20 **
21 ** \version $Id: DQA_EMC.h,v 1.4 2009/07/06 01:50:22 liucx Exp $
22 **
23 **
24 *************************************************************************/
25
26class DQA_EMC : public Algorithm {
27
28public:
29 DQA_EMC( const std::string& name, ISvcLocator* pSvcLocator );
30 StatusCode initialize();
31 StatusCode execute();
32 StatusCode finalize();
33
34private:
35 int m_event;
36
37 int m_runNo;
38 int m_NtupleOutput;
39 ITHistSvc* m_thistsvc;
40
41 NTuple::Tuple* m_tuple;
42 NTuple::Item<long> m_ixtal;
43 NTuple::Item<long> m_npart;
44 NTuple::Item<long> m_ntheta;
45 NTuple::Item<long> m_nphi;
46 NTuple::Item<double> m_theta;
47 NTuple::Item<double> m_phi;
48 NTuple::Item<double> m_emcX;
49 NTuple::Item<double> m_emcY;
50 NTuple::Item<double> m_eSeed;
51 NTuple::Item<double> m_e5x5;
52 NTuple::Item<double> m_energy;
53 NTuple::Item<long> m_time;
54
55 TH1F* m_HistEnergyB;
56 TH1F* m_HistEnergyEast;
57 TH1F* m_HistEnergyWest;
58 TH1F* m_HistTheta;
59 TH1F* m_HistCosTheta;
60 TH1F* m_HistPhiB;
61 TH1F* m_HistPhiEast;
62 TH1F* m_HistPhiWest;
63 // TProfile2D* m_ThetaPhi;
64 TH2F* m_ThetaPhi;
65
66 TH1F* m_HistTime;
67 TH1F* m_HistHitMap;
68
69 TH2F* m_XYeast;
70 TH2F* m_XYwest;
71 TH2F* m_eSeedIxtal;
72
73 IEmcCalibConstSvc* m_emcCalibConstSvc;
74};
75
76#endif
StatusCode initialize()
Definition DQA_EMC.cxx:26
StatusCode finalize()
Definition DQA_EMC.cxx:440
StatusCode execute()
Definition DQA_EMC.cxx:252
DQA_EMC(const std::string &name, ISvcLocator *pSvcLocator)
Definition DQA_EMC.cxx:18