9 #ifndef THEPEG_V2LeptonsCut_H 10 #define THEPEG_V2LeptonsCut_H 15 #include "ThePEG/Cuts/MultiCutBase.h" 88 const vector<LorentzMomentum> & p)
const;
106 int family(
long id)
const;
203 #include "ThePEG/Utilities/ClassTraits.h" 223 static string className() {
return "ThePEG::V2LeptonsCut"; }
227 static string library() {
return "V2LeptonsCut.so"; }
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
V2LeptonsCut()
The default constructor.
static void Init()
The standard Init function used to initialize the interfaces.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
negative lepton anti-neutrino pair.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
vector< tcPDPtr > tcPDVector
A vector of transient pointers to const ParticleData objects.
int theFamilies
Integer corresponding to the lepton families to match.
virtual ~V2LeptonsCut()
The destructor.
This is the main namespace within which all identifiers in ThePEG are declared.
Energy theMaxM
The maximum invariant mass.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
positive lepton anti-neutrino pair.
QTY< 0, 1, 0 >::Type Energy
Energy.
static ClassDescription< V2LeptonsCut > initV2LeptonsCut
The static object used to initialize the description of this class.
CComb
Enumeration of charge combinations.
virtual IBPtr clone() const
Make a simple clone of this object.
This class inherits from MultiCutBase and describes cuts on the invariant mass of two final state lep...
Energy theMinM
The minimum invariant mass.
virtual bool passCuts(tcCutsPtr parent, const tcPDVector &ptype, const vector< LorentzMomentum > &p) const
Return true if a set of outgoing particles with typea ptype and corresponding momenta p passes the cu...
V2LeptonsCut & operator=(const V2LeptonsCut &)
The assignment operator is private and must never be called.
int family(long id) const
Check the family of the given PDG id number.
Energy maxMinM() const
Helper function used by the interface.
charged lepton anti-lepton pair.
virtual void describe() const
Describe the currently active cuts in the log file.
neutrino anti-neutrino pair.
RCPtr is a reference counted (smart) pointer.
This class corresponds to a kinematical cut to be made on a set of outgoing particles from a hard sub...
Energy minMaxM() const
Helper function used by the interface.
The default concrete implementation of ClassTraitsBase.
bool checkTypes(long id1, long id2) const
Check if the PDG id numbers matches this cut.
BaseClassTraits describes the base classes of the templated class.
virtual Energy2 minS(const tcPDVector &pv) const
Return the minimum allowed value of the squared invariant mass of a set of outgoing partons of the gi...
virtual Energy2 maxS(const tcPDVector &pv) const
Return the maximum allowed value of the squared invariant mass of a set of outgoing partons of the gi...
int theCComb
Integer corresponding to the charge combination to match.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Family
Enumeration of the different families.