BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
IsGenNonInteracting Class Reference

#include <IsGenNonInteracting.h>

+ Inheritance diagram for IsGenNonInteracting:

Public Member Functions

 IsGenNonInteracting ()
 
GenIMCselectorcreate () const
 
virtual bool operator() (const Particle *const p) const
 
virtual bool operator() (const Particle &p) const
 
- Public Member Functions inherited from GenIMCselector
virtual GenIMCselectorcreate () const =0
 
virtual bool operator() (const Particle *const) const =0
 
bool operator() (const Particle &p)
 
virtual ~GenIMCselector ()
 

Detailed Description

Definition at line 19 of file IsGenNonInteracting.h.

Constructor & Destructor Documentation

◆ IsGenNonInteracting()

IsGenNonInteracting::IsGenNonInteracting ( )

Definition at line 11 of file IsGenNonInteracting.cxx.

11{}

Referenced by create().

Member Function Documentation

◆ create()

GenIMCselector * IsGenNonInteracting::create ( ) const
virtual

Implements GenIMCselector.

Definition at line 23 of file IsGenNonInteracting.cxx.

23{return new IsGenNonInteracting(*this);}

◆ operator()() [1/2]

bool IsGenNonInteracting::operator() ( const Particle p) const
virtual

Definition at line 20 of file IsGenNonInteracting.cxx.

20 {
21 return this->operator()(&p);
22 }
virtual bool operator()(const Particle *const p) const

◆ 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
15 || abs(p->pdg_id())==16 ||
16 (abs(p->pdg_id())==1000039 && p->status()%1000==1 ) ||
17 (abs(p->pdg_id())==1000022 && p->status()%1000==1 ) ) ? true:false;
18 }

Referenced by operator()().


The documentation for this class was generated from the following files: