Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IsGenerator Class Reference

#include <IsGenerator.h>

Inheritance diagram for IsGenerator:

GenIMCselector List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

IsGenerator::IsGenerator  ) 
 

00011 {}


Member Function Documentation

GenIMCselector * IsGenerator::create  )  const [virtual]
 

Implements GenIMCselector.

00023 {return new IsGenerator(*this);}

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

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

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

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

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

Implements GenIMCselector.

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   }


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:18:49 2011 for BOSS6.5.5 by  doxygen 1.3.9.1