ATLAS Offline Software
Loading...
Searching...
No Matches
TBAlgoSequencer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TBREC_TBALGOSEQUENCER
6#define TBREC_TBALGOSEQUENCER
8// //
9// This algorithm controls event flow and reconstruction and monitoring //
10// tasks. //
11// //
13
15
16
17#include <string>
18#include <vector>
19#include <map>
20
22{
23
24 typedef std::string KeyType;
25 typedef std::vector<Gaudi::Algorithm*> AlgoStore;
26 typedef AlgoStore::iterator AlgoIterator;
27
28 public:
29
30 TBAlgoSequencer(const std::string& name, ISvcLocator* pSvcLocator);
31 virtual ~TBAlgoSequencer();
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute() override;
35 virtual StatusCode finalize() override;
36
37 private:
38
40 // Properties //
42
43 std::vector<std::string> m_subAlgoNames;
45 std::vector<std::string> m_algoNameStore;
47
49 // Statistics //
51
52 unsigned int m_eventPrintFreq;
53 unsigned int m_eventCounter;
54 unsigned int m_rejectCounter;
55 unsigned int m_rejectNoEvent;
56 std::map<std::string,unsigned int> m_rejectPattern;
57 std::map<std::string,unsigned int> m_acceptPattern;
58};
59#endif
Alias for backward compatibility.
unsigned int m_rejectCounter
std::map< std::string, unsigned int > m_rejectPattern
std::map< std::string, unsigned int > m_acceptPattern
unsigned int m_rejectNoEvent
virtual StatusCode initialize() override
std::vector< Gaudi::Algorithm * > AlgoStore
virtual StatusCode execute() override
unsigned int m_eventPrintFreq
virtual StatusCode finalize() override
TBAlgoSequencer(const std::string &name, ISvcLocator *pSvcLocator)
unsigned int m_eventCounter
AlgoStore::iterator AlgoIterator
virtual ~TBAlgoSequencer()
std::string KeyType
std::vector< std::string > m_algoNameStore
std::vector< std::string > m_subAlgoNames