ATLAS Offline Software
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
7 // //
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;
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;
46  bool m_timingOn;
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
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TBAlgoSequencer::m_eventPrintFreq
unsigned int m_eventPrintFreq
Definition: TBAlgoSequencer.h:52
TBAlgoSequencer::m_rejectCounter
unsigned int m_rejectCounter
Definition: TBAlgoSequencer.h:54
TBAlgoSequencer::m_subAlgoNames
std::vector< std::string > m_subAlgoNames
Definition: TBAlgoSequencer.h:43
TBAlgoSequencer
Definition: TBAlgoSequencer.h:22
TBAlgoSequencer::AlgoIterator
AlgoStore::iterator AlgoIterator
Definition: TBAlgoSequencer.h:26
TBAlgoSequencer::m_subAlgos
AlgoStore m_subAlgos
Definition: TBAlgoSequencer.h:44
TBAlgoSequencer::AlgoStore
std::vector< Gaudi::Algorithm * > AlgoStore
Definition: TBAlgoSequencer.h:25
TBAlgoSequencer::initialize
virtual StatusCode initialize() override
Definition: TBAlgoSequencer.cxx:40
TBAlgoSequencer::~TBAlgoSequencer
virtual ~TBAlgoSequencer()
Definition: TBAlgoSequencer.cxx:32
AthLegacySequence
Alias for backward compatibility.
Definition: AthLegacySequence.h:63
TBAlgoSequencer::finalize
virtual StatusCode finalize() override
Definition: TBAlgoSequencer.cxx:177
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBAlgoSequencer::m_algoNameStore
std::vector< std::string > m_algoNameStore
Definition: TBAlgoSequencer.h:45
TBAlgoSequencer::m_timingOn
bool m_timingOn
Definition: TBAlgoSequencer.h:46
TBAlgoSequencer::TBAlgoSequencer
TBAlgoSequencer(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TBAlgoSequencer.cxx:17
AthLegacySequence.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TBAlgoSequencer::m_rejectNoEvent
unsigned int m_rejectNoEvent
Definition: TBAlgoSequencer.h:55
TBAlgoSequencer::m_acceptPattern
std::map< std::string, unsigned int > m_acceptPattern
Definition: TBAlgoSequencer.h:57
TBAlgoSequencer::KeyType
std::string KeyType
Definition: TBAlgoSequencer.h:24
TBAlgoSequencer::execute
virtual StatusCode execute() override
Definition: TBAlgoSequencer.cxx:111
TBAlgoSequencer::m_eventCounter
unsigned int m_eventCounter
Definition: TBAlgoSequencer.h:53
TBAlgoSequencer::m_rejectPattern
std::map< std::string, unsigned int > m_rejectPattern
Definition: TBAlgoSequencer.h:56