00001 //************************************************************************* 00002 //* * 00003 //* class IsFromHardScatter GenParticle Selector * 00004 //* * 00005 //* this predicate returns true if the input is part of the hard scatter * 00006 //* GenEvent * 00007 //* * 00008 //************************************************************************* 00009 #ifndef HEPMCHELPER_ISFROMHARDSCATTER_H 00010 #define HEPMCHELPER_ISFROMHARDSCATTER_H 00011 00012 #ifndef HEPMCHELPER_IMCSELECTOR_H 00013 #include "AtlfastUtils/HepMC_helper/IMCselector.h" 00014 #endif 00015 00016 namespace HepMC_helper{ 00017 class IsFromHardScatter: public IMCselector { 00018 public: 00019 IsFromHardScatter() { } 00020 IMCselector* create() const; 00021 bool operator()( const Particle* const p )const; 00022 bool operator()( const Particle& p ) const; 00023 private: 00024 }; 00025 } 00026 #endif 00027 00028 00029 00030 00031