9 #ifndef ThePEG_Matcher_H
10 #define ThePEG_Matcher_H
13 #include "MatcherBase.h"
44 static PMPtr Create(
const string & newName,
string antiName);
113 template <
typename T>
122 template <
typename T>
123 struct ClassTraits< Matcher<T> >:
public ClassTraitsBase< Matcher<T> > {
126 return "ThePEG::Matcher<" + T::className() +
">";
134 #ifndef ThePEG_TEMPLATES_IN_CC_FILE
135 #include "Matcher.tcc"
ClassTraitsType is an empty, non-polymorphic, base class.
virtual IBPtr clone() const
Make a simple clone of this object.
MatcherBase is an abstract base class to be used for objects representing groups of ParticleData obje...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
This is the main namespace within which all identifiers in ThePEG are declared.
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
MatcherType is an empty non-polymorphic base class for all matcher classes to be used as template arg...
static void setCC(tPMPtr pm, tPMPtr apm)
Set antipartner.
Matcher is a templated class inheriting from MatcherBase.
RCPtr is a reference counted (smart) pointer.
virtual ~Matcher()
Destructor.
virtual PMPtr pmclone() const
Create and clone Matcher objects.
static void setCC(tPMPtr pm, tPMPtr apm)
Set antipartner.
static string className()
Return the name of class T.
virtual bool check(const ParticleData &pd) const
Virtual function overriding the one in MatcherBase.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
static bool Check(const ParticleData &pd)
Static check function.
static NoPIOClassDescription< Matcher< T > > initMatcher
The static object used to initialize the description of this class.
static PMPtr Create(const string &newName, string antiName)
Create and clone Matcher objects.
BaseClassTraits describes the base classes of the templated class.