#include <PFlowAugmentationTool.h>
|
ToolHandle< CP::IWeightPFOTool > | m_weightPFOTool |
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_vertexContainer_key {this, "VertexContainer", "PrimaryVertices", "Input vertex container"} |
| Retrieval tool. More...
|
|
SG::ReadHandleKey< xAOD::FlowElementContainer > | m_pfoContainer_key {this, "GlobalChargedParticleFlowObjects", "GlobalChargedParticleFlowObjects", "Input charged PFO"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_corrP4_ptKey {this, "m_corrP4_ptKey", "GlobalChargedParticleFlowObjects.DFCommonPFlow_CaloCorrectedPt", "Decoration for weighted charged PFO pt"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_z0Key {this, "m_z0Key", "GlobalChargedParticleFlowObjects.DFCommonPFlow_z0", "Decoration for track z0"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_vzKey {this, "m_vzKey","GlobalChargedParticleFlowObjects.DFCommonPFlow_vz", "Decoration for track vz"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_d0Key {this, "m_d0Key","GlobalChargedParticleFlowObjects.DFCommonPFlow_d0", "Decoration for track d0"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_thetaKey {this, "m_thetaKey","GlobalChargedParticleFlowObjects.DFCommonPFlow_theta", "Decoration for track theta"} |
|
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_envWeightKey {this, "m_envWeightKey","GlobalChargedParticleFlowObjects.DFCommonPFlow_envWeight", "Decoration for weight for dense environments"} |
|
Definition at line 29 of file PFlowAugmentationTool.h.
◆ PFlowAugmentationTool()
DerivationFramework::PFlowAugmentationTool::PFlowAugmentationTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::PFlowAugmentationTool::addBranches |
( |
| ) |
const |
|
virtual |
Definition at line 46 of file PFlowAugmentationTool.cxx.
53 if (!vertexContainer.isValid()){
56 return StatusCode::FAILURE;
58 auto pvcont = vertexContainer.cptr();
59 if ( pvcont == 0 || pvcont->size()==0 ) {
61 return StatusCode::FAILURE;
63 for (
const auto vx : *pvcont) {
73 ATH_MSG_DEBUG(
"Could not find a primary vertex in this event" );
74 for (
auto theVertex : *pvcont) {
93 if (!pfoContainer.isValid()){
96 return StatusCode::FAILURE;
98 auto cpfos = pfoContainer.cptr();
112 dec_z0(*cpfo) = ptrk->
z0();
113 dec_vz(*cpfo) = ptrk->
vz();
114 dec_d0(*cpfo) = ptrk->
d0();
115 dec_theta(*cpfo) = ptrk->
theta();
120 if(accIsInDE.isAvailable(*cpfo)){
125 dec_corrP4_pt(*cpfo) =
weight*cpfo->pt();
126 dec_envWeight(*cpfo) =
weight;
129 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::PFlowAugmentationTool::finalize |
( |
| ) |
|
◆ initialize()
StatusCode DerivationFramework::PFlowAugmentationTool::initialize |
( |
| ) |
|
◆ m_corrP4_ptKey
◆ m_d0Key
◆ m_envWeightKey
◆ m_pfoContainer_key
◆ m_thetaKey
◆ m_vertexContainer_key
◆ m_vzKey
◆ m_weightPFOTool
ToolHandle<CP::IWeightPFOTool> DerivationFramework::PFlowAugmentationTool::m_weightPFOTool |
|
private |
◆ m_z0Key
The documentation for this class was generated from the following files:
float vz() const
The z origin for the parameters.
Class describing a TrackParticle.
float theta() const
Returns the parameter, which has range 0 to .