ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkHiggs
DerivationFrameworkHiggs
ZeeVertexRefittingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// EGVertexRefittingTool.h
7
// author: ioannis.nomidis@cern.ch
9
14
15
#ifndef DERIVATIONFRAMEWORK_ZEEVERTEXREFITTINGTOOL_H
16
#define DERIVATIONFRAMEWORK_ZEEVERTEXREFITTINGTOOL_H
17
18
#include <string>
19
#include <vector>
20
21
#include "
AthenaBaseComps/AthAlgTool.h
"
22
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
23
#include "
xAODEgamma/ElectronContainer.h
"
24
#include "GaudiKernel/ToolHandle.h"
25
#include "
JpsiUpsilonTools/PrimaryVertexRefitter.h
"
26
#include "
ExpressionEvaluation/ExpressionParser.h
"
27
28
#include "
xAODEgamma/ElectronContainer.h
"
29
#include "
xAODTracking/VertexContainer.h
"
30
#include "
xAODEventInfo/EventInfo.h
"
31
32
#include "
ExpressionEvaluation/ExpressionParserUser.h
"
33
34
namespace
DerivationFramework
{
35
36
class
ZeeVertexRefittingTool
:
public
extends<ExpressionParserUser<AthAlgTool>, IAugmentationTool> {
37
public
:
38
39
using
base_class::base_class;
40
41
virtual
StatusCode
initialize
()
override
final
;
42
virtual
StatusCode
finalize
()
override
final
;
43
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
44
45
private
:
46
Gaudi::Property<std::string>
m_expression
{
this
,
"ObjectRequirements"
,
"true"
};
47
Gaudi::Property<float>
m_massCut
{
this
,
"LowMassCut"
, 0.f};
48
49
SG::ReadHandleKey<xAOD::VertexContainer>
m_primaryVertexKey
{
this
,
"PVContainerName"
,
"PrimaryVertices"
,
""
};
50
SG::ReadHandleKey<xAOD::ElectronContainer>
m_electronKey
{
this
,
"ElectronContainerName"
,
"Electrons"
,
""
};
51
SG::WriteHandleKey<xAOD::VertexContainer>
m_refitpvKey
{
this
,
"RefittedPVContainerName"
,
"HggPrimaryVertices"
,
""
};
52
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
""
};
53
54
Gaudi::Property<std::vector<unsigned int> >
m_MCSamples
{
this
,
"MCSamples"
, {} };
55
56
ToolHandle < Analysis::PrimaryVertexRefitter >
m_pvrefitter
{
this
,
"PrimaryVertexRefitterTool"
,
"Analysis::PrimaryVertexRefitter"
};
57
58
StatusCode
makeZeePairs
(
const
xAOD::ElectronContainer
*particles, std::vector<std::vector<unsigned int> > &ZeePairs)
const
;
59
};
60
}
61
62
#endif
// DERIVATIONFRAMEWORK_ZEEVERTEXREFITTINGTOOL_H
AthAlgTool.h
ElectronContainer.h
ExpressionParserUser.h
ExpressionParser.h
IAugmentationTool.h
PrimaryVertexRefitter.h
VertexContainer.h
DerivationFramework::ZeeVertexRefittingTool
Definition
ZeeVertexRefittingTool.h:36
DerivationFramework::ZeeVertexRefittingTool::makeZeePairs
StatusCode makeZeePairs(const xAOD::ElectronContainer *particles, std::vector< std::vector< unsigned int > > &ZeePairs) const
Definition
ZeeVertexRefittingTool.cxx:190
DerivationFramework::ZeeVertexRefittingTool::m_electronKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronKey
Definition
ZeeVertexRefittingTool.h:50
DerivationFramework::ZeeVertexRefittingTool::m_primaryVertexKey
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVertexKey
Definition
ZeeVertexRefittingTool.h:49
DerivationFramework::ZeeVertexRefittingTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
ZeeVertexRefittingTool.h:52
DerivationFramework::ZeeVertexRefittingTool::m_massCut
Gaudi::Property< float > m_massCut
Definition
ZeeVertexRefittingTool.h:47
DerivationFramework::ZeeVertexRefittingTool::m_expression
Gaudi::Property< std::string > m_expression
Definition
ZeeVertexRefittingTool.h:46
DerivationFramework::ZeeVertexRefittingTool::m_pvrefitter
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvrefitter
Definition
ZeeVertexRefittingTool.h:56
DerivationFramework::ZeeVertexRefittingTool::initialize
virtual StatusCode initialize() override final
Definition
ZeeVertexRefittingTool.cxx:31
DerivationFramework::ZeeVertexRefittingTool::finalize
virtual StatusCode finalize() override final
Definition
ZeeVertexRefittingTool.cxx:53
DerivationFramework::ZeeVertexRefittingTool::m_MCSamples
Gaudi::Property< std::vector< unsigned int > > m_MCSamples
Definition
ZeeVertexRefittingTool.h:54
DerivationFramework::ZeeVertexRefittingTool::m_refitpvKey
SG::WriteHandleKey< xAOD::VertexContainer > m_refitpvKey
Definition
ZeeVertexRefittingTool.h:51
DerivationFramework::ZeeVertexRefittingTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
ZeeVertexRefittingTool.cxx:59
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
xAOD::ElectronContainer
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/ElectronContainer.h:17
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0