PYTHIA  8.311
Public Member Functions | List of all members
WeightsShower Class Reference

Purely virtual base class for shower weights. More...

#include <Weights.h>

Inheritance diagram for WeightsShower:
WeightsBase VinciaWeights WeightsSimpleShower

Public Member Functions

void init (bool) override
 Initialize weights (more can be booked at any time)
 
virtual void initWeightGroups (bool=false)
 Weight "groups" (combinations of one or more unique weights).
 
virtual int nWeightGroups () const
 
virtual string getGroupName (int) const
 
virtual double getGroupWeight (int) const
 
- Public Member Functions inherited from WeightsBase
virtual void init ()
 Initialize the weights.
 
virtual void clear ()
 Reset all internal values.
 
virtual void bookVectors (vector< double > weights, vector< string > names)
 
virtual void collectWeightValues (vector< double > &outputWeights, double norm=1.)
 WeightsBase class. More...
 
virtual void collectWeightNames (vector< string > &outputNames)
 Similar function to return processed weight names.
 
string getWeightsName (int iPos) const
 
virtual double getWeightsValue (int iPos) const
 
int getWeightsSize () const
 
void bookWeight (string name, double defaultValue=1.)
 Function to create a new, synchronized, pair of weight name and value. More...
 
void setValueByIndex (int iPos, double val)
 Functions to set values of weights.
 
void setValueByName (string name, double val)
 
virtual void reweightValueByIndex (int iPos, double val)
 Functions to reweight weight values, by index or by name.
 
virtual void reweightValueByName (string name, double val)
 
int findIndexOfName (string name)
 
void setPtrs (Info *infoPtrIn)
 Set the pointers.
 

Additional Inherited Members

- Protected Member Functions inherited from WeightsBase
void parse (string wvecKey, map< string, map< string, double > > &dct)
 Parse a WVec of variations into a dictionary. More...
 
- Protected Attributes inherited from WeightsBase
vector< double > weightValues
 Weight values and names.
 
vector< string > weightNames
 
InfoinfoPtr {}
 Pointers necessary for variation initialization.
 

Detailed Description

Purely virtual base class for shower weights.


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