ATLAS Offline Software
VertexKineFillerTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
12 #ifndef TRACKD3PDMAKER_VERTEXKINEFILLERTOOL_H
13 #define TRACKD3PDMAKER_VERTEXKINEFILLERTOOL_H
14 
15 
17 #include "xAODTracking/Vertex.h"
18 #include "VxVertex/VxCandidate.h"
20 
21 namespace D3PD {
22 
23 
28  : public BlockFillerTool<Types<Trk::VxCandidate, xAOD::Vertex> >
29 {
30 public:
32 
39  VertexKineFillerTool (const std::string& type,
40  const std::string& name,
41  const IInterface* parent);
42 
43 
45  virtual StatusCode book() final;
46 
47 
56  virtual StatusCode fill (const Trk::VxCandidate& p) override;
57 
58 
67  virtual StatusCode fill (const xAOD::Vertex& p) override;
68 
69 
70 private:
71 
73  float* m_px;
74  float* m_py;
75  float* m_pz;
76  float* m_E;
77  float* m_m;
78  int* m_nTracks;
79  float* m_sumPt;
80 };
81 
82 
83 } // namespace D3PD
84 
85 
86 #endif // not TRACKD3PDMAKER_VERTEXKINEFILLERTOOL_H
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition: Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
D3PD::VertexKineFillerTool::Base
BlockFillerTool< Types< Trk::VxCandidate, xAOD::Vertex > > Base
Definition: VertexKineFillerTool.h:31
D3PD::VertexKineFillerTool::fill
virtual StatusCode fill(const Trk::VxCandidate &p) override
Fill one block — type-safe version.
Definition: VertexKineFillerTool.cxx:72
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::VertexKineFillerTool::m_nTracks
int * m_nTracks
Definition: VertexKineFillerTool.h:78
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::VertexKineFillerTool
Block filler tool for vertex kinematics, from attached tracks.
Definition: VertexKineFillerTool.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VxTrackAtVertex.h
D3PD::VertexKineFillerTool::m_E
float * m_E
Definition: VertexKineFillerTool.h:76
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
D3PD::VertexKineFillerTool::m_sumPt
float * m_sumPt
Definition: VertexKineFillerTool.h:79
Vertex.h
VxCandidate.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
D3PD::VertexKineFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: VertexKineFillerTool.cxx:50
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::VertexKineFillerTool::VertexKineFillerTool
VertexKineFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: VertexKineFillerTool.cxx:38
D3PD::VertexKineFillerTool::m_py
float * m_py
Definition: VertexKineFillerTool.h:74
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::VertexKineFillerTool::m_m
float * m_m
Definition: VertexKineFillerTool.h:77
D3PD::VertexKineFillerTool::m_px
float * m_px
Variables: Vertex position.
Definition: VertexKineFillerTool.h:73
D3PD::VertexKineFillerTool::m_pz
float * m_pz
Definition: VertexKineFillerTool.h:75