BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Sequence.h
Go to the documentation of this file.
1#ifndef SEQUENCE_H
2#define SEQUENCE_H
3#include <utility>
4#include <map>
5#include <string>
6#include <vector>
8
9namespace HltProcessor {
10
11 class Sequence {
12
13 public:
14 Sequence();
15 virtual ~Sequence();
16 std::vector<std::string>& algoVector();
17
18 int algoNum() const;
19 int inputNum() const;
20 void setInputNum(int inputNum);
21 void setAlgoNum(int algoNum);
22 void setSeqID(std::string seqID) {
23 m_sequenceID = seqID;
24 }
25 const std::string& getSeqID() const {
26 return m_sequenceID;
27 }
28 void setInputID(std::string inputID) {
29 m_inputID = inputID;
30 }
31 const std::string& getInputID() const {
32 return m_inputID;
33 }
34 void setOutputID(std::string outputID) {
35 m_outputID = outputID;
36 }
37 const std::string& getOutputID() const {
38 return m_outputID;
39 }
40 void makeVectors(std::string algoString);
41 void print();
42
43 private:
44 std::vector<std::string> m_sequenceAlgoVector ;
45 std::string m_sequenceID;
46 std::string m_inputID;
47 std::string m_outputID;
48 int m_sequenceInputNum;
49 int m_sequenceAlgoNum;
50 MessageSvcProvider* m_msgSvcProvider;
51
52 };
53
54} // End of namespace bracket
55
56#endif
const std::string & getOutputID() const
Definition Sequence.h:37
int algoNum() const
Retrieve number of algorithms.
Definition Sequence.cxx:18
void print()
Print all std::vectors and all other information for a given sequence.
Definition Sequence.cxx:58
const std::string & getSeqID() const
Definition Sequence.h:25
std::vector< std::string > & algoVector()
Retrieve algorithm vector reference.
Definition Sequence.cxx:13
void setInputID(std::string inputID)
Definition Sequence.h:28
void makeVectors(std::string algoString)
Build all std::vectors from string XML information.
Definition Sequence.cxx:38
const std::string & getInputID() const
Definition Sequence.h:31
void setSeqID(std::string seqID)
Definition Sequence.h:22
int inputNum() const
Retrieve number of inputs.
Definition Sequence.cxx:23
void setAlgoNum(int algoNum)
Retrieve number of algorithms.
Definition Sequence.cxx:28
void setInputNum(int inputNum)
Set number of inputs.
Definition Sequence.cxx:33
void setOutputID(std::string outputID)
Definition Sequence.h:34
Class that provides message services. Add to any classes that need message services.