28 std::string(
"/src/TopQuarkAnalysis/PatHitFit/data/exampleJetResolution.txt");
31 jetCorrectionLevel_ =
"L7Parton";
47 if (udscFile.empty()) {
48 udscResolution_filename = CMSSW_BASE +
49 std::string(
"/src/TopQuarkAnalysis/PatHitFit/data/exampleJetResolution.txt");
51 udscResolution_filename = udscFile;
55 bResolution_filename = CMSSW_BASE +
56 std::string(
"/src/TopQuarkAnalysis/PatHitFit/data/exampleJetResolution.txt");
58 bResolution_filename = bFile;
63 jetCorrectionLevel_ =
"L7Parton";
82 if (udscFile.empty()) {
83 udscResolution_filename = CMSSW_BASE +
84 std::string(
"/src/TopQuarkAnalysis/TopHitFit/data/resolution/tqafUdscJetResolution.txt");
86 udscResolution_filename = udscFile;
90 bResolution_filename = CMSSW_BASE +
91 std::string(
"/src/TopQuarkAnalysis/TopHitFit/data/resolution/tqafBJetResolution.txt");
93 bResolution_filename = bFile;
120 double jet_eta = jet.
eta();
132 jet_resolution = bResolution_.GetResolution(jet_eta);
135 p =
Fourvec(bPartonCorrJet.px(),bPartonCorrJet.py(),bPartonCorrJet.pz(),bPartonCorrJet.energy());
138 jet_resolution = udscResolution_.GetResolution(jet_eta);
141 p =
Fourvec(udsPartonCorrJet.px(),udsPartonCorrJet.py(),udsPartonCorrJet.pz(),udsPartonCorrJet.energy());
158 return udscResolution_;
174 double jet_eta = jet.
eta();
182 return bResolution_.CheckEta(jet_eta) && udscResolution_.CheckEta(jet_eta);
double eta() const final
momentum pseudorapidity
Jets made from CaloTowers.
virtual void scaleEnergy(double fScale)
scale energy of the jet
JetTranslatorBase()
Default constructor.
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
bool isCaloJet() const
check to see if the jet is a reco::CaloJet
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
A class to represent a jet in an instance of Lepjets_Event class. The class is derived from the Lepje...
bool isPFJet() const
check to see if the jet is a reco::PFJet
Template class of function object to translate jet physics object to HitFit's Lepjets_Event_Jet objec...
Analysis-level calorimeter jet class.
const reco::Candidate * originalObject() const
access to the original object; returns zero for null Ref and throws for unavailable collection ...
Template class of function object to translate jet physics object to HitFit's Lepjets_Event_Jet objec...
Calculate and represent resolution for a vector of , pseudorapidity , and azimuthal angle ...
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const
udscResolution
<— these resolutions do not exist yet —> tauResolution = stringResolution.clone(parametrization = '...