IsGenStable Class Reference

#include <IsGenStable.h>

Inheritance diagram for IsGenStable:

GenIMCselector List of all members.

Public Member Functions

 IsGenStable ()
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 18 of file IsGenStable.h.


Constructor & Destructor Documentation

IsGenStable::IsGenStable (  ) 

Definition at line 11 of file IsGenStable.cxx.

Referenced by create().

00011 {}


Member Function Documentation

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

Implements GenIMCselector.

Definition at line 20 of file IsGenStable.cxx.

References IsGenStable().

00020 {return new IsGenStable(*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 IsGenStable::operator() ( const Particle p  )  const [virtual]

Definition at line 17 of file IsGenStable.cxx.

References operator()().

00017                                                          {
00018     return this->operator()(&p);
00019   } 

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

Implements GenIMCselector.

Definition at line 13 of file IsGenStable.cxx.

Referenced by operator()().

00013                                                               {
00014     return ( ((p->status()%1000 == 1) || (p->status()%1000 == 2 && p->status() > 1000)) &&
00015  (p->barcode()<100000)  ) ? true:false;    
00016   }


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