IsGenInteracting Class Reference

#include <IsGenInteracting.h>

Inheritance diagram for IsGenInteracting:

GenIMCselector List of all members.

Public Member Functions

 IsGenInteracting ()
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 IsGenInteracting.h.


Constructor & Destructor Documentation

IsGenInteracting::IsGenInteracting (  ) 

Definition at line 11 of file IsGenInteracting.cxx.

Referenced by create().

00011 {}


Member Function Documentation

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

Implements GenIMCselector.

Definition at line 26 of file IsGenInteracting.cxx.

References IsGenInteracting().

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

Definition at line 23 of file IsGenInteracting.cxx.

References operator()().

00023                                                               {
00024     return this->operator()(&p);
00025   } 

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

Implements GenIMCselector.

Definition at line 13 of file IsGenInteracting.cxx.

References abs.

Referenced by operator()().

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


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