Fork me on GitHub

Changeset f298e48 in git for modules/MomentumSmearing.cc


Ignore:
Timestamp:
Mar 22, 2020, 6:39:09 PM (5 years ago)
Author:
Roberto Preghenella <preghenella@…>
Branches:
ImprovedOutputFile, master
Children:
7e83689
Parents:
288a5fc
git-author:
Roberto Preghenella <preghenella@…> (03/22/20 16:32:29)
git-committer:
Roberto Preghenella <preghenella@…> (03/22/20 18:39:09)
Message:

Add radius (distance from beam line) to formula parameterisations

also redefines the DelphesFormula::Eval function to allow one to
include future parameters for parameterisations that can be
taken from Candidates in a generalised way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/MomentumSmearing.cc

    r288a5fc rf298e48  
    106106    pt = candidateMomentum.Pt();
    107107    e = candidateMomentum.E();
    108     res = fFormula->Eval(pt, eta, phi, e);
     108    res = fFormula->Eval(pt, eta, phi, e, candidate);
    109109
    110110    // apply smearing formula
Note: See TracChangeset for help on using the changeset viewer.