#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 EventContext & |
ctx | ) |
const |
|
virtual |
Definition at line 46 of file PFlowAugmentationTool.cxx.
52 if (!vertexContainer.isValid()){
55 return StatusCode::FAILURE;
57 auto pvcont = vertexContainer.cptr();
58 if ( pvcont == 0 || pvcont->size()==0 ) {
60 return StatusCode::FAILURE;
62 for (
const auto vx : *pvcont) {
72 ATH_MSG_DEBUG(
"Could not find a primary vertex in this event" );
73 for (
auto theVertex : *pvcont) {
92 if (!pfoContainer.isValid()){
95 return StatusCode::FAILURE;
97 auto cpfos = pfoContainer.cptr();
111 dec_z0(*cpfo) = ptrk->
z0();
112 dec_vz(*cpfo) = ptrk->
vz();
113 dec_d0(*cpfo) = ptrk->
d0();
114 dec_theta(*cpfo) = ptrk->
theta();
119 if(accIsInDE.isAvailable(*cpfo)){
124 dec_corrP4_pt(*cpfo) =
weight*cpfo->pt();
125 dec_envWeight(*cpfo) =
weight;
128 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 .