#include <ReweightUserHooks.h>
|
double | biasSelectionBy (const Pythia8::SigmaProcess *sigmaProcessPtr, const Pythia8::PhaseSpace *phaseSpacePtr, bool inEvent) override |
|
bool | canBiasSelection () override |
|
| PtHatRapReweightUserHook (const std::string &_yLabsigma_func, double _yLab_power, const std::string &_yCMsigma_func, double _yCM_power, double _pTHatMin, double _pTHatMax, double _pt=15, double _power=4.5) |
|
| ~PtHatRapReweightUserHook () override |
|
Definition at line 116 of file ReweightUserHooks.h.
◆ PtHatRapReweightUserHook()
PtHatRapReweightUserHook::PtHatRapReweightUserHook |
( |
const std::string & |
_yLabsigma_func, |
|
|
double |
_yLab_power, |
|
|
const std::string & |
_yCMsigma_func, |
|
|
double |
_yCM_power, |
|
|
double |
_pTHatMin, |
|
|
double |
_pTHatMax, |
|
|
double |
_pt = 15 , |
|
|
double |
_power = 4.5 |
|
) |
| |
|
inline |
◆ ~PtHatRapReweightUserHook()
PtHatRapReweightUserHook::~PtHatRapReweightUserHook |
( |
| ) |
|
|
inlineoverride |
◆ biasSelectionBy()
double PtHatRapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 142 of file ReweightUserHooks.h.
References JetChargeProducer_cfi::exp, dqm-mbProfile::log, funct::pow(), power, pt, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, yCM_power, yCMsigma, yLab_power, and yLabsigma.
146 if ((sigmaProcessPtr->nFinal() == 2)) {
147 double x1 = phaseSpacePtr->x1();
148 double x2 = phaseSpacePtr->x2();
149 double yLab = 0.5 *
log(
x1 /
x2);
150 double yCM = 0.5 *
log(phaseSpacePtr->tHat() / phaseSpacePtr->uHat());
151 double pTHat = phaseSpacePtr->pTHat();
153 double sigmaCM =
yCMsigma.Eval(pTHat);
Power< A, B >::type pow(const A &a, const B &b)
◆ canBiasSelection()
bool PtHatRapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
◆ power
double PtHatRapReweightUserHook::power |
|
private |
◆ pt
double PtHatRapReweightUserHook::pt |
|
private |
Definition at line 165 of file ReweightUserHooks.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), biasSelectionBy(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
◆ pTHatMax
double PtHatRapReweightUserHook::pTHatMax |
|
private |
◆ pTHatMin
double PtHatRapReweightUserHook::pTHatMin |
|
private |
◆ yCM_power
double PtHatRapReweightUserHook::yCM_power |
|
private |
◆ yCMsigma
TF1 PtHatRapReweightUserHook::yCMsigma |
|
private |
◆ yCMsigma_func
std::string PtHatRapReweightUserHook::yCMsigma_func |
|
private |
◆ yLab_power
double PtHatRapReweightUserHook::yLab_power |
|
private |
◆ yLabsigma
TF1 PtHatRapReweightUserHook::yLabsigma |
|
private |
◆ yLabsigma_func
std::string PtHatRapReweightUserHook::yLabsigma_func |
|
private |