ThePEG  1.8.0
StandardSelectors.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // StandardSelectors.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_StandardSelectors_H
10 #define ThePEG_StandardSelectors_H
11 
19 #include "SelectorBase.h"
20 #include "ParticleTraits.h"
21 
22 namespace ThePEG {
23 
30 struct AllSelector: public SelectorBase {
31 
36  static bool Check(const Particle &) { return true; }
37 
42  static bool Intermediate() { return true; }
43 
48  static bool FinalState() { return true; }
49 
54  static bool AllSteps() { return true; }
55 
60  static bool AllCollisions() { return true; }
61 
62 };
63 
67 
68 
77 
82  static bool Intermediate() { return false; }
83 
88  static bool AllSteps() { return false; }
89 
90 };
91 
95 
104 
109  static bool Check(const Particle &) { return true; }
110 
115  static bool Intermediate() { return true; }
116 
121  static bool FinalState() { return false; }
122 
127  static bool AllSteps() { return true; }
128 
133  static bool AllCollisions() { return true; }
134 
135 };
136 
140 
149 
154  static bool Check(const Particle &) { return true; }
155 
160  static bool Intermediate() { return true; }
161 
166  static bool FinalState() { return true; }
167 
172  static bool AllSteps() { return true; }
173 
178  static bool AllCollisions() { return false; }
179 
180 };
181 
185 
194 
199  static bool Check(const Particle & p) {
201  }
202 
203 };
204 
208 
209 }
210 
211 #endif /* ThePEG_StandardSelectors_H */