#include <PowhegResHook.h>
Definition at line 6 of file PowhegResHook.h.
PowhegResHook::PowhegResHook |
( |
| ) |
|
|
inline |
PowhegResHook::~PowhegResHook |
( |
| ) |
|
|
inlineoverride |
bool PowhegResHook::canSetResonanceScale |
( |
| ) |
|
|
inlineoverride |
double PowhegResHook::scaleResonance |
( |
const int |
iRes, |
|
|
const Pythia8::Event & |
event |
|
) |
| |
|
override |
Definition at line 11 of file PowhegResHook.cc.
References funct::abs(), mps_fire::i, min(), or, AlCaHLTBitMon_ParallelJobs::p, AnalysisDataFormats_SUSYBSMObjects::pa, q2, Scenarios_cff::scale, and mathSSE::sqrt().
Referenced by canSetResonanceScale().
12 calcScales_ = settingsPtr->flag(
"POWHEGres:calcScales");
16 int nDau =
event[iRes].daughterList().size();
29 else if (
abs(
event[iRes].
id()) == 6) {
31 int idw = -1, idb = -1, idg = -1;
33 for (
int i = 0;
i < nDau;
i++) {
34 int iDau =
event[iRes].daughterList()[
i];
45 pw.bstback(
event[iRes].
p());
48 pb.bstback(
event[iRes].
p());
51 pg.bstback(
event[iRes].
p());
54 scale =
sqrt(2 * pg * pb * pg.e() / pb.e());
57 else if (
abs(
event[iRes].
id()) == 24) {
59 int idq = -1, ida = -1, idg = -1;
61 for (
int i = 0;
i < nDau;
i++) {
62 int iDau =
event[iRes].daughterList()[
i];
63 if (
event[iDau].
id() == 21)
65 else if (
event[iDau].
id() > 0)
67 else if (
event[iDau].
id() < 0)
73 pq.bstback(
event[iRes].
p());
79 pg.bstback(
event[iRes].
p());
84 double csi = 2 * pg.e() /
sqrt(q2);
85 double yq = 1 - pg * pq / (pg.e() * pq.e());
86 double ya = 1 - pg *
pa / (pg.e() *
pa.e());
88 scale =
sqrt(
min(1 - yq, 1 - ya) * pow2(csi) * q2 / 2);
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Abs< T >::type abs(const T &t)
bool PowhegResHook::calcScales_ |
|
private |