ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
TrackParametersAtPV.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TrackParametersAtPV.h (c) ATLAS Detector software
8
9
#ifndef DERIVATIONFRAMEWORK_TRACKPARAMETERSATPV_H
10
#define DERIVATIONFRAMEWORK_TRACKPARAMETERSATPV_H
11
12
#include<string>
13
14
// Gaudi & Athena basics
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
xAODTracking/TrackParticleContainer.h
"
17
#include "
xAODTracking/VertexContainer.h
"
18
#include <vector>
19
20
#include <
StoreGate/ReadHandleKey.h
>
21
#include <
StoreGate/WriteHandleKey.h
>
22
23
// DerivationFramework includes
24
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
25
26
namespace
DerivationFramework
{
27
35
class
TrackParametersAtPV
:
public
AthAlgTool
,
public
IAugmentationTool
{
36
37
public
:
39
TrackParametersAtPV
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
40
42
~TrackParametersAtPV
();
43
44
// Athena algtool's Hooks
45
StatusCode
initialize
();
46
StatusCode
finalize
();
47
49
virtual
StatusCode
addBranches
()
const
;
50
51
private
:
52
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_collTrackKey
53
{
this
,
"TrackParticleContainerName"
,
"InDetTrackParticles"
,
""
};
54
SG::ReadHandleKey<xAOD::VertexContainer>
m_collVertexKey
55
{
this
,
"VertexContainerName"
,
"PrimaryVertices"
,
""
};
56
57
SG::WriteHandleKey< std::vector<float>
>
m_trackZ0PVKey
58
{
this
,
"Z0SGEntryName"
,
""
,
""
};
59
60
};
61
62
}
63
64
#endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::TrackParametersAtPV::~TrackParametersAtPV
~TrackParametersAtPV()
Destructor.
IAugmentationTool.h
DerivationFramework::TrackParametersAtPV::initialize
StatusCode initialize()
Definition:
TrackParametersAtPV.cxx:28
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::TrackParametersAtPV::finalize
StatusCode finalize()
Definition:
TrackParametersAtPV.cxx:47
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
DerivationFramework::TrackParametersAtPV::addBranches
virtual StatusCode addBranches() const
Check that the current event passes this filter.
Definition:
TrackParametersAtPV.cxx:54
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
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
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DerivationFramework::TrackParametersAtPV::m_collVertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_collVertexKey
Definition:
TrackParametersAtPV.h:55
DerivationFramework::TrackParametersAtPV::m_trackZ0PVKey
SG::WriteHandleKey< std::vector< float > > m_trackZ0PVKey
Definition:
TrackParametersAtPV.h:58
VertexContainer.h
DerivationFramework::TrackParametersAtPV::m_collTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_collTrackKey
Definition:
TrackParametersAtPV.h:53
DerivationFramework::TrackParametersAtPV::TrackParametersAtPV
TrackParametersAtPV(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition:
TrackParametersAtPV.cxx:16
DerivationFramework::TrackParametersAtPV
Definition:
TrackParametersAtPV.h:35
AthAlgTool
Definition:
AthAlgTool.h:26
TrackParticleContainer.h
Generated on Thu Nov 7 2024 21:29:01 for ATLAS Offline Software by
1.8.18