thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::BlobDiagram Class Reference

The BlobDiagram class inherits from DiagramBase and represents a general Feynman diagram of which no further substructure is assumed. More...

#include <BlobDiagram.h>

Inheritance diagram for ThePEG::BlobDiagram:

Public Types

typedef cPDVector::size_type size_type
 The integer type reresenting vector sizes.
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 

Public Member Functions

Standard constructors and destructors.
 BlobDiagram ()
 Default constructor.
 
 BlobDiagram (int id, tcPDPtr first, tcPDPtr second)
 Constructor specifiying incoming partons.
 
 ~BlobDiagram ()
 Destructor.
 
BlobDiagramoperator, (PDPtr pd)
 Add a space- or time-like parton.
 
BlobDiagramoperator, (cPDPtr pd)
 Add a space- or time-like parton.
 
BlobDiagramoperator, (tPDPtr pd)
 Add a space- or time-like parton.
 
BlobDiagramoperator, (tcPDPtr pd)
 Add a space- or time-like parton.
 
virtual tPVector construct (SubProPtr sb, const StandardXComb &, const ColourLines &) const
 Construct a sub process corresponding to this diagram.
 
tcPDPair incoming () const
 Return the types of the incoming partons.
 
tcPDVector outgoing () const
 Return the outgoing parton types of this tree diagram.
 
tcPDVector external () const
 Return the incoming followed by the outgoing parton types of this tree diagram.
 
size_type nOutgoing () const
 Return the number of outgoing partons.
 
- Public Member Functions inherited from ThePEG::DiagramBase
 DiagramBase ()
 Default constructor.
 
virtual ~DiagramBase ()
 Destructor.
 
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.
 
int nIncoming () const
 Return the number of incoming partons for this diagram.
 
const cPDVectorpartons () const
 Return the incoming, followed by the outgoing partons for this diagram.
 
int id () const
 Return the id number of this diagram.
 
string getTag () const
 Generate a tag which is unique for diagrams with the same type of incoming and outgoing partons.
 
virtual bool isSame (tcDiagPtr other) const
 Compare this diagram to another one modulo the ids of the diagrams.
 
- Public Member Functions inherited from ThePEG::Base
virtual ~Base ()
 The virtual destructor.
 
void debug () const
 Print out debugging information for this object on std::cerr.
 
virtual void debugme () const
 Print out debugging information for this object on std::cerr.
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 Return the reference count.
 

Functions used by the persistent I/O system.

static ClassDescription< BlobDiagraminitBlobDiagram
 Describe a concrete class with persistent data.
 
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.
 
BlobDiagramoperator= (const BlobDiagram &)=delete
 Private and non-existent assignment operator.
 

Additional Inherited Members

- Static Public Member Functions inherited from ThePEG::DiagramBase
static void Init ()
 Standard Init function.
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 The unique ID.
 
- Protected Member Functions inherited from ThePEG::DiagramBase
void partons (int ninc, const cPDVector &parts, int newId)
 To be used by sub classes to report the incoming and outgoing particle types, and an id number.
 
void diagramInfo (int ninc, int newId)
 Complete the missing information, provided partons() has already been filled.
 
bool done () const
 Returns true if the partons(int, const cPDVector &, int) function has been called properly from the sub class.
 
void addParton (tcPDPtr pd)
 Add to the partons.
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted ()
 Default constructor.
 
 ReferenceCounted (const ReferenceCounted &)
 Copy-constructor.
 
ReferenceCountedoperator= (const ReferenceCounted &)
 Assignment.
 

Detailed Description

The BlobDiagram class inherits from DiagramBase and represents a general Feynman diagram of which no further substructure is assumed.

See also
DiagramBase
ColourLines

Definition at line 27 of file BlobDiagram.h.

Member Typedef Documentation

◆ size_type

typedef cPDVector::size_type ThePEG::BlobDiagram::size_type

The integer type reresenting vector sizes.

Definition at line 32 of file BlobDiagram.h.

Constructor & Destructor Documentation

◆ BlobDiagram() [1/2]

ThePEG::BlobDiagram::BlobDiagram ( )
inline

Default constructor.

Definition at line 41 of file BlobDiagram.h.

◆ BlobDiagram() [2/2]

ThePEG::BlobDiagram::BlobDiagram ( int  id,
tcPDPtr  first,
tcPDPtr  second 
)
inline

Constructor specifiying incoming partons.

Definition at line 47 of file BlobDiagram.h.

References ThePEG::DiagramBase::addParton(), and ThePEG::DiagramBase::diagramInfo().

Member Function Documentation

◆ construct()

virtual tPVector ThePEG::BlobDiagram::construct ( SubProPtr  sb,
const StandardXComb ,
const ColourLines  
) const
virtual

Construct a sub process corresponding to this diagram.

The incoming partons, and the momenta of the outgoing ones, are given by the XComb object. All parent/children pointers should be set correspondingly and the partons should be colour connected as specified by the ColourLines object.

Implements ThePEG::DiagramBase.

◆ external()

tcPDVector ThePEG::BlobDiagram::external ( ) const
inline

Return the incoming followed by the outgoing parton types of this tree diagram.

Definition at line 110 of file BlobDiagram.h.

References ThePEG::DiagramBase::partons().

◆ incoming()

tcPDPair ThePEG::BlobDiagram::incoming ( ) const
inline

Return the types of the incoming partons.

Definition at line 95 of file BlobDiagram.h.

References ThePEG::DiagramBase::partons().

◆ nOutgoing()

size_type ThePEG::BlobDiagram::nOutgoing ( ) const
inline

Return the number of outgoing partons.

Definition at line 117 of file BlobDiagram.h.

References ThePEG::DiagramBase::partons().

◆ operator,() [1/4]

BlobDiagram & ThePEG::BlobDiagram::operator, ( cPDPtr  pd)
inline

Add a space- or time-like parton.

Definition at line 70 of file BlobDiagram.h.

References ThePEG::DiagramBase::addParton().

◆ operator,() [2/4]

BlobDiagram & ThePEG::BlobDiagram::operator, ( PDPtr  pd)
inline

Add a space- or time-like parton.

Definition at line 65 of file BlobDiagram.h.

References ThePEG::DiagramBase::addParton().

◆ operator,() [3/4]

BlobDiagram & ThePEG::BlobDiagram::operator, ( tcPDPtr  pd)
inline

Add a space- or time-like parton.

Definition at line 80 of file BlobDiagram.h.

References ThePEG::DiagramBase::addParton().

◆ operator,() [4/4]

BlobDiagram & ThePEG::BlobDiagram::operator, ( tPDPtr  pd)
inline

Add a space- or time-like parton.

Definition at line 75 of file BlobDiagram.h.

References ThePEG::DiagramBase::addParton().

◆ outgoing()

tcPDVector ThePEG::BlobDiagram::outgoing ( ) const
inline

Return the outgoing parton types of this tree diagram.

Definition at line 102 of file BlobDiagram.h.

References ThePEG::DiagramBase::partons().

◆ persistentInput()

void ThePEG::BlobDiagram::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 ThePEG::BlobDiagram::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ initBlobDiagram

ClassDescription<BlobDiagram> ThePEG::BlobDiagram::initBlobDiagram
staticprivate

Describe a concrete class with persistent data.

Definition at line 142 of file BlobDiagram.h.


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