CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
StepSequencer.h
Go to the documentation of this file.
1#ifndef STEPSEQUENCER_H
2#define STEPSEQUENCER_H
3
4#include <string>
5#include <math.h>
6#include <vector>
7#include <map>
8
9#include "GaudiKernel/Algorithm.h"
11
13
14class StepSequencer : public Algorithm
15{
16 public:
17
18 StepSequencer(const std::string& name, ISvcLocator* pSvcLocator);
20
21 virtual bool isEnabled( ) const{return m_isEnabled;};
22 StatusCode initialize() { return StatusCode::SUCCESS; }
23 StatusCode execute() { return StatusCode::SUCCESS; }
24 StatusCode finalize() { return StatusCode::SUCCESS; }
25
26// start of StepSequencer specific interface
27 void reset();
28
30 bool execSequencer(const std::string& seqID);
31 std::vector<Algorithm*> searchAlgForEachTE_o(HltProcessor::Sequence* );
32 bool doesExistAlready(std::string );
33 Algorithm* existingAlg (std::string );
34 //DummyAlg* m_DummyAlg;
35
36 private:
37 Algorithm* matchAlg;
38 std::vector<Algorithm* > vMatchAlg;
39 //std::string instance;
40 std::map<std::string, std::vector<Algorithm* > > m_AlgMap;
41
42 bool m_isEnabled;
43};
44
45#endif
StepSequencer(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm * existingAlg(std::string)
bool doesExistAlready(std::string)
virtual bool isEnabled() const
StatusCode initSequencer(HltProcessor::Sequence *)
StatusCode initialize()
StatusCode finalize()
std::vector< Algorithm * > searchAlgForEachTE_o(HltProcessor::Sequence *)
bool execSequencer(const std::string &seqID)
StatusCode execute()