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