ATLAS Offline Software
FastTrackFinderLRTHypoTool.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGT2FTFLRT_TRACKCOUNTHYPOTOOL_H
5 #define TRIGT2FTFLRT_TRACKCOUNTHYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
11 
13 {
14 public:
15 
16  FastTrackFinderLRTHypoTool( const std::string& type,
17  const std::string& name,
18  const IInterface* parent );
19 
20  virtual ~FastTrackFinderLRTHypoTool() = default;
21  virtual StatusCode initialize() override;
22 
23  struct TrkCountsInfo {
27  };
28 
30 
31  private:
32 
34  Gaudi::Property<float> m_min_pt{this, "min_pt",{0}, "Accept events with momentum higher than this limit"};
35  Gaudi::Property<float> m_min_d0{this, "min_d0",{0}, "Accept events with d0 above this limit"};
36  Gaudi::Property<float> m_max_d0{this, "max_d0",{900}, "Accept events with d0 below this limit"};
37  Gaudi::Property<float> m_max_xi2{this, "max_xi2",{10}, "Accept events with Xi2 of the track less than this limit"};
38  Gaudi::Property<float> m_required_ntrks{this, "required_ntrks", 1, "Accept events with minimum of this number of tracks"};
39  Gaudi::Property<float> m_max_required_ntrks{this, "max_required_ntrks", -1, "Accept events with maximum of this number of tracks"};
40  Gaudi::Property<bool> m_acceptAll{this, "acceptAll", false, "Accept all events"};
41  Gaudi::Property<bool> m_cutMinAndMax{this, "cutMinAndMax", false, "take events within the given higher and lower limt/cut"};
42  Gaudi::Property<bool> m_logicAnd{this, "TriggerTypeAnd", true, "And/Or Logic"};
43  };
44 
45  #endif //> !TRIGT2MINBIAS_TRACKCOUNTHYPOTOOL_H
FastTrackFinderLRTHypoTool::TrkCountsInfo::decision
TrigCompositeUtils::Decision * decision
Definition: FastTrackFinderLRTHypoTool.h:24
FastTrackFinderLRTHypoTool::m_max_d0
Gaudi::Property< float > m_max_d0
Definition: FastTrackFinderLRTHypoTool.h:36
FastTrackFinderLRTHypoTool::m_min_d0
Gaudi::Property< float > m_min_d0
Definition: FastTrackFinderLRTHypoTool.h:35
FastTrackFinderLRTHypoTool::m_min_pt
Gaudi::Property< float > m_min_pt
Definition: FastTrackFinderLRTHypoTool.h:34
FastTrackFinderLRTHypoTool::m_required_ntrks
Gaudi::Property< float > m_required_ntrks
Definition: FastTrackFinderLRTHypoTool.h:38
FastTrackFinderLRTHypoTool::m_cutMinAndMax
Gaudi::Property< bool > m_cutMinAndMax
Definition: FastTrackFinderLRTHypoTool.h:41
TrigCompositeUtils.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FastTrackFinderLRTHypoTool::m_logicAnd
Gaudi::Property< bool > m_logicAnd
Definition: FastTrackFinderLRTHypoTool.h:42
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FastTrackFinderLRTHypoTool::~FastTrackFinderLRTHypoTool
virtual ~FastTrackFinderLRTHypoTool()=default
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
FastTrackFinderLRTHypoTool::initialize
virtual StatusCode initialize() override
Definition: FastTrackFinderLRTHypoTool.cxx:18
FastTrackFinderLRTHypoTool
Definition: FastTrackFinderLRTHypoTool.h:13
FastTrackFinderLRTHypoTool::m_max_xi2
Gaudi::Property< float > m_max_xi2
Definition: FastTrackFinderLRTHypoTool.h:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
FastTrackFinderLRTHypoTool::TrkCountsInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: FastTrackFinderLRTHypoTool.h:26
FastTrackFinderLRTHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: FastTrackFinderLRTHypoTool.h:40
FastTrackFinderLRTHypoTool::TrkCountsInfo::counts
const xAOD::TrigComposite * counts
Definition: FastTrackFinderLRTHypoTool.h:25
FastTrackFinderLRTHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: FastTrackFinderLRTHypoTool.h:33
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
FastTrackFinderLRTHypoTool::decide
StatusCode decide(TrkCountsInfo &decisions) const
Definition: FastTrackFinderLRTHypoTool.cxx:22
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FastTrackFinderLRTHypoTool::TrkCountsInfo
Definition: FastTrackFinderLRTHypoTool.h:23
HLTIdentifier.h
FastTrackFinderLRTHypoTool::m_max_required_ntrks
Gaudi::Property< float > m_max_required_ntrks
Definition: FastTrackFinderLRTHypoTool.h:39
AthAlgTool
Definition: AthAlgTool.h:26
FastTrackFinderLRTHypoTool::FastTrackFinderLRTHypoTool
FastTrackFinderLRTHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FastTrackFinderLRTHypoTool.cxx:14