CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
materialEffect::Effect Struct Reference

#include <MaterialEffectsUpdator.h>

Public Member Functions

void combine (Effect const &e1, Effect const &e2)
 

Public Attributes

Covariance deltaCov
 
float deltaP = 0
 
float weight = 1.f
 

Detailed Description

Definition at line 40 of file MaterialEffectsUpdator.h.

Member Function Documentation

◆ combine()

void materialEffect::Effect::combine ( Effect const &  e1,
Effect const &  e2 
)
inline

Definition at line 46 of file MaterialEffectsUpdator.h.

46  {
47  weight *= e1.weight * e2.weight;
48  deltaP += e1.deltaP + e2.deltaP;
49  deltaCov += e1.deltaCov;
50  deltaCov += e2.deltaCov;
51  }

References deltaCov, deltaP, StorageManager_cfg::e1, and weight.

Referenced by GsfCombinedMaterialEffectsUpdator::compute().

Member Data Documentation

◆ deltaCov

Covariance materialEffect::Effect::deltaCov

◆ deltaP

float materialEffect::Effect::deltaP = 0

◆ weight

float materialEffect::Effect::weight = 1.f
materialEffect::Effect::deltaCov
Covariance deltaCov
Definition: MaterialEffectsUpdator.h:45
materialEffect::Effect::deltaP
float deltaP
Definition: MaterialEffectsUpdator.h:43
StorageManager_cfg.e1
e1
Definition: StorageManager_cfg.py:16
weight
Definition: weight.py:1