ATLAS Offline Software
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
15 #include "xAODTracking/VertexFwd.h"
16 
31 namespace Trk {
32 
34  : public AthAlgTool
35  , virtual public IVertexWeightCalculator
36 {
37 public:
38  virtual StatusCode initialize() override;
39  virtual StatusCode finalize() override;
40 
45  SumPtVertexWeightCalculator(const std::string& t,
46  const std::string& n,
47  const IInterface* p);
48 
53  virtual ~SumPtVertexWeightCalculator() = default;
54 
59  virtual double estimateSignalCompatibility(const xAOD::Vertex& vertex) const override final;
60 
61 private:
65  Gaudi::Property<bool> m_doSumPt2Selection{ this, "DoSumPt2Selection", true };
66 
67 }; // end of class description
68 } // end of namespace definition
69 
70 #endif
Trk::SumPtVertexWeightCalculator
Definition: SumPtVertexWeightCalculator.h:36
Trk::SumPtVertexWeightCalculator::SumPtVertexWeightCalculator
SumPtVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition: SumPtVertexWeightCalculator.cxx:27
Trk::SumPtVertexWeightCalculator::estimateSignalCompatibility
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override final
WeightCalculator.
Definition: SumPtVertexWeightCalculator.cxx:36
Trk::SumPtVertexWeightCalculator::~SumPtVertexWeightCalculator
virtual ~SumPtVertexWeightCalculator()=default
destructor
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IVertexWeightCalculator.h
Trk::SumPtVertexWeightCalculator::finalize
virtual StatusCode finalize() override
Definition: SumPtVertexWeightCalculator.cxx:21
Trk::SumPtVertexWeightCalculator::initialize
virtual StatusCode initialize() override
Definition: SumPtVertexWeightCalculator.cxx:15
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
VertexFwd.h
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
TrackParticleFwd.h
Trk::IVertexWeightCalculator
Definition: IVertexWeightCalculator.h:40
AthAlgTool
Definition: AthAlgTool.h:26
Trk::SumPtVertexWeightCalculator::m_doSumPt2Selection
Gaudi::Property< bool > m_doSumPt2Selection
Flag to Set SumPt^2 not SumPt as selection criteria.
Definition: SumPtVertexWeightCalculator.h:65
VertexAuxContainer.h