BOSS 8.0.0
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 <string>
5#include <vector>
6
7#include "GaudiKernel/Algorithm.h"
13
14#ifdef TIME_MEASUREMENT ////// Timer
15# include "BesTimerSvc/BesTimerSvc.h"
16# include "BesTimerSvc/IBesTimerSvc.h"
17# include "GaudiKernel/NTuple.h"
18# include <iomanip> //setw()
19#endif
20
21class StepHandler : public Algorithm {
22public:
23 StepHandler( const std::string& name, ISvcLocator* pSvcLocator );
25
26 StatusCode initialize();
27 StatusCode finalize();
28 StatusCode execute();
29 StatusCode beginRun();
30
31private:
32 HltStoreSvc* m_HltStoreSvc;
33 HltConfigSvc* m_HltConfigSvc;
34 StepSequencer* sequencerAlg;
35 StepDecision* decisionAlg;
36
37 EFResult* m_EFResult;
38 EFResult* m_evtType;
39 std::vector<std::string> m_stepIdList;
40
41 std::vector<std::string> m_tmp_evtType;
42#ifdef TIME_MEASUREMENT //// Timer
43 IBesTimerSvc* m_timersvc;
44 BesTimer* m_timer[5];
45
46 NTuple::Tuple* m_tuple;
47
48 NTuple::Item<float> g_StepHandlerTime;
49 NTuple::Item<float> g_1stStepExecTime;
50 NTuple::Item<float> g_1stStepDeciTime;
51 NTuple::Item<float> g_2ndStepExecTime;
52 NTuple::Item<float> g_2ndStepDeciTime;
53 unsigned long round;
54#endif
55};
56
57#endif
Defines the EFResult RDO structure.
StatusCode execute()
StatusCode initialize()
StatusCode finalize()
StepHandler(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode beginRun()