PYTHIA  8.303
Public Member Functions | List of all members
JetMatchingMadgraphInputAlpgen Class Reference

#include <CombineMatchingInput.h>

Inheritance diagram for JetMatchingMadgraphInputAlpgen:
AlpgenHooks JetMatchingMadgraph UserHooks JetMatching PhysicsBase UserHooks PhysicsBase

Public Member Functions

 JetMatchingMadgraphInputAlpgen (Pythia &pythia)
 Constructor and destructor.
virtual bool initAfterBeams ()
 Initialisation. More...
virtual bool canVetoProcessLevel ()
 Process level vetos.
virtual bool doVetoProcessLevel (Event &proc)
virtual bool canVetoPartonLevelEarly ()
 Parton level vetos (before beam remnants and resonance decays).
virtual bool doVetoPartonLevelEarly (const Event &proc)
- Public Member Functions inherited from AlpgenHooks
 AlpgenHooks (Pythia &pythia)
 Constructor and destructor. More...
bool initAfterBeams ()
 Override initAfterBeams routine from UserHooks. More...
- Public Member Functions inherited from UserHooks
virtual ~UserHooks ()
virtual bool canModifySigma ()
 Possibility to modify cross section of process.
virtual double multiplySigmaBy (const SigmaProcess *sigmaProcessPtr, const PhaseSpace *phaseSpacePtr, bool inEvent)
 Multiplicative factor modifying the cross section of a hard process. More...
virtual bool canBiasSelection ()
 Possibility to bias selection of events, compensated by a weight.
virtual double biasSelectionBy (const SigmaProcess *sigmaProcessPtr, const PhaseSpace *phaseSpacePtr, bool inEvent)
 Multiplicative factor in the phase space selection of a hard process. More...
virtual double biasedSelectionWeight ()
 Event weight to compensate for selection weight above.
virtual bool canVetoResonanceDecays ()
 Possibility to veto resonance decay chain.
virtual bool doVetoResonanceDecays (Event &)
virtual bool canVetoPT ()
virtual double scaleVetoPT ()
 Transverse-momentum scale for veto test.
virtual bool doVetoPT (int, const Event &)
virtual bool canVetoMPIStep ()
virtual int numberVetoMPIStep ()
 Up to how many MPI steps should be checked.
virtual bool doVetoMPIStep (int, const Event &)
virtual bool retryPartonLevel ()
virtual bool canVetoPartonLevel ()
 Possibility to veto event after parton-level selection.
virtual bool doVetoPartonLevel (const Event &)
virtual bool canSetResonanceScale ()
 Possibility to set initial scale in TimeShower for resonance decay.
virtual double scaleResonance (int, const Event &)
virtual bool canVetoISREmission ()
 Possibility to veto an emission in the ISR machinery.
virtual bool doVetoISREmission (int, const Event &, int)
virtual bool canVetoFSREmission ()
 Possibility to veto an emission in the FSR machinery.
virtual bool doVetoFSREmission (int, const Event &, int, bool=false)
virtual bool canVetoMPIEmission ()
 Possibility to veto an MPI.
virtual bool doVetoMPIEmission (int, const Event &)
virtual bool canReconnectResonanceSystems ()
 Possibility to reconnect colours from resonance decay systems.
virtual bool doReconnectResonanceSystems (int, Event &)
virtual bool canEnhanceEmission ()
 Enhance emission rates (sec. 4 in EPJC (2013) 73).
virtual double enhanceFactor (string)
virtual double vetoProbability (string)
void setEnhancedEventWeight (double wt)
double getEnhancedEventWeight ()
virtual bool canEnhanceTrial ()
void setEnhancedTrial (double pTIn, double wtIn)
double getEnhancedTrialPT ()
double getEnhancedTrialWeight ()
virtual bool canChangeFragPar ()
 Can change fragmentation parameters.
virtual void setStringEnds (const StringEnd *, const StringEnd *, vector< int >)
virtual bool doChangeFragPar (StringFlav *, StringZ *, StringPT *, int, double, vector< int >, const StringEnd *)
virtual bool doVetoFragmentation (Particle, const StringEnd *)
virtual bool doVetoFragmentation (Particle, Particle, const StringEnd *, const StringEnd *)
virtual bool canSetImpactParameter () const
 Can set the overall impact parameter for the MPI treatment.
virtual double doSetImpactParameter ()
 Set the overall impact parameter for the MPI treatment.
- Public Member Functions inherited from PhysicsBase
void initInfoPtr (Info &infoPtrIn)
 This function is called from above for physics objects used in a run. More...
virtual ~PhysicsBase ()
 Empty virtual destructor.
bool flag (string key) const
 Shorthand to read settings values.
int mode (string key) const
double parm (string key) const
string word (string key) const
- Public Member Functions inherited from JetMatchingMadgraph
 JetMatchingMadgraph ()
 Constructor and destructor.
bool initAfterBeams ()
 Initialisation. More...
bool canVetoProcessLevel ()
 Process level vetos.
bool doVetoProcessLevel (Event &process)
 Process level vetos. More...
int numberVetoStep ()
 Shower step vetoes (after the first emission, for Shower-kT scheme)
bool canVetoStep ()
bool doVetoStep (int, int, int, const Event &)
vector< double > getDJR ()
pair< int, int > nMEpartons ()
Event getWorkEventJet ()
Event getProcessSubset ()
bool getExclusive ()
double getPTfirst ()
void sortIncomingProcess (const Event &)
 Different steps of the matching algorithm. More...
void jetAlgorithmInput (const Event &, int)
 Step (2a): pick which particles to pass to the jet algorithm. More...
void runJetAlgorithm ()
bool matchPartonsToJets (int)
 Step (2c): veto decision (returning true vetoes the event) More...
int matchPartonsToJetsLight ()
int matchPartonsToJetsHeavy ()
int matchPartonsToJetsOther ()
bool doShowerKtVeto (double pTfirst)
void clearDJR ()
 Functions to clear and set the jet clustering scales.
void setDJR (const Event &event)
 Function to set the jet clustering scales (to be used as output) More...
void clear_nMEpartons ()
 Functions to clear and set the jet clustering scales.
void set_nMEpartons (const int nOrig, const int nMatch)
int npNLO ()
- Public Member Functions inherited from JetMatching
 JetMatching ()
 Constructor and destructor.
 ~JetMatching ()
bool canVetoPartonLevelEarly ()
 Parton level vetos (before beam remnants and resonance decays)
bool doVetoPartonLevelEarly (const Event &event)
 Early parton level veto (before beam remnants and resonance showers) More...
void errorMsg (string messageIn)
 Print a message the first few times. Insert in database. More...

Additional Inherited Members

- Public Types inherited from PhysicsBase
enum  Status {
 Enumerate the different status codes the event generation can have.
- Public Attributes inherited from JetMatchingMadgraph
- Protected Types inherited from JetMatching
enum  vetoStatus {
enum  partonTypes {
  ID_CHARM =4, ID_BOT =5, ID_TOP =6, ID_LEPMIN =11,
- Protected Member Functions inherited from UserHooks
 UserHooks ()
virtual void onInitInfoPtr () override
 After initInfoPtr, initialize workEvent. More...
void omitResonanceDecays (const Event &process, bool finalOnly=false)
 omitResonanceDecays omits resonance decay chains from process record. More...
void subEvent (const Event &event, bool isHardest=true)
 subEvent extracts currently resolved partons in the hard process. More...
- Protected Member Functions inherited from PhysicsBase
 PhysicsBase ()
 Default constructor.
virtual void onBeginEvent ()
 This function is called in the very beginning of each Pythia::next call.
virtual void onEndEvent (Status)
virtual void onStat ()
 This function is called from the Pythia::stat() call.
void registerSubObject (PhysicsBase &pb)
 Register a sub object that should have its information in sync with this.
- Protected Attributes inherited from UserHooks
Event workEvent = {}
 Have one event object around as work area.
double selBias = 1.
 User-imposed selection bias.
double enhancedEventWeight = {}
 Bookkept quantities for boosted event weights.
double pTEnhanced = {}
double wtEnhanced = {}
- Protected Attributes inherited from PhysicsBase
InfoinfoPtr = {}
SettingssettingsPtr = {}
 Pointer to the settings database.
ParticleDataparticleDataPtr = {}
 Pointer to the particle data table.
HadronWidthshadronWidthsPtr = {}
 Pointer to the hadron widths data table.
RndmrndmPtr = {}
 Pointer to the random number generator.
CoupSMcoupSMPtr = {}
 Pointers to SM and SUSY couplings.
CoupSUSYcoupSUSYPtr = {}
BeamParticlebeamAPtr = {}
BeamParticlebeamBPtr = {}
BeamParticlebeamPomAPtr = {}
BeamParticlebeamPomBPtr = {}
BeamParticlebeamGamAPtr = {}
BeamParticlebeamGamBPtr = {}
BeamParticlebeamVMDAPtr = {}
BeamParticlebeamVMDBPtr = {}
PartonSystemspartonSystemsPtr = {}
 Pointer to information on subcollision parton locations.
SigmaTotalsigmaTotPtr = {}
 Pointer to the total/elastic/diffractive cross sections.
set< PhysicsBase * > subObjects
UserHooksPtr userHooksPtr
- Protected Attributes inherited from JetMatching
bool doMerge
 Master switch for merging.
bool doShowerKt
int nJetMax
 Maximum and current number of jets.
int nJet
int jetAlgorithm
 Jet algorithm parameters.
double eTjetMin
double coneRadius
double etaJetMax
double etaJetMaxAlgo
 Internal jet algorithms.
int slowJetPower
 SlowJet specific.
Event eventProcessOrig
Event eventProcess
Event workEventJet
vector< int > typeIdx [3]
 Sort final-state of incoming process into light/heavy jets and 'other'.
set< int > typeSet [3]
vector< Vec4jetMomenta
int nEta
 CellJet specific.
int nPhi
double eTseed
double eTthreshold
int jetAllow
 Merging procedure parameters.
int jetMatch
int exclusiveMode
double coneMatchLight
double coneRadiusHeavy
double coneMatchHeavy
bool exclusive
double eTpTlightMin
 Store the minimum eT/pT of matched light jets.
map< string, int > messages
 Map for all error messages.
- Static Protected Attributes inherited from JetMatching
static const bool MATCHINGDEBUG = false
 Constants to be changed for debug printout or extra checks. More...
static const bool MATCHINGCHECK = false
static const int TIMESTOPRINT = 1
 Number of times the same error message is repeated, unless overridden.

Detailed Description

JetMatchingMadgraphInputAlpgen: A small UserHooks class that gives the functionality of both AlpgenHooks and JetMatchingMadgraph. These classes have one overlapping function, 'initAfterBeams()', which is overridden here such that both are called.

Member Function Documentation

virtual bool doVetoPartonLevelEarly ( const Event )

Decide whether to veto current partons or not, based on event record. Usage: doVetoPartonLevelEarly( event).

Reimplemented from UserHooks.

virtual bool doVetoProcessLevel ( Event )

Decide whether to veto current process or not, based on process record. Usage: doVetoProcessLevel( process).

Reimplemented from UserHooks.

virtual bool initAfterBeams ( )


Madgraph matching parameters should not be set from Alpgen file.

Reimplemented from UserHooks.

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