ATLAS Offline Software
Loading...
Searching...
No Matches
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
21public:
22 TrigZVertexHypoTool(const std::string& type, const std::string& name, const IInterface* parent);
23
29
30 StatusCode decide(ZVertexInfo& decisions) const;
31 virtual StatusCode initialize() override;
32 virtual StatusCode finalize() override;
33
34private:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
TrigZVertexHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode finalize() override
Gaudi::Property< int > m_maxNumVertices
HLT::Identifier m_decisionId
Gaudi::Property< int > m_minWeight
Gaudi::Property< int > m_maxWeight
Gaudi::Property< int > m_minNumVertices
StatusCode decide(ZVertexInfo &decisions) const
std::set< DecisionID > DecisionIDContainer
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.
TrigCompositeUtils::Decision * decision
const xAOD::TrigCompositeContainer * vertices
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs