IsCharged.h

Go to the documentation of this file.
00001 //*************************************************************************
00002 //*                                                                       *
00003 //*                     class IsCharged   GenParticle selector            *
00004 //*                                                                       *
00005 //*************************************************************************  
00006 
00007 #ifndef HEPMCHELPER_ISCHARGED_H
00008 #define HEPMCHELPER_ISCHARGED_H
00009 
00010 #ifndef HEPMCHELPER_IMCSELECTOR_H 
00011 #include "AtlfastUtils/HepMC_helper/IMCselector.h"
00012 #endif
00013 
00014 #include "AtlfastEvent/ChargeService.h"
00015 
00016 namespace HepMC_helper{
00017   class IsCharged:public IMCselector{
00018   public:
00019     IsCharged();
00020     IMCselector* create() const;
00021     bool operator() ( const Particle* const p )const;
00022     bool operator() ( const Particle& p ) const;
00023   private:
00024     Atlfast::ChargeService m_chargeService;
00025   };
00026 }
00027 #endif
00028 

Generated on Fri Sep 21 13:20:36 2007 for AtlfastUtils by  doxygen 1.5.1