PYTHIA  8.312
Public Member Functions | Public Attributes | List of all members
VinciaEW Class Reference

Top-level class for the electroweak shower module. More...

#include <VinciaEW.h>

Inheritance diagram for VinciaEW:
VinciaModule

Public Member Functions

 VinciaEW ()
 Constructor.
 
void initPtr (Info *infoPtrIn, VinciaCommon *vinComPtrIn) override
 Initialize pointers (called at construction time).
 
void init (BeamParticle *beamAPtrIn=0, BeamParticle *beamBPtrIn=0) override
 Initialise settings for current run (called as part of Pythia::init()). More...
 
bool polarise (vector< Particle > &state) override
 Select helicities for a resonance-decay system.
 
bool prepare (int iSysIn, Event &event, bool isBelowHadIn=false) override
 Prepare to shower a system. More...
 
void update (Event &event, int iSysIn) override
 Update EW shower system each time something has changed.
 
void setVerbose (int verboseIn) override
 Set verbose level.
 
void load () override
 Save information on masses and widths, and load branchings. More...
 
double q2Next (Event &, double q2Start, double q2End) override
 Generate a trial scale.
 
bool lastIsSplitting () override
 Query last branching.
 
bool lastIsInitial () override
 
bool lastIsResonanceDecay () override
 
bool acceptTrial (Event &event) override
 Check veto.
 
void updateEvent (Event &event) override
 Update event after branching accepted.
 
void updatePartonSystems (Event &event) override
 Update partonSystems after branching accepted.
 
void clear (int) override
 Clear EW system.
 
unsigned int nBranchers () override
 Get number of EW branchers.
 
unsigned int nResDec () override
 
void printData ()
 Print loaded data on masses and widths.
 
void printBranchings ()
 Print branchings. More...
 
double q2min () override
 Override additional base class methods.
 
double q2minColoured () override
 End scales.
 
double eventWeight ()
 
void q2min (double q2minSavIn)
 Setter for q2minSav.
 
int sysWin () override
 We only have one system.
 
bool isResonance (int pid)
 Check if a particle is a resonance according to EW shower database.
 
- Public Member Functions inherited from VinciaModule
 VinciaModule ()
 Default constructor.
 
virtual ~VinciaModule ()=default
 Default destructor.
 
bool isInit ()
 

Public Attributes

unordered_map< pair< int, int >, vector< pair< int, int > > > cluMapFinal
 Public members. More...
 
unordered_map< pair< int, int >, vector< pair< int, int > > > cluMapInitial
 
unordered_map< pair< int, int >, vector< EWBranching > > brMapFinal
 
unordered_map< pair< int, int >, vector< EWBranching > > brMapInitial
 
unordered_map< pair< int, int >, vector< EWBranching > > brMapResonance
 
EWParticleData ewData
 Locally store data about EW particles.
 
AmpCalculator ampCalc
 Amplitude calculator.
 
- Public Attributes inherited from VinciaModule
BeamParticlebeamAPtr {}
 Members.
 
BeamParticlebeamBPtr {}
 
InfoinfoPtr {}
 
ParticleDataparticleDataPtr {}
 
LoggerloggerPtr {}
 
PartonSystemspartonSystemsPtr {}
 
RndmrndmPtr {}
 
SettingssettingsPtr {}
 
VinciaCommonvinComPtr {}
 

Additional Inherited Members

- Protected Attributes inherited from VinciaModule
int verbose
 
bool isInitPtr
 
bool isInitSav
 

Detailed Description

Top-level class for the electroweak shower module.

Member Function Documentation

void init ( BeamParticle beamAPtrIn = 0,
BeamParticle beamBPtrIn = 0 
)
overridevirtual

Initialise settings for current run (called as part of Pythia::init()).

Top-level class for the electroweak shower module.

Initialize.

Did we load the data?

Settings.

Initialize alphaEM.

Change Pythia settings, initialize, then change them back.

Set beam pointers.

Initialize AmpCalculator.

Create EW shower system.

Initialize the EW system.

Implements VinciaModule.

void load ( )
overridevirtual

Save information on masses and widths, and load branchings.

Read settings.

Fetch multipliers for overestimate functions.

Check if we are using the bosonic interference factor.

Load possible EW branchings from XML.

In DEBUG mode, print and check for doubles between Final and Res maps.

Find corresponding entry in brMapResonance.

Loop over all branchings and compare.

Reimplemented from VinciaModule.

bool prepare ( int  iSysIn,
Event event,
bool  isBelowHadIn = false 
)
overridevirtual

Prepare to shower a system.

Prepare to shower a system. (If isBelowHadIn = true, assume only resonance decays may be left to do.)

Sanity check.

Prepare system

Implements VinciaModule.

void printBranchings ( )

Print branchings.

Print final-state branchings.

Print resonance branchings.

Print initial-state branchings.

Member Data Documentation

unordered_map<pair<int, int>, vector<EWBranching> > brMapFinal

Map from (PID, polarisation) of I to all possible branchings where I is: final, initial or resonance.

unordered_map<pair<int, int>, vector<pair<int, int> > > cluMapFinal

Public members.

Cluster maps for spectator selection.


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