ATLAS Offline Software
DisplacedJetRankComboHypoTool.h
Go to the documentation of this file.
1 #ifndef TRIGDJRANKCOMBOHYPO_H
2 #define TRIGDJRANKCOMBOHYPO_H
3 
6 
7 
9  //tool to apply jet ranking
10 public:
11  DisplacedJetRankComboHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
12  virtual StatusCode initialize() override;
13  //need to see all jets at once not a series of combinations
14  virtual StatusCode decide(Combo::LegDecisionsMap& passingLegs, const EventContext& ctx) const override;
15 
16 private:
17  Gaudi::Property<unsigned int> m_rankcut{this, "max_jet_rank",{2}, "Maximum jet rank which will be processed, counts from 0"};
18  Gaudi::Property<unsigned int> m_maxjets{this, "max_jets",{0}, "Maximum number of jets allowed in the event"};
19 };
20 
21 #endif
DisplacedJetRankComboHypoTool::initialize
virtual StatusCode initialize() override
Definition: DisplacedJetRankComboHypoTool.cxx:7
DisplacedJetRankComboHypoTool::m_maxjets
Gaudi::Property< unsigned int > m_maxjets
Definition: DisplacedJetRankComboHypoTool.h:18
ComboHypoToolBase
Base class for tools which cut on properties of multi-object or multi-leg chains. User should derive ...
Definition: ComboHypoToolBase.h:26
Combo::LegDecisionsMap
std::map< TrigCompositeUtils::DecisionID, std::vector< ElementLink< TrigCompositeUtils::DecisionContainer > > > LegDecisionsMap
LegDecisionsMap For a given chain leg key, this map holds all Decision Objects which are active on th...
Definition: IComboHypoTool.h:28
DisplacedJetRankComboHypoTool::decide
virtual StatusCode decide(Combo::LegDecisionsMap &passingLegs, const EventContext &ctx) const override
retrieves the decisions associated to this decId, make their combinations and apply the algorithm
Definition: DisplacedJetRankComboHypoTool.cxx:11
DisplacedJetRankComboHypoTool
Definition: DisplacedJetRankComboHypoTool.h:8
TrigCompositeUtils.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DisplacedJetRankComboHypoTool::DisplacedJetRankComboHypoTool
DisplacedJetRankComboHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DisplacedJetRankComboHypoTool.cxx:5
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ComboHypoToolBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DisplacedJetRankComboHypoTool::m_rankcut
Gaudi::Property< unsigned int > m_rankcut
Definition: DisplacedJetRankComboHypoTool.h:17
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78