00001 //************************************************************************* 00002 //* * 00003 //* class IsFinalState ** 00004 //* * 00005 //* this predicate returns true if the input has no decay vertex * 00006 //* i.e. the particle belongs to the final state. * 00007 //* * 00008 //************************************************************************* 00009 #ifndef HEPMCHELPER_ISFINALSTATE_H 00010 #define HEPMCHELPER_ISFINALSTATE_H 00011 00012 #ifndef HEPMCHELPER_IMCSELECTOR_H 00013 #include "AtlfastUtils/HepMC_helper/IMCselector.h" 00014 #endif 00015 00016 //#ifndef HEPMCHELPER_STATUSXX_H 00017 //#include "AtlfastUtils/HepMC_helper/IsStatusxx.h" 00018 //#endif 00019 00020 namespace HepMC_helper{ 00021 class IsFinalState: public IMCselector { 00022 00023 public: 00024 IsFinalState(); 00025 IMCselector* create() const; 00026 virtual bool operator()( const Particle* const p )const; 00027 virtual bool operator()( const Particle& p ) const; 00028 private: 00029 // IsStatusxx m_status; 00030 }; 00031 } 00032 #endif