24 if( iPU >= 0 || fixedPU > 0 ) {
25 theFilesL1Offset = fConfig.
getParameter <vector<string> > (
"tagNameOffset");
26 for(vector<string>::iterator it=theFilesL1Offset.begin(); it != theFilesL1Offset.end(); it++) {
33 theFilesZSP = fConfig.
getParameter <vector<string> > (
"tagName");
34 for(vector<string>::iterator it=theFilesZSP.begin(); it != theFilesZSP.end(); it++) {
54 }
else {
if(iPU==0) nPU=setPU(); }
56 double a = mSimpleCorrector[nPU]->correctionPtEtaPhiE (fJet.
p4().Pt(), fJet.
p4().Eta(), fJet.
p4().Phi(),fJet.
p4().E());
59 if(!mSimpleCorrectorOffset.empty()) {
60 b = mSimpleCorrectorOffset[nPU]->correctionPUEtEtaPhiP (fJet.
p4().Pt(), fJet.
p4().Eta(), fJet.
p4().Phi(),fJet.
p4().E());
T getParameter(std::string const &) const
virtual ~ZSPJPTJetCorrector()
Base class for all types of Jets.
virtual double correction(const reco::Jet &, const edm::Event &, const edm::EventSetup &) const
apply correction using Event information
const LorentzVector & p4() const final
four-momentum Lorentz vector
ZSPJPTJetCorrector(const edm::ParameterSet &fParameters)
std::string fullPath() const