fix duplicate definition error in ParticleJetTools/CopyTruthJetParticles.h
Hopefully very straightforward: If/When the header gets included more than once then there are multiple definitions. Making it a local static variable should fix that. This also avoids the awkwardness of having a global variable named `metaDataFlag`, which seems like a really bad name for a global variable.
parent
73ca7e17
No related branches found
No related tags found
Showing
- PhysicsAnalysis/AnalysisCommon/ParticleJetTools/ParticleJetTools/CopyTruthJetParticles.h 0 additions, 5 deletions...ParticleJetTools/ParticleJetTools/CopyTruthJetParticles.h
- PhysicsAnalysis/AnalysisCommon/ParticleJetTools/Root/CopyTruthJetParticles.cxx 3 additions, 0 deletions...sisCommon/ParticleJetTools/Root/CopyTruthJetParticles.cxx
Please register or sign in to comment