ATLAS Offline Software
Loading...
Searching...
No Matches
OverlapRemovalInit.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_OVERLAPREMOVALINIT_H
6#define ASSOCIATIONUTILS_OVERLAPREMOVALINIT_H
7
12
13// System includes
14#include <string>
15
16// ASG includes
18
19// Local includes
21
22namespace ORUtils
23{
24
28 struct ORFlags
29 {
31 ORFlags(const std::string& masterToolName = "OverlapRemovalTool",
32 const std::string& theInputLabel = "selected",
33 const std::string& theOutputLabel = "overlaps");
34
36 std::string masterName;
38 std::string inputLabel;
40 std::string outputLabel;
41
43 std::string bJetLabel = "";
46 double maxElePtForBJetAwareOR = 100. * 1000;
48 bool boostedLeptons = false;
51 bool outputPassValue = false;
53 bool linkOverlapObjects = false;
55 bool doEleEleOR = false;
56
59 bool doElectrons = true;
60 bool doMuons = true;
61 bool doJets = true;
62 bool doTaus = true;
63 bool doPhotons = true;
64 bool doFatJets = false;
66 };
67
68
98 StatusCode recommendedTools(const ORFlags& flags, ToolBox& toolBox);
99
100} // namespace ORUtils
101
102#endif
A container and helper class for overlap removal tools.
Definition ToolBox.h:39
StatusCode recommendedTools(const ORFlags &flags, ToolBox &toolBox)
Pre-configured standard recommended OR tools.
A struct of global config options used to simplify the config helper interface.
std::string inputLabel
Input object decoration.
std::string outputLabel
Output decoration.
bool outputPassValue
Output value to assign passing objects.
double maxElePtForBJetAwareOR
Set the maximum electron pT for which b-tag aware overlap removal is done.
bool doEleEleOR
Do electron-electron overlap.
ORFlags(const std::string &masterToolName="OverlapRemovalTool", const std::string &theInputLabel="selected", const std::string &theOutputLabel="overlaps")
Use constructor for convenience to initialize a few options.
std::string bJetLabel
B-jet decoration.
bool linkOverlapObjects
Enable overlap object ElementLinks.
bool boostedLeptons
Activate boosted-lepton recommendations (sliding dR cones)
std::string masterName
Master tool name.