ATLAS Offline Software
TrackCountHypoTool.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 TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
5 #define TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
12 
13 class TrackCountHypoTool : virtual public AthCheckedComponent<::AthAlgTool>
14 {
15 public:
16 
17  TrackCountHypoTool(const std::string& type,
18  const std::string& name,
19  const IInterface* parent);
20 
21  struct TrkCountsInfo {
25  };
26 
28 
29 private:
30 
32  Gaudi::Property<float> m_minPt{ this, "minPt", 100, "Accept events with momentum higher than this limit in MeV" };
33  Gaudi::Property<float> m_maxZ0{ this, "maxZ0", 401, "Accept events with absolute value of track z at beamline position than this limit in mm" };
34  Gaudi::Property<float> m_maxVertexZ{ this, "maxVertexZ", 803, "Accept events with absolute value of track to vertex z distance than this limit in mm" };
35  Gaudi::Property<float> m_minNtrks{ this, "minNtrks", 1, "Accept events with minimum (including that value) of this number of tracks, -1 means this cut is disabled" };
36  Gaudi::Property<float> m_maxNtrks{ this, "maxNtrks", -1, "Accept events with maximum (excluding that value) of this number of tracks, -1 means this cut is disabled" };
37  const int m_exclusivityThreshold = 15;
38  Gaudi::Property<bool> m_exclusive{ this, "exclusive", false, "Apply exclusivity selection (less than Exclusivity cut low pt tracks & tracks within the range)" };
39  Gaudi::Property<bool> m_acceptAll{ this, "acceptAll", false, "Accept all events" };
40 };
41 
42 #endif //> !TRIGMINBIAS_TRACKCOUNTHYPOTOOL_H
TrackCountHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrackCountHypoTool.h:31
TrackCountHypoTool::m_maxNtrks
Gaudi::Property< float > m_maxNtrks
Definition: TrackCountHypoTool.h:36
TrigCompositeUtils.h
TrackCountHypoTool::m_maxVertexZ
Gaudi::Property< float > m_maxVertexZ
Definition: TrackCountHypoTool.h:34
TrackCountHypoTool::decide
StatusCode decide(TrkCountsInfo &decisions) const
Definition: TrackCountHypoTool.cxx:18
TrackCountHypoTool::TrackCountHypoTool
TrackCountHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrackCountHypoTool.cxx:13
TrackCountHypoTool::m_minPt
Gaudi::Property< float > m_minPt
Definition: TrackCountHypoTool.h:32
TrackCountHypoTool::TrkCountsInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: TrackCountHypoTool.h:24
TrackCountHypoTool::m_exclusive
Gaudi::Property< bool > m_exclusive
Definition: TrackCountHypoTool.h:38
TrackCountHypoTool::TrkCountsInfo::decision
TrigCompositeUtils::Decision * decision
Definition: TrackCountHypoTool.h:22
AthCheckedComponent
Mixin class to perform additional checks on a component.
Definition: AthCheckedComponent.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrackCountHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition: TrackCountHypoTool.h:39
TrackCountHypoTool::m_maxZ0
Gaudi::Property< float > m_maxZ0
Definition: TrackCountHypoTool.h:33
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:81
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrackCountHypoTool::TrkCountsInfo::counts
const xAOD::TrigComposite * counts
Definition: TrackCountHypoTool.h:23
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
AthCheckedComponent.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrackCountHypoTool::m_minNtrks
Gaudi::Property< float > m_minNtrks
Definition: TrackCountHypoTool.h:35
TrackCountHypoTool::m_exclusivityThreshold
const int m_exclusivityThreshold
Definition: TrackCountHypoTool.h:37
TrackCountHypoTool::TrkCountsInfo
Definition: TrackCountHypoTool.h:21
TrackCountHypoTool
Definition: TrackCountHypoTool.h:14