ThePEG is hosted by Hepforge, IPPP Durham
ThePEG  2.1.0
ThePEG::AndMatcher< T1, T2 > Struct Template Reference

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

#include <CombinedMatcher.h>

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

Public Types

typedef AndMatcher< 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::AndMatcher< T1, T2 >

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

See also
MatcherBase

Definition at line 25 of file CombinedMatcher.h.

Member Function Documentation

◆ Check()

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

Check match.

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

Definition at line 37 of file CombinedMatcher.h.


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