#include <ReweightUserHooks.h>
|
virtual double | biasSelectionBy (const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent) |
|
virtual bool | canBiasSelection () |
|
| RapReweightUserHook (const std::string &_yLabsigma_func, double _yLab_power, const std::string &_yCMsigma_func, double _yCM_power, double _pTHatMin, double _pTHatMax) |
|
virtual | ~RapReweightUserHook () |
|
Definition at line 30 of file ReweightUserHooks.h.
RapReweightUserHook::RapReweightUserHook |
( |
const std::string & |
_yLabsigma_func, |
|
|
double |
_yLab_power, |
|
|
const std::string & |
_yCMsigma_func, |
|
|
double |
_yCM_power, |
|
|
double |
_pTHatMin, |
|
|
double |
_pTHatMax |
|
) |
| |
|
inline |
virtual RapReweightUserHook::~RapReweightUserHook |
( |
| ) |
|
|
inlinevirtual |
virtual double RapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlinevirtual |
Definition at line 48 of file ReweightUserHooks.h.
References JetChargeProducer_cfi::exp, cmsBatch::log, and funct::pow().
52 if ((sigmaProcessPtr->nFinal() == 2)) {
53 double x1 = phaseSpacePtr->x1();
54 double x2 = phaseSpacePtr->x2();
55 double yLab = 0.5*
log(x1/x2);
56 double yCM = 0.5*
log( phaseSpacePtr->tHat() / phaseSpacePtr->uHat() );
57 double pTHat = phaseSpacePtr->pTHat();
59 double sigmaCM =
yCMsigma.Eval(pTHat);
Power< A, B >::type pow(const A &a, const B &b)
virtual bool RapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlinevirtual |
double RapReweightUserHook::pTHatMax |
|
private |
double RapReweightUserHook::pTHatMin |
|
private |
double RapReweightUserHook::yCM_power |
|
private |
TF1 RapReweightUserHook::yCMsigma |
|
private |
std::string RapReweightUserHook::yCMsigma_func |
|
private |
double RapReweightUserHook::yLab_power |
|
private |
TF1 RapReweightUserHook::yLabsigma |
|
private |
std::string RapReweightUserHook::yLabsigma_func |
|
private |