| 347 | ## PdgCodeFilter |
| 348 | |
| 349 | Removes particles with specific pdg code from given collection. |
| 350 | |
| 351 | - input: |
| 352 | - !InputArray |
| 353 | - output: |
| 354 | - !OutputArray |
| 355 | - parameters: |
| 356 | - PTMin (min pt of particle to be removed) |
| 357 | - !PdgCode (list of pdg codes to be vetoed) |
| 358 | |
| 359 | - Example (to remove neutrinos from stable gen particles): |
| 360 | |
| 361 | {{{ |
| 362 | module PdgCodeFilter NeutrinoFilter { |
| 363 | set InputArray Delphes/stableParticles |
| 364 | set OutputArray filteredParticles |
| 365 | set PTMin 0.0 |
| 366 | add PdgCode {12} |
| 367 | add PdgCode {14} |
| 368 | add PdgCode {16} |
| 369 | add PdgCode {-12} |
| 370 | add PdgCode {-14} |
| 371 | add PdgCode {-16} |
| 372 | } |
| 373 | }}} |
| 374 | |