BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
CheckEFResult.h
Go to the documentation of this file.
1#ifndef CHECKEFRESULT_H
2#define CHECKEFRESULT_H
3
4#include <string>
5
6#include "GaudiKernel/Algorithm.h"
7//#include "GaudiKernel/Property.h"
8#include "GaudiKernel/ISvcLocator.h"
9//#include "RawDataCnv/EventManagement/MucBuilder.h"
11
12#include "GaudiKernel/IDataProviderSvc.h"
13#include "GaudiKernel/NTuple.h"
14#include <vector>
15//#include "BesTimerSvc/IBesTimerSvc.h"
16//#include "BesTimerSvc/BesTimerSvc.h"
17
18class CheckEFResult : public Algorithm {
19 public:
20 CheckEFResult(const std::string& name, ISvcLocator* pSvcLocator);
21 virtual ~CheckEFResult();
22
23 StatusCode initialize();
24 StatusCode execute();
25 StatusCode finalize();
26 private:
27 //inline clock_t GetCycleCount(void);
28
29 private:
30 HltStoreSvc* m_HltStoreSvc;
31 IDataProviderSvc* m_evtDataSvc;
32
33 NTuple::Tuple* m_tuple;
34 NTuple::Item<long> m_nevt;
35 NTuple::Item<long> m_alg;
36 NTuple::Item<long> m_nmdc;
37 NTuple::Item<long> m_ntof;
38 NTuple::Item<long> m_nemc;
39 NTuple::Item<long> m_nmuc;
40 NTuple::Item<long> m_nshower;
41 NTuple::Item<long> m_ntrk;
42 NTuple::Item<long> m_nsec;
43 NTuple::Item<float> m_etot;
44 NTuple::Item<float> m_ebarrel;
45 NTuple::Item<float> m_eendcap;
46 NTuple::Item<float> m_acop;
47 NTuple::Item<float> m_ebalance;
48 NTuple::Item<float> m_emax1;
49 NTuple::Item<float> m_emax2;
50 NTuple::Item<float> m_dtof1;
51 NTuple::Item<float> m_dphi1;
52 NTuple::Item<float> m_dtof2;
53 NTuple::Item<float> m_dphi2;
54 NTuple::Item<float> m_acol;
55 NTuple::Item<float> m_pmax1;
56 NTuple::Item<float> m_pmax2;
57 NTuple::Item<float> m_cost1;
58 NTuple::Item<float> m_cost2;
59 NTuple::Item<float> m_mbalance;
60 NTuple::Item<long> m_evttype;
61
62 // IBesTimerSvc* m_timersvc;
63 //#define NTIMERS 2
64 //BesTimer* m_timer[NTIMERS];
65 //NTuple::Item<float> m_filtertime;
66 //NTuple::Item<float> m_CPUtime;
67 //clock_t m_clock;
68 //clock_t m_CPUspeed;
69 //cycles_t m_cycles;
70 std::vector<int> m_notpass;
71 std::string m_outfile;
72};
73
74#endif //CHECKEFRESULT_H
StatusCode finalize()
StatusCode initialize()
virtual ~CheckEFResult()
StatusCode execute()