Skip to content
Snippets Groups Projects
Commit 501cf78e authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'FillESamplingPFO: Make sure to use the non-template version of attribute(),...

'FillESamplingPFO: Make sure to use the non-template version of attribute(), so that compression works properly.' (JetMomentTools-00-03-55)

	* Tagging JetMomentTools-00-03-55.
	* Root/JetCaloEnergies.cxx (FillESamplingPFO): Make sure to use
	the non-template version of attribute(), so that compression works
	properly.


Former-commit-id: 425dfdf0
parent 7de607bd
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ void JetCaloEnergies::fillEperSamplingCluster(xAOD::Jet& jet, std::vector<float>
#define FillESamplingPFO( LAYERNAME ) \
float E_##LAYERNAME = 0.0; \
if (constit->attribute<float>(xAOD::PFODetails::eflowRec_LAYERENERGY_##LAYERNAME, E_##LAYERNAME)) { \
if (constit->attribute(xAOD::PFODetails::eflowRec_LAYERENERGY_##LAYERNAME, E_##LAYERNAME)) { \
ePerSampling[CaloSampling::LAYERNAME] += E_##LAYERNAME; \
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment