#include <IsGenNonInteracting.h>
Definition at line 18 of file IsGenNonInteracting.h.
◆ IsGenNonInteracting()
| IsGenNonInteracting::IsGenNonInteracting |
( |
| ) |
|
◆ create()
◆ operator()() [1/2]
| bool IsGenNonInteracting::operator() |
( |
const Particle & | p | ) |
const |
|
virtual |
◆ operator()() [2/2]
| bool IsGenNonInteracting::operator() |
( |
const Particle *const | p | ) |
const |
|
virtual |
Implements GenIMCselector.
Definition at line 13 of file IsGenNonInteracting.cxx.
13 {
14 return (
abs( p->pdg_id() ) == 12 ||
abs( p->pdg_id() ) == 14 ||
abs( p->pdg_id() ) == 16 ||
15 (
abs( p->pdg_id() ) == 1000039 && p->status() % 1000 == 1 ) ||
16 (
abs( p->pdg_id() ) == 1000022 && p->status() % 1000 == 1 ) )
17 ? true
18 : false;
19}
Referenced by operator()().
The documentation for this class was generated from the following files: