ATLAS Offline Software
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 
22 namespace 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 
99 
100 } // namespace ORUtils
101 
102 #endif
ORUtils::ORFlags::outputPassValue
bool outputPassValue
Output value to assign passing objects.
Definition: OverlapRemovalInit.h:51
ORUtils::ORFlags::boostedLeptons
bool boostedLeptons
Activate boosted-lepton recommendations (sliding dR cones)
Definition: OverlapRemovalInit.h:48
AthenaPoolTestRead.flags
flags
Definition: AthenaPoolTestRead.py:8
ORUtils::ORFlags::doEleEleOR
bool doEleEleOR
Do electron-electron overlap.
Definition: OverlapRemovalInit.h:55
ORUtils::ORFlags::doPhotons
bool doPhotons
Definition: OverlapRemovalInit.h:63
ORUtils::recommendedTools
StatusCode recommendedTools(const ORFlags &flags, ToolBox &toolBox)
Pre-configured standard recommended OR tools.
Definition: OverlapRemovalInit.cxx:50
ORUtils::ORFlags::maxElePtForBJetAwareOR
double maxElePtForBJetAwareOR
Set the maximum electron pT for which b-tag aware overlap removal is done.
Definition: OverlapRemovalInit.h:46
ORUtils::ORFlags::doElectrons
bool doElectrons
Definition: OverlapRemovalInit.h:59
ORUtils::ORFlags::doFatJets
bool doFatJets
Definition: OverlapRemovalInit.h:64
ORUtils::ORFlags::ORFlags
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.
Definition: OverlapRemovalInit.cxx:39
ORUtils
Definition: AltMuJetOverlapTool.h:20
ToolBox.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ORUtils::ORFlags::bJetLabel
std::string bJetLabel
B-jet decoration.
Definition: OverlapRemovalInit.h:43
ORUtils::ORFlags::doTaus
bool doTaus
Definition: OverlapRemovalInit.h:62
StatusCode.h
ORUtils::ORFlags::outputLabel
std::string outputLabel
Output decoration.
Definition: OverlapRemovalInit.h:40
ORUtils::ORFlags::linkOverlapObjects
bool linkOverlapObjects
Enable overlap object ElementLinks.
Definition: OverlapRemovalInit.h:53
ORUtils::ORFlags
A struct of global config options used to simplify the config helper interface.
Definition: OverlapRemovalInit.h:29
ORUtils::ORFlags::masterName
std::string masterName
Master tool name.
Definition: OverlapRemovalInit.h:36
ORUtils::ToolBox
A container and helper class for overlap removal tools.
Definition: ToolBox.h:39
ORUtils::ORFlags::doMuons
bool doMuons
Definition: OverlapRemovalInit.h:60
ORUtils::ORFlags::doJets
bool doJets
Definition: OverlapRemovalInit.h:61
ORUtils::ORFlags::inputLabel
std::string inputLabel
Input object decoration.
Definition: OverlapRemovalInit.h:38