10 #ifndef ThePEG_StdDependentXComb_H
11 #define ThePEG_StdDependentXComb_H
14 #include "StandardXComb.h"
15 #include "StdDependentXComb.fh"
43 const PBPair & newPartonBins, tMEPtr newME,
109 virtual void select(
double weight) {
head()->select(weight); }
121 virtual void reject(
double weight = 1.0) {
head()->reject(weight); }
190 struct ClassTraits<StdDependentXComb>:
191 public ClassTraitsBase<StdDependentXComb> {
193 static string className() {
return "ThePEG::StdDependentXComb"; }
void remakeIncoming()
Indicate that information on incoming partons has to be collected.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual void accept()
Accept the current event assuming it was previously selcted.
bool resetIncoming
Wether or not we have to reset the incoming partons.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
The StdDependentXComb class inherits from the StandardXComb class and represents information on a har...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
tStdXCombPtr head() const
Return a pointer to the head XComb this XComb depends on.
virtual tSubProPtr construct()
Construct a sub-process object from the information available.
This is the main namespace within which all identifiers in ThePEG are declared.
StdDependentXComb & operator=(const StdDependentXComb &)
Private and non-existent assignment operator.
static void Init()
Standard Init function used to initialize the interface.
void setPartonBinInstances(Energy2 scale=ZERO)
Properly setup the PartonBinInstance objects provided a sub process has been constructed using this X...
static ClassDescription< StdDependentXComb > initStdDependentXComb
Describe a concrete class with persistent data.
CrossSection dSigDR()
Return the cross section differential in the variables previously supplied.
virtual ~StdDependentXComb()
Destructor.
MEBase::DiagramVector DiagramVector
A vector of DiagramBase objects.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
void setProcess()
Set the process as selected by the dependent matrix element.
The StandardXComb class inherits from the more general XComb class which stores all information about...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
StdDependentXComb()
Default constructor.
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
virtual void select(double weight)
Select the current event.
virtual void reject(double weight=1.0)
Reject the current event assuming it was previously accepted.
void setIncomingPartons()
Setup information on incoming partons depending on the information previously supplied through the ch...
virtual const XSecStat & stats() const
The statistics object for this XComb.
static string className()
Return the name of class T.
This template class allows the compiler to check calculations with physical quantities for dimensiona...
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
The MEBase class is the base class of all objects representing hard matrix elements in ThePEG...
BaseClassTraits describes the base classes of the templated class.
XSecStat is a concrete helper class used to collect statistics about the cross section for a specific...
virtual void reset()
Reset statistics.