ATLAS Offline Software
|
Helper class to keep track of coherent prescales between chains in a group This class knows about its group's common prescale factor and can hence apply it coherently at the end. More...
#include <RatesGroup.h>
Public Member Functions | |
RatesCPS () | |
void | setCoherentFactor (const double coherentFactor) |
Set a common prescale factor for this group. More... | |
void | execute (const double prescale) |
Keep track of a union product (OR of many chains) excluding the coherent part. More... | |
double | getWeight () const |
Return the union product (OR of many chains) coherently weighted by the coherent factor. More... | |
Private Attributes | |
double | m_weight |
double | m_coherentFactor |
Helper class to keep track of coherent prescales between chains in a group This class knows about its group's common prescale factor and can hence apply it coherently at the end.
Definition at line 14 of file RatesGroup.h.
|
inline |
Definition at line 16 of file RatesGroup.h.
void RatesCPS::execute | ( | const double | prescale | ) |
Keep track of a union product (OR of many chains) excluding the coherent part.
Definition at line 8 of file RatesGroup.cxx.
double RatesCPS::getWeight | ( | ) | const |
Return the union product (OR of many chains) coherently weighted by the coherent factor.
Definition at line 12 of file RatesGroup.cxx.
|
inline |
Set a common prescale factor for this group.
Definition at line 17 of file RatesGroup.h.
|
private |
Definition at line 23 of file RatesGroup.h.
|
private |
Definition at line 22 of file RatesGroup.h.