ATLAS Offline Software
Loading...
Searching...
No Matches
DisplacedJetPromptHypoTool.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGT2DJTRIG_PROMPT_HYPOTOOL_H
5#define TRIGT2DJTRIG_PROMPT_HYPOTOOL_H
6
7#include "Gaudi/Property.h"
11#include "xAODTracking/Vertex.h"
13#include "xAODJet/Jet.h"
16
18{
19public:
20
21 DisplacedJetPromptHypoTool( const std::string& type,
22 const std::string& name,
23 const IInterface* parent );
24
25 virtual ~DisplacedJetPromptHypoTool() = default;
26 virtual StatusCode initialize() override;
27
38
39 StatusCode decide( Info& info ) const;
40
41 private:
42
44 Gaudi::Property<float> m_min_jet_pt{this, "min_jet_pt",{0}, "Minimum jet pt [GeV]"};
45 Gaudi::Property<float> m_min_trk_pt{this, "min_trk_pt",{0}, "Minimum pt for a track [GeV]"};
46 Gaudi::Property<float> m_d0cut{this, "trk_d0cut",{4}, "D0 cut applied to split prompt/displaced"};
47 Gaudi::Property<float> m_z0stcut{this, "max_z0st",{3.0}, "Maximum value for z0*sin(theta) [mm]"};
48 Gaudi::Property<float> m_d0sigcut{this, "d0sigcut",{25.0}, "Maximum value for z0*sin(theta) [mm]"};
49 Gaudi::Property<int> m_maxprompt{this, "max_prompt_trk",{4}, "Max number of prompt tracks in a jet"};
50 Gaudi::Property<unsigned int> m_rankcut{this, "max_jet_rank",{4}, "Maximum jet rank which will be processed"};
51 Gaudi::Property<int> m_minnjets{this, "min_njets",{2}, "Minimum number of jets left for it to be worth processing the event"};
52 Gaudi::Property<std::string> m_cutname{this, "cut_name",{""}, "Name of cuts, used for decoration names"};
53 Gaudi::Property<int> m_maxjets{this, "max_jets",{0}, "Max jets allowed in an event after ranking"};
54
55 Gaudi::Property<bool> m_usebeamspot{this, "use_beamspot",{true}, "Use beamspot info"};
56
57
58 ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
59 };
60
61 #endif //> !TRIGT2MINBIAS_TRACKCOUNTHYPOTOOL_H
Header file to be included by clients of the Monitored infrastructure.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< float > m_min_trk_pt
Gaudi::Property< float > m_d0sigcut
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< float > m_min_jet_pt
Gaudi::Property< std::string > m_cutname
Gaudi::Property< bool > m_usebeamspot
Gaudi::Property< unsigned int > m_rankcut
virtual StatusCode initialize() override
DisplacedJetPromptHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~DisplacedJetPromptHypoTool()=default
StatusCode decide(Info &info) const
std::set< DecisionID > DecisionIDContainer
Jet_v1 Jet
Definition of the current "jet version".
TrigComposite_v1 TrigComposite
Declare the latest version of the class.
Vertex_v1 Vertex
Define the latest version of the vertex class.
std::vector< const xAOD::TrackParticle_v1 * > tracks
TrigCompositeUtils::Decision * output_decision
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs