Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

MCCuts.h

Go to the documentation of this file.
00001 //*************************************************************************
00002 //*                                                                       *
00003 //*                     class MCCuts    GenParticle Selector              *
00004 //*                                                                       *
00005 //*      Min pt, eta cuts                                                 *
00006 //*                                                                       *
00007 //*************************************************************************  
00008 #ifndef HEPMCHELPER_MCCUTS_H
00009 #define HEPMCHELPER_MCCUTS_H
00010 
00011 #ifndef HEPMCHELPER_IMCSELECTOR_H
00012 #include "AtlfastUtils/HepMC_helper/IMCselector.h"
00013 #endif
00014 
00015 namespace HepMC_helper{
00016   class MCCuts: public IMCselector{
00017   public:
00018     MCCuts(double ptMin, double etaMax);
00019     IMCselector* create() const;
00020     
00021     bool operator() ( const Particle* const p )const;
00022     bool operator() ( const Particle& p ) const;
00023   private:
00024     double m_ptMin;
00025     double m_etaMax;
00026   };
00027 }//namespace
00028 #endif
00029 
00030 
00031 

Generated on Wed Jan 15 11:00:29 2003 for AtlfastUtils by doxygen1.3-rc1