CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
StepHandler.h
Go to the documentation of this file.
1#ifndef STEPHANDLER_H
2#define STEPHANDLER_H
3
4#include <vector>
5#include <string>
6
7#include "GaudiKernel/Algorithm.h"
13
14#ifdef TIME_MEASUREMENT ////// Timer
15#include "GaudiKernel/NTuple.h"
18#include <iomanip> //setw()
19#endif
20
21class StepHandler : public Algorithm
22{
23 public:
24
25 StepHandler(const std::string& name, ISvcLocator* pSvcLocator);
27
28 StatusCode initialize();
29 StatusCode finalize();
30 StatusCode execute();
31 StatusCode beginRun();
32
33 private:
34
35 HltStoreSvc* m_HltStoreSvc;
36 HltConfigSvc* m_HltConfigSvc;
37 StepSequencer* sequencerAlg;
38 StepDecision* decisionAlg;
39
40 EFResult* m_EFResult;
41 EFResult* m_evtType;
42 std::vector<std::string> m_stepIdList;
43
44 std::vector<std::string> m_tmp_evtType;
45#ifdef TIME_MEASUREMENT //// Timer
46 IBesTimerSvc* m_timersvc;
47 BesTimer* m_timer[5];
48
49 NTuple::Tuple* m_tuple;
50
51 NTuple::Item<float> g_StepHandlerTime;
52 NTuple::Item<float> g_1stStepExecTime;
53 NTuple::Item<float> g_1stStepDeciTime;
54 NTuple::Item<float> g_2ndStepExecTime;
55 NTuple::Item<float> g_2ndStepDeciTime;
56 unsigned long round;
57#endif
58};
59
60#endif
Defines the EFResult RDO structure.
StatusCode execute()
StatusCode initialize()
StatusCode finalize()
StepHandler(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode beginRun()