ATLAS Offline Software
Loading...
Searching...
No Matches
OverlapRemovalTestAlg.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_OVERLAPREMOVALTESTALG_H
6#define ASSOCIATIONUTILS_OVERLAPREMOVALTESTALG_H
7
8// Framework includes
9#include "GaudiKernel/ToolHandle.h"
11
12// EDM includes
14
15// Local includes
17
23{
24
25 public:
26
28 OverlapRemovalTestAlg(const std::string& name, ISvcLocator* svcLoc);
29
31 virtual StatusCode initialize();
32
34 virtual StatusCode execute();
35
36 private:
37
39 template<class ContainerType>
40 void applySelection(const ContainerType& container);
41
43 template<class ObjType>
44 bool selectObject(const ObjType& obj);
45
48 const std::string& type);
49
51 ToolHandle<ORUtils::IOverlapRemovalTool> m_orTool;
52
54 std::string m_selectionLabel;
55 std::string m_overlapLabel;
56 std::string m_bJetLabel;
57
58};
59
60#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
Execute the algorithm.
virtual StatusCode initialize()
Initialize the algorithm.
std::string m_selectionLabel
Configuration.
void applySelection(const ContainerType &container)
Simple object selection.
OverlapRemovalTestAlg(const std::string &name, ISvcLocator *svcLoc)
Standard algorithm constructor.
ToolHandle< ORUtils::IOverlapRemovalTool > m_orTool
Handle to the tool.
bool selectObject(const ObjType &obj)
Simple object selection.
void printObjects(const xAOD::IParticleContainer &container, const std::string &type)
Print object info.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.