ATLAS Offline Software
Loading...
Searching...
No Matches
InDetGlobalPrimaryVertexMonAlg.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
15
16#ifndef InDetGlobalPrimaryVertexMonAlg_H
17#define InDetGlobalPrimaryVertexMonAlg_H
18
20
21// tracking vertex
24
25//Standard c++
26#include <string>
27
28//------------------------------
29
30namespace Trk {
31 class Vertex;
32 class VxCandidate;
33}
34
35
36
38
39 public:
40
41 InDetGlobalPrimaryVertexMonAlg( const std::string & name, ISvcLocator* pSvcLocator );
43 virtual StatusCode initialize() override;
44 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
45 std::string findComponentString(int bec, int ld) const;
46
47
48
49 private:
50
51 SG::ReadHandleKey<xAOD::VertexContainer> m_vxContainerName{this,"vxContainerName","PrimaryVertices","Primary Vertices for Global Monitoring"};
52 //SG::ReadHandleKey<xAOD::VertexContainer> m_vxContainerNameSplit{this,"vxContainerNameSplit","VxPrimaryCandidateSplitStream","Split Vertices for Global Monitoring"};
53
63
65 bool m_doEnhancedMonitoring; // trigger the enhanced monitoring (to be activated by InDetFlags.doMonitoringPrimaryVertexingEnhanced because split vertexing and vertexing with no beam constraint need to be run as well)
66
67 // Helper functions
73 double getSplitMatchDistance(const xAOD::Vertex* splitVx, const xAOD::Vertex* originalVx);
74
75};
76#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::string findComponentString(int bec, int ld) const
virtual StatusCode initialize() override
initialize
int m_splitMatchingMetric
store metric to be used for split vertex matching in selection efficiency Values currently implemente...
InDetGlobalPrimaryVertexMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
double getSplitMatchDistance(const xAOD::Vertex *splitVx, const xAOD::Vertex *originalVx)
Returns matching distance between split and original vertex.
SG::ReadHandleKey< xAOD::VertexContainer > m_vxContainerName
float m_distanceSplitVxMatch
store maximum distance for matching split vertices to original non-BC vertex
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
int m_splitVertexTrkInvFraction
store inverse of the fraction of input tracks used for probe vertex (1:N)
Property holding a SG store/key/clid from which a ReadHandle is made.
This class is a simplest representation of a vertex candidate.
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.