#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 117 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 143 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.
147 if ((sigmaProcessPtr->nFinal() == 2)) {
148 double x1 = phaseSpacePtr->x1();
149 double x2 = phaseSpacePtr->x2();
150 double yLab = 0.5 *
log(
x1 /
x2);
151 double yCM = 0.5 *
log(phaseSpacePtr->tHat() / phaseSpacePtr->uHat());
152 double pTHat = phaseSpacePtr->pTHat();
154 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 166 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(), datamodel.Object::p4(), 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 |