Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:28

0001 // -*- C++ -*-
0002 //
0003 // StandardSelectors.h is a part of Herwig - A multi-purpose Monte Carlo event generator
0004 // Copyright (C) 2002-2019 The Herwig Collaboration
0005 //
0006 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef HERWIG_StandardSelectors_H
0010 #define HERWIG_StandardSelectors_H
0011 
0012 /**
0013  * This file contains declarations of
0014  * standard selector classes for Herwig in addition to those of ThePEG.
0015  * The classes contain only static
0016  * functions and are assumed to be used as template arguments to the
0017  * ParticleSelector class.
0018  */
0019 
0020 #include "ThePEG/EventRecord/SelectorBase.h"
0021 #include "ThePEG/EventRecord/Particle.h"
0022 #include "ThePEG/EventRecord/ParticleTraits.h"
0023 
0024 namespace Herwig {
0025 using namespace ThePEG;
0026 
0027 /**
0028  *  Selector to select weakly decaying B hadrons
0029  */
0030 struct WeakBHadronSelector: public SelectorBase {
0031 
0032   /**
0033    * Return true if the particle should be extracted.
0034    */
0035   virtual bool check(const Particle &  p) const;
0036 
0037 };
0038 }
0039 
0040 #endif /* HERWIG_StandardSelectors_H */