herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::MissingPtCut Class Reference

MissingPtCut implements a cut on the total missing transverse momentum of a set of outgoing particles, i.e. for now the total transverse momentum of all outgoing neutrinos in an event. More...

#include <MissingPtCut.h>

Inheritance diagram for Herwig::MissingPtCut:

Public Member Functions

 MissingPtCut ()
 The default constructor.
 
Virtual functions to be overridden by sub-classes.
virtual Energy2 minS (const tcPDVector) const
 Return the minimum allowed value of the squared invariant mass of a set of outgoing partons of the given types.
 
virtual Energy2 maxS (const tcPDVector) const
 Return the maximum allowed value of the squared invariant mass of a set of outgoing partons of the given types.
 
virtual bool passCuts (tcCutsPtr parent, const tcPDVector &ptype, const vector< LorentzMomentum > &p) const
 Return true if a set of outgoing particles with type ptype and corresponding momenta p passes the cuts.
 
virtual void describe () const
 Describe the currently active cuts in the log file.
 
Ptr< MatcherBase >::tptr matcher () const
 Return the matcher for particles to cut on.
 
const vector< int > & invisibleParticles () const
 Return the PDG codes of those particles that cannot be detected.
 
string doInvisibleParticles (string)
 Command to insert the PDG code of a particle that cannot be detected.
 
Energy ptMissMin () const
 Return the minimum missing pt.
 
Energy ptMissMax () const
 Return the maximum missing pt.
 
- Public Member Functions inherited from ThePEG::MultiCutBase
virtual Energy2 minS (const tcPDVector &pv) const
 
virtual Energy2 maxS (const tcPDVector &pv) const
 
virtual bool passCuts (tcCutsPtr parent, const tcPDVector &ptype, const vector< LorentzMomentum > &p) const
 
bool passCuts (tcCutsPtr parent, const tcPVector &p) const
 
virtual void describe () const
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Clone Methods.

vector< int > theInvisibleParticles
 The PDG codes of those particles that cannot be detected.
 
Energy thePtMissMin
 The minimum missing pt.
 
Energy thePtMissMax
 The maximum missing pt.
 
Ptr< MatcherBase >::ptr theMatcher
 A matcher for particles to cut on.
 
virtual IBPtr clone () const
 Make a simple clone of this object.
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
 
MissingPtCutoperator= (const MissingPtCut &)=delete
 The assignment operator is private and must never be called.
 

Functions used by the persistent I/O system.

void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
static void Init ()
 The standard Init function used to initialize the interfaces.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Static Public Member Functions inherited from ThePEG::MultiCutBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

MissingPtCut implements a cut on the total missing transverse momentum of a set of outgoing particles, i.e. for now the total transverse momentum of all outgoing neutrinos in an event.

Author
Christian Reuschle
See also
The interfaces defined for MissingPtCut.

Definition at line 31 of file MissingPtCut.h.

Member Function Documentation

◆ clone()

virtual IBPtr Herwig::MissingPtCut::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ describe()

virtual void Herwig::MissingPtCut::describe ( ) const
virtual

Describe the currently active cuts in the log file.

Reimplemented from ThePEG::MultiCutBase.

◆ fullclone()

virtual IBPtr Herwig::MissingPtCut::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

◆ Init()

static void Herwig::MissingPtCut::Init ( )
static

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

◆ invisibleParticles()

const vector< int > & Herwig::MissingPtCut::invisibleParticles ( ) const
inline

Return the PDG codes of those particles that cannot be detected.

Definition at line 81 of file MissingPtCut.h.

References theInvisibleParticles.

◆ matcher()

Ptr< MatcherBase >::tptr Herwig::MissingPtCut::matcher ( ) const
inline

Return the matcher for particles to cut on.

Definition at line 73 of file MissingPtCut.h.

References theMatcher.

◆ maxS()

virtual Energy2 Herwig::MissingPtCut::maxS ( const  tcPDVector) const
inlinevirtual

Return the maximum allowed value of the squared invariant mass of a set of outgoing partons of the given types.

Typically used to cut off the tails of the mass of a resonance for efficiency.

Definition at line 56 of file MissingPtCut.h.

References ThePEG::Constants::MaxEnergy2.

◆ minS()

virtual Energy2 Herwig::MissingPtCut::minS ( const  tcPDVector) const
inlinevirtual

Return the minimum allowed value of the squared invariant mass of a set of outgoing partons of the given types.

Typically used to cut off the tails of the mass of a resonance for efficiency.

Definition at line 49 of file MissingPtCut.h.

References ThePEG::ZERO.

◆ operator=()

MissingPtCut & Herwig::MissingPtCut::operator= ( const MissingPtCut )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ passCuts()

virtual bool Herwig::MissingPtCut::passCuts ( tcCutsPtr  parent,
const tcPDVector ptype,
const vector< LorentzMomentum > &  p 
) const
virtual

Return true if a set of outgoing particles with type ptype and corresponding momenta p passes the cuts.

Reimplemented from ThePEG::MultiCutBase.

◆ persistentInput()

void Herwig::MissingPtCut::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::MissingPtCut::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ ptMissMax()

Energy Herwig::MissingPtCut::ptMissMax ( ) const
inline

Return the maximum missing pt.

Definition at line 96 of file MissingPtCut.h.

References thePtMissMax.

◆ ptMissMin()

Energy Herwig::MissingPtCut::ptMissMin ( ) const
inline

Return the minimum missing pt.

Definition at line 91 of file MissingPtCut.h.

References thePtMissMin.

Member Data Documentation

◆ theInvisibleParticles

vector<int> Herwig::MissingPtCut::theInvisibleParticles
private

The PDG codes of those particles that cannot be detected.

Definition at line 151 of file MissingPtCut.h.

Referenced by invisibleParticles().

◆ theMatcher

Ptr<MatcherBase>::ptr Herwig::MissingPtCut::theMatcher
private

A matcher for particles to cut on.

Definition at line 166 of file MissingPtCut.h.

Referenced by matcher().

◆ thePtMissMax

Energy Herwig::MissingPtCut::thePtMissMax
private

The maximum missing pt.

Definition at line 161 of file MissingPtCut.h.

Referenced by ptMissMax().

◆ thePtMissMin

Energy Herwig::MissingPtCut::thePtMissMin
private

The minimum missing pt.

Definition at line 156 of file MissingPtCut.h.

Referenced by ptMissMin().


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