#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 |
( |
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 |
( |
| ) |
|
|
inlineoverride |
double PtHatRapReweightUserHook::biasSelectionBy |
( |
const Pythia8::SigmaProcess * |
sigmaProcessPtr, |
|
|
const Pythia8::PhaseSpace * |
phaseSpacePtr, |
|
|
bool |
inEvent |
|
) |
| |
|
inlineoverride |
Definition at line 142 of file ReweightUserHooks.h.
References funct::exp(), log, funct::pow(), power, pt, 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);
static std::vector< std::string > checklist log
Exp< T >::type exp(const T &t)
Power< A, B >::type pow(const A &a, const B &b)
bool PtHatRapReweightUserHook::canBiasSelection |
( |
| ) |
|
|
inlineoverride |
double PtHatRapReweightUserHook::power |
|
private |
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().
double PtHatRapReweightUserHook::pTHatMax |
|
private |
double PtHatRapReweightUserHook::pTHatMin |
|
private |
double PtHatRapReweightUserHook::yCM_power |
|
private |
TF1 PtHatRapReweightUserHook::yCMsigma |
|
private |
std::string PtHatRapReweightUserHook::yCMsigma_func |
|
private |
double PtHatRapReweightUserHook::yLab_power |
|
private |
TF1 PtHatRapReweightUserHook::yLabsigma |
|
private |
std::string PtHatRapReweightUserHook::yLabsigma_func |
|
private |