ATLAS Offline Software
ORToolBoxTestAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ASSOCIATIONUTILS_ORTOOLBOXTESTALG_H
6 #define ASSOCIATIONUTILS_ORTOOLBOXTESTALG_H
7 
8 // Framework includes
10 
11 // Local includes
14 
15 
26 {
27 
28  public:
29 
31  ORToolBoxTestAlg(const std::string& name, ISvcLocator* svcLoc);
32 
34  virtual StatusCode initialize();
35 
37  virtual StatusCode execute();
38 
39  private:
40 
42  template<class ContainerType>
43  void applySelection(const ContainerType& container);
44 
46  template<class ObjType>
47  bool selectObject(const ObjType& obj);
48 
50  void printObjects(const xAOD::IParticleContainer& container,
51  const std::string& type);
52 
55 
58 
59 };
60 
61 #endif
ORToolBoxTestAlg::applySelection
void applySelection(const ContainerType &container)
Simple object selection.
Definition: ORToolBoxTestAlg.cxx:87
ORToolBoxTestAlg::execute
virtual StatusCode execute()
Execute the algorithm.
Definition: ORToolBoxTestAlg.cxx:52
ORToolBoxTestAlg::m_flags
ORUtils::ORFlags m_flags
The overlap removal tools' configuration flags.
Definition: ORToolBoxTestAlg.h:57
ORToolBoxTestAlg
A testing algorithm for the dual-use overlap removal tool in Athena.
Definition: ORToolBoxTestAlg.h:26
ToolBox.h
AthAlgorithm.h
ORToolBoxTestAlg::printObjects
void printObjects(const xAOD::IParticleContainer &container, const std::string &type)
Print object info.
ORToolBoxTestAlg::ORToolBoxTestAlg
ORToolBoxTestAlg(const std::string &name, ISvcLocator *svcLoc)
Standard algorithm constructor.
Definition: ORToolBoxTestAlg.cxx:20
ORToolBoxTestAlg::selectObject
bool selectObject(const ObjType &obj)
Simple object selection.
Definition: ORToolBoxTestAlg.cxx:96
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthAlgorithm
Definition: AthAlgorithm.h:47
OverlapRemovalInit.h
Defines helper functions for initializing the OR tools in C++.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ORToolBoxTestAlg::initialize
virtual StatusCode initialize()
Initialize the algorithm.
Definition: ORToolBoxTestAlg.cxx:36
ORUtils::ORFlags
A struct of global config options used to simplify the config helper interface.
Definition: OverlapRemovalInit.h:29
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ORUtils::ToolBox
A container and helper class for overlap removal tools.
Definition: ToolBox.h:39
ORToolBoxTestAlg::m_toolBox
ORUtils::ToolBox m_toolBox
The overlap removal tools' toolbox.
Definition: ORToolBoxTestAlg.h:54
python.PyAthena.obj
obj
Definition: PyAthena.py:135