thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::OrMatcher< T1, T2 > Struct Template Reference

The OrMatcher class represents the boolean or operation between its two template argument classes of base type MatcherBase. More...

#include <CombinedMatcher.h>

Inheritance diagram for ThePEG::OrMatcher< T1, T2 >:

Public Types

typedef OrMatcher< typename T1::CC, typename T2::CC > CC
 Typedef for the class representing the matcher for the charge-gonjugate of particles matched by this class.
 

Static Public Member Functions

static bool Check (const ParticleData &pd)
 Check match. More...
 

Detailed Description

template<class T1, class T2>
struct ThePEG::OrMatcher< T1, T2 >

The OrMatcher class represents the boolean or operation between its two template argument classes of base type MatcherBase.

See also
MatcherBase

Definition at line 50 of file CombinedMatcher.h.

Member Function Documentation

◆ Check()

template<class T1 , class T2 >
static bool ThePEG::OrMatcher< T1, T2 >::Check ( const ParticleData pd)
inlinestatic

Check match.

Return true if the particle type pd is matched by this class (ie. by either of the template argument classes).

Definition at line 62 of file CombinedMatcher.h.


The documentation for this struct was generated from the following file: