#include <PFlowAugmentationTool.h>
|
| PublicToolHandle< CP::IWeightPFOTool > | m_weightPFOTool {this, "WeightPFOTool", "CP::WeightPFOTool/WeightPFOTool"} |
| |
| SG::ReadHandleKey< xAOD::VertexContainer > | m_vertexContainer_key {this, "VertexContainer", "PrimaryVertices", "Input vertex container"} |
| |
| SG::ReadHandleKey< xAOD::FlowElementContainer > | m_pfoContainer_key {this, "GlobalChargedParticleFlowObjects", "GlobalChargedParticleFlowObjects", "Input charged PFO"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_corrP4_ptKey {this, "m_corrP4_ptKey", m_pfoContainer_key, "DFCommonPFlow_CaloCorrectedPt", "Decoration for weighted charged PFO pt"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_z0Key {this, "m_z0Key", m_pfoContainer_key, "DFCommonPFlow_z0", "Decoration for track z0"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_vzKey {this, "m_vzKey", m_pfoContainer_key, "DFCommonPFlow_vz", "Decoration for track vz"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_d0Key {this, "m_d0Key", m_pfoContainer_key, "DFCommonPFlow_d0", "Decoration for track d0"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_thetaKey {this, "m_thetaKey", m_pfoContainer_key, "DFCommonPFlow_theta", "Decoration for track theta"} |
| |
| SG::WriteDecorHandleKey< xAOD::FlowElementContainer > | m_envWeightKey {this, "m_envWeightKey", m_pfoContainer_key, "DFCommonPFlow_envWeight", "Decoration for weight for dense environments"} |
| |
Definition at line 29 of file PFlowAugmentationTool.h.
◆ addBranches()
| StatusCode DerivationFramework::PFlowAugmentationTool::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 32 of file PFlowAugmentationTool.cxx.
38 if (!vertexContainer.isValid()){
41 return StatusCode::FAILURE;
43 auto pvcont = vertexContainer.cptr();
44 if ( pvcont == 0 || pvcont->size()==0 ) {
46 return StatusCode::FAILURE;
48 for (
const auto vx : *pvcont) {
58 ATH_MSG_DEBUG(
"Could not find a primary vertex in this event" );
59 for (
auto theVertex : *pvcont) {
78 if (!pfoContainer.isValid()){
81 return StatusCode::FAILURE;
83 auto cpfos = pfoContainer.cptr();
97 dec_z0(*cpfo) = ptrk->
z0();
98 dec_vz(*cpfo) = ptrk->
vz();
99 dec_d0(*cpfo) = ptrk->
d0();
100 dec_theta(*cpfo) = ptrk->
theta();
105 if(accIsInDE.isAvailable(*cpfo)){
110 dec_corrP4_pt(*cpfo) =
weight*cpfo->pt();
111 dec_envWeight(*cpfo) =
weight;
114 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::PFlowAugmentationTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_corrP4_ptKey
◆ m_d0Key
◆ m_envWeightKey
◆ m_pfoContainer_key
◆ m_thetaKey
◆ m_vertexContainer_key
◆ m_vzKey
◆ m_weightPFOTool
◆ 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 .