ATLAS Offline Software
Loading...
Searching...
No Matches
TrueVertexDistanceWeightCalculator.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_TrueVertexDistanceWeightCalculator_H
6#define TrkVertexWeightCalculator_TrueVertexDistanceWeightCalculator_H
7
9#include "GaudiKernel/ToolHandle.h"
12
13// xAOD include
18
32
34
35namespace Trk {
36
38 : public AthAlgTool
39 , virtual public IVertexWeightCalculator
40{
41public:
42 virtual StatusCode initialize() override;
43 virtual StatusCode finalize() override;
44
48
49 TrueVertexDistanceWeightCalculator(const std::string& t,
50 const std::string& n,
51 const IInterface* p);
52
56
58
62
63 virtual double estimateSignalCompatibility(const xAOD::Vertex& vertex) const override final;
64
65private:
67 this,
68 "McTruthCollection",
69 "TruthEvent",
70 "key to retrieve MC truth"
71 };
72
73 double mEstimateSignalCompatibility(const Amg::Vector3D& vtxPosition) const;
74
75}; // end of class description
76} // end of namespace definition
77
78#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Property holding a SG store/key/clid from which a ReadHandle is made.
double mEstimateSignalCompatibility(const Amg::Vector3D &vtxPosition) const
SG::ReadHandleKey< McEventCollection > m_mcEventCollectionKey
virtual ~TrueVertexDistanceWeightCalculator()=default
destructor
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override final
WeightCalculator.
TrueVertexDistanceWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
constructor
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.