File: CombinedMatcher.h
This is the declaration of the AndMatcher,
OrMatcher and NotMatcher class which
represent boolean operations on classes of type
MatcherBase.
See
also:
namespace Pythia7
template <class T1, class T2>
STRUCT
AndMatcher
Public members:
Matcher for all particles matched by both T1 and T2.
typedef AndMatcher<typename T1::CC, typename T2::CC> CC;
inline static bool Check(const ParticleData & pd) {
return T1::Check(pd) && T2::Check(pd);
template <class T1, class T2>
STRUCT
OrMatcher
Public members:
Matcher for all particles matched by either T1 or T2.
typedef OrMatcher<typename T1::CC, typename T2::CC> CC;
inline static bool Check(const ParticleData & pd) {
return T1::Check(pd) || T2::Check(pd);
template <class T>
STRUCT
NotMatcher
Public members:
Matcher for all particles not matched by T.
typedef NotMatcher<typename T::CC> CC;
inline static bool Check(const ParticleData & pd) {
return !T::Check(pd);
DEFINED MACROS
PYTHIA7_CombinedMatcher_H
INCLUDED FILES