ATLAS Offline Software
Loading...
Searching...
No Matches
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
51 const std::string& type);
52
55
58
59};
60
61#endif
Defines helper functions for initializing the OR tools in C++.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
void applySelection(const ContainerType &container)
Simple object selection.
ORToolBoxTestAlg(const std::string &name, ISvcLocator *svcLoc)
Standard algorithm constructor.
void printObjects(const xAOD::IParticleContainer &container, const std::string &type)
Print object info.
virtual StatusCode initialize()
Initialize the algorithm.
ORUtils::ToolBox m_toolBox
The overlap removal tools' toolbox.
bool selectObject(const ObjType &obj)
Simple object selection.
ORUtils::ORFlags m_flags
The overlap removal tools' configuration flags.
virtual StatusCode execute()
Execute the algorithm.
A container and helper class for overlap removal tools.
Definition ToolBox.h:39
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
A struct of global config options used to simplify the config helper interface.