ATLAS Offline Software
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 
16 #ifndef InDetGlobalPrimaryVertexMonAlg_H
17 #define InDetGlobalPrimaryVertexMonAlg_H
18 
20 
21 // tracking vertex
24 
25 //Standard c++
26 #include <string>
27 
28 //------------------------------
29 
30 namespace 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 
56 
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDetGlobalPrimaryVertexMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: InDetGlobalPrimaryVertexMonAlg.cxx:57
InDetGlobalPrimaryVertexMonAlg::~InDetGlobalPrimaryVertexMonAlg
virtual ~InDetGlobalPrimaryVertexMonAlg()
Definition: InDetGlobalPrimaryVertexMonAlg.cxx:43
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition: Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
InDetGlobalPrimaryVertexMonAlg::InDetGlobalPrimaryVertexMonAlg
InDetGlobalPrimaryVertexMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: InDetGlobalPrimaryVertexMonAlg.cxx:29
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
InDetGlobalPrimaryVertexMonAlg::m_distanceSplitVxMatch
float m_distanceSplitVxMatch
store maximum distance for matching split vertices to original non-BC vertex
Definition: InDetGlobalPrimaryVertexMonAlg.h:55
InDetGlobalPrimaryVertexMonAlg::m_splitVertexTrkInvFraction
int m_splitVertexTrkInvFraction
store inverse of the fraction of input tracks used for probe vertex (1:N)
Definition: InDetGlobalPrimaryVertexMonAlg.h:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
InDetGlobalPrimaryVertexMonAlg::getSplitMatchDistance
double getSplitMatchDistance(const xAOD::Vertex *splitVx, const xAOD::Vertex *originalVx)
Returns matching distance between split and original vertex.
InDetGlobalPrimaryVertexMonAlg
Definition: InDetGlobalPrimaryVertexMonAlg.h:37
InDetGlobalPrimaryVertexMonAlg::m_vxContainerName
SG::ReadHandleKey< xAOD::VertexContainer > m_vxContainerName
Definition: InDetGlobalPrimaryVertexMonAlg.h:51
InDetGlobalPrimaryVertexMonAlg::findComponentString
std::string findComponentString(int bec, int ld) const
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDetGlobalPrimaryVertexMonAlg::m_splitMatchingMetric
int m_splitMatchingMetric
store metric to be used for split vertex matching in selection efficiency Values currently implemente...
Definition: InDetGlobalPrimaryVertexMonAlg.h:64
VertexContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
InDetGlobalPrimaryVertexMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: InDetGlobalPrimaryVertexMonAlg.cxx:46
InDetGlobalPrimaryVertexMonAlg::m_doEnhancedMonitoring
bool m_doEnhancedMonitoring
Definition: InDetGlobalPrimaryVertexMonAlg.h:65
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:32