Skip to content
Snippets Groups Projects
Commit c65a487c authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cppcheck.GeneratorFilters-20210924' into 'master'

GeneratorFilters: Suppress cppcheck warning.

See merge request !46731
parents cd40bb95 1c8dbf61
No related branches found
No related tags found
7 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!46731GeneratorFilters: Suppress cppcheck warning.
...@@ -156,6 +156,7 @@ StatusCode TTbarWToLeptonFilter::filterEvent() { ...@@ -156,6 +156,7 @@ StatusCode TTbarWToLeptonFilter::filterEvent() {
HepMC::GenParticle * grandchild_mcpart = (*grandchild_mcpartItr); HepMC::GenParticle * grandchild_mcpart = (*grandchild_mcpartItr);
int grandchild_pid = grandchild_mcpart->pdg_id(); int grandchild_pid = grandchild_mcpart->pdg_id();
// cppcheck-suppress shiftNegative; false positive!
ATH_MSG_DEBUG("W (t/tbar) has " << mcpart_n_particles_out << " children and the pdg_id of the next is " << grandchild_pid); ATH_MSG_DEBUG("W (t/tbar) has " << mcpart_n_particles_out << " children and the pdg_id of the next is " << grandchild_pid);
// Check if the W's child is W again. If yes, then move to its next decay vertex in a decay tree // Check if the W's child is W again. If yes, then move to its next decay vertex in a decay tree
......
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