IsGenNonInteracting Class Reference

#include <IsGenNonInteracting.h>

Inheritance diagram for IsGenNonInteracting:

GenIMCselector List of all members.

Public Member Functions

 IsGenNonInteracting ()
GenIMCselectorcreate () const
virtual bool operator() (const Particle *const p) const
virtual bool operator() (const Particle &p) const
bool operator() (const Particle &p)

Detailed Description

Definition at line 19 of file IsGenNonInteracting.h.


Constructor & Destructor Documentation

IsGenNonInteracting::IsGenNonInteracting (  ) 

Definition at line 11 of file IsGenNonInteracting.cxx.

Referenced by create().

00011 {}


Member Function Documentation

GenIMCselector * IsGenNonInteracting::create (  )  const [virtual]

Implements GenIMCselector.

Definition at line 23 of file IsGenNonInteracting.cxx.

References IsGenNonInteracting().

00023 {return new IsGenNonInteracting(*this);}

bool GenIMCselector::operator() ( const Particle p  )  [inline, inherited]

Definition at line 26 of file GenIMCselector.h.

References GenIMCselector::operator()().

00026 {return this->operator()(&p);} 

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

Definition at line 20 of file IsGenNonInteracting.cxx.

References operator()().

00020                                                                  {
00021     return this->operator()(&p);
00022   } 

bool IsGenNonInteracting::operator() ( const Particle *const   p  )  const [virtual]

Implements GenIMCselector.

Definition at line 13 of file IsGenNonInteracting.cxx.

References abs.

Referenced by operator()().

00013                                                                      {
00014     return (abs(p->pdg_id())==12 || abs(p->pdg_id())==14 
00015             || abs(p->pdg_id())==16 ||
00016             (abs(p->pdg_id())==1000039 &&  p->status()%1000==1 ) ||
00017             (abs(p->pdg_id())==1000022 &&  p->status()%1000==1 ) ) ? true:false;
00018  }


Generated on Tue Nov 29 23:19:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7