IsGenerator Class Reference

#include <IsGenerator.h>

Inheritance diagram for IsGenerator:

GenIMCselector List of all members.

Public Member Functions

 IsGenerator ()
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 16 of file IsGenerator.h.


Constructor & Destructor Documentation

IsGenerator::IsGenerator (  ) 

Definition at line 11 of file IsGenerator.cxx.

Referenced by create().

00011 {}


Member Function Documentation

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

Implements GenIMCselector.

Definition at line 23 of file IsGenerator.cxx.

References IsGenerator().

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

Definition at line 20 of file IsGenerator.cxx.

References operator()().

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

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

Implements GenIMCselector.

Definition at line 13 of file IsGenerator.cxx.

Referenced by operator()().

00013                                                               {
00014     return ( p->barcode() < 100000 && ( p->status()<200 ||
00015                                         p->status()%1000 == 1 || 
00016                                         p->status()%1000 == 2  ) ) ? true:false;
00017     // conforms to PDG standard and accomodates the generated partilces that are copied to kine
00018   }


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