ATLAS Offline Software
Loading...
Searching...
No Matches
SumPtVertexWeightCalculator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrkVertexWeightCalculator_SumPtVertexWeightCalculator_H
6#define TrkVertexWeightCalculator_SumPtVertexWeightCalculator_H
7
9#include "GaudiKernel/ToolHandle.h"
11
12// xAOD include
16
30
31namespace Trk {
32
34 : public AthAlgTool
35 , virtual public IVertexWeightCalculator
36{
37public:
38 virtual StatusCode initialize() override;
39 virtual StatusCode finalize() override;
40
44
45 SumPtVertexWeightCalculator(const std::string& t,
46 const std::string& n,
47 const IInterface* p);
48
52
53 virtual ~SumPtVertexWeightCalculator() = default;
54
58
59 virtual double estimateSignalCompatibility(const xAOD::Vertex& vertex) const override final;
60
61private:
65 Gaudi::Property<bool> m_doSumPt2Selection{ this, "DoSumPt2Selection", true };
66
67}; // end of class description
68} // end of namespace definition
69
70#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SumPtVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
constructor
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override final
WeightCalculator.
virtual ~SumPtVertexWeightCalculator()=default
destructor
Gaudi::Property< bool > m_doSumPt2Selection
Flag to Set SumPt^2 not SumPt as selection criteria.
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.