ATLAS Offline Software
TrigZVertexHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGMINBIAS_TRIGZVERTEXHYPOTOOL_H
5 #define TRIGMINBIAS_TRIGZVERTEXHYPOTOOL_H
6 
7 // Package includes
8 
9 // Framework includes
13 // STL includes
14 #include <string>
15 
21 public:
22  TrigZVertexHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
23 
24  struct ZVertexInfo {
28  };
29 
31  virtual StatusCode initialize() override;
32  virtual StatusCode finalize() override;
33 
34 private:
36  Gaudi::Property<int> m_minNumVertices{ this, "minNumVertices", 1, "Require at least that number of vertices (inclusive)" };
37  Gaudi::Property<int> m_maxNumVertices{ this, "maxNumVertices", 100, "Require at most that number of vertices (inclusive)" };
38  Gaudi::Property<int> m_minWeight{ this, "minWeight", 1, "Count vertices that at least have weight higher than this threshold (inclusive)" };
39  Gaudi::Property<int> m_maxWeight{ this, "maxWeight", 1e6, "Count vertices that have weight smaller than this threshold (inclusive)" };
40 };
41 
42 #endif // TRIGMINBIAS_TRIGZVERTEXHYPOTOOL_H
TrigZVertexHypoTool::initialize
virtual StatusCode initialize() override
Definition: TrigZVertexHypoTool.cxx:14
TrigCompositeUtils.h
TrigZVertexHypoTool::m_maxNumVertices
Gaudi::Property< int > m_maxNumVertices
Definition: TrigZVertexHypoTool.h:37
TrigZVertexHypoTool::ZVertexInfo::vertices
const xAOD::TrigCompositeContainer * vertices
Definition: TrigZVertexHypoTool.h:26
TrigZVertexHypoTool
Applies selection on the number of tracks poting to vertex (actually on the vertex weight)
Definition: TrigZVertexHypoTool.h:20
TrigZVertexHypoTool::decide
StatusCode decide(ZVertexInfo &decisions) const
Definition: TrigZVertexHypoTool.cxx:18
TrigZVertexHypoTool::m_maxWeight
Gaudi::Property< int > m_maxWeight
Definition: TrigZVertexHypoTool.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigZVertexHypoTool::TrigZVertexHypoTool
TrigZVertexHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigZVertexHypoTool.cxx:9
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigZVertexHypoTool::ZVertexInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: TrigZVertexHypoTool.h:27
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigZVertexHypoTool::finalize
virtual StatusCode finalize() override
Definition: TrigZVertexHypoTool.cxx:44
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:81
TrigZVertexHypoTool::ZVertexInfo
Definition: TrigZVertexHypoTool.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TrigZVertexHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: TrigZVertexHypoTool.h:35
TrigZVertexHypoTool::m_minWeight
Gaudi::Property< int > m_minWeight
Definition: TrigZVertexHypoTool.h:38
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
TrigZVertexHypoTool::ZVertexInfo::decision
TrigCompositeUtils::Decision * decision
Definition: TrigZVertexHypoTool.h:25
AthAlgTool
Definition: AthAlgTool.h:26
TrigZVertexHypoTool::m_minNumVertices
Gaudi::Property< int > m_minNumVertices
Definition: TrigZVertexHypoTool.h:36