Belle II Software  light-2403-persian
PostProcessingParticleWeighting Class Reference

Post-processing particle weighting. More...

#include <PostProcessingParticleWeighting.h>

Collaboration diagram for PostProcessingParticleWeighting:

Public Member Functions

 PostProcessingParticleWeighting (const char *lookupTableName)
 Constructor. More...
 
 ~PostProcessingParticleWeighting ()
 Destructor.
 
void setValue (std::string variableName, double value)
 Set value. More...
 
WeightInfo getInfo (int experiment, int run)
 Get weight information.
 
PyObject * getInfoPython (int experiment, int run)
 Get weight information (Python).
 

Protected Attributes

std::map< std::string, double > m_Values
 Values.
 
EventMetaData m_EventMetaData
 Event metadata.
 
DBObjPtr< ParticleWeightingLookUpTablem_LookupTable
 Lookup table.
 

Detailed Description

Post-processing particle weighting.

Definition at line 34 of file PostProcessingParticleWeighting.h.

Constructor & Destructor Documentation

◆ PostProcessingParticleWeighting()

PostProcessingParticleWeighting ( const char *  lookupTableName)

Constructor.

Parameters
[in]lookupTableNameLookup-table name.

Definition at line 17 of file PostProcessingParticleWeighting.cc.

18  :
19  m_EventMetaData(-1, -1), m_LookupTable(lookupTableName)
20 {
21 }
DBObjPtr< ParticleWeightingLookUpTable > m_LookupTable
Lookup table.

Member Function Documentation

◆ setValue()

void setValue ( std::string  variableName,
double  value 
)

Set value.

Parameters
[in]variableNameVariable name.
[in]valueValue.

Definition at line 27 of file PostProcessingParticleWeighting.cc.


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