Jet energy correction algorithm using tracks. More...
#include <JetPlusTrackCorrector.h>
Public Types | |
typedef math::XYZTLorentzVector | P4 |
typedef math::PtEtaPhiELorentzVectorD | PtEtaPhiE |
typedef math::PtEtaPhiMLorentzVectorD | PtEtaPhiM |
Public Member Functions | |
bool | canCorrect (const reco::Jet &) const |
Can jet be JPT-corrected? More... | |
double | correctAA (const reco::Jet &, const reco::TrackRefVector &, double &, const reco::TrackRefVector &, const reco::TrackRefVector &, double, const reco::TrackRefVector &) const |
For AA - correct in tracker. More... | |
double | correction (const reco::Jet &, const reco::Jet &, const edm::Event &, const edm::EventSetup &, P4 &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs, bool &validMatches) |
Vectorial correction method (corrected 4-momentum passed by reference) More... | |
double | correction (const reco::Jet &, const reco::Jet &, const edm::Event &, const edm::EventSetup &, const reco::TrackRefVector &tracksinvert, const reco::TrackRefVector &tracksincalo, P4 &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs) |
double | correction (const reco::Jet &, const reco::Jet &, const edm::Event &, const edm::EventSetup &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs, bool &validMatches) |
Scalar correction method. More... | |
double | correction (const reco::Jet &) const |
Correction method (not used) More... | |
double | correction (const P4 &) const |
Correction method (not used) More... | |
P4 | elecCorrection (const P4 &jet, const jpt::MatchedTracks &elecs) const |
Calculates correction to be applied using electrons. More... | |
bool | eventRequired () const |
Returns true. More... | |
double | getResponseOfChargedWithEff () |
Get responses/sumPT/SumEnergy with and without Efficiency correction. More... | |
double | getResponseOfChargedWithoutEff () |
double | getSumEnergyWithEff () |
double | getSumEnergyWithoutEff () |
double | getSumPtForBeta () |
double | getSumPtWithEff () |
double | getSumPtWithoutEff () |
JetPlusTrackCorrector (const edm::ParameterSet &iPS, edm::ConsumesCollector &&iC) | |
Constructor. More... | |
bool | matchTracks (const reco::Jet &, const edm::Event &, const edm::EventSetup &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs) |
Matches tracks to different particle types. More... | |
void | matchTracks (const reco::Jet &, const edm::Event &, const edm::EventSetup &, const reco::TrackRefVector &tracksinvert, const reco::TrackRefVector &tracksincalo, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs) |
P4 | muonCorrection (const P4 &jet, const jpt::MatchedTracks &muons) |
Calculates correction to be applied using muons. More... | |
P4 | pionCorrection (const P4 &jet, const jpt::MatchedTracks &pions) |
Calculates corrections to be applied using pions. More... | |
bool | vectorialCorrection () const |
Returns value of configurable. More... | |
virtual | ~JetPlusTrackCorrector () |
Destructor. More... | |
Protected Types | |
typedef reco::JetTracksAssociation::Container | JetTracksAssociations |
typedef edm::ValueMap< float > | RecoElectronIds |
typedef reco::GsfElectronCollection | RecoElectrons |
typedef reco::MuonCollection | RecoMuons |
Get reponses. More... | |
typedef reco::TrackRefVector | TrackRefs |
Protected Member Functions | |
P4 | calculateCorr (const P4 &jet, const TrackRefs &, jpt::Efficiency &, bool in_cone_at_vertex, bool in_cone_at_calo_face, double mass, bool is_pion, double mip) |
Generic method to calculates 4-momentum correction to be applied. More... | |
double | checkScale (const P4 &jet, P4 &corrected) const |
Check corrected 4-momentum does not give negative scale. More... | |
const jpt::Map & | efficiencyMap () const |
P4 | elecCorrection (const P4 &jet, const TrackRefs &elecs, bool in_cone_at_vertex, bool in_cone_at_calo_face) |
Calculates individual electron corrections. More... | |
void | excludeJta (const reco::Jet &, const JetTracksAssociations &, TrackRefs &included, const TrackRefs &excluded) const |
Exclude jet-track association. More... | |
bool | failTrackQuality (TrackRefs::const_iterator &) const |
Check on track quality. More... | |
bool | findTrack (const jpt::JetTracks &, TrackRefs::const_iterator &, TrackRefs::iterator &) const |
Find track in JetTracks collection. More... | |
bool | findTrack (const jpt::MatchedTracks &pions, const jpt::MatchedTracks &muons, const jpt::MatchedTracks &electrons, TrackRefs::const_iterator &) const |
Find track in MatchedTracks collections. More... | |
bool | getElectrons (const edm::Event &, edm::Handle< RecoElectrons > &, edm::Handle< RecoElectronIds > &) const |
Get RECO electrons. More... | |
bool | getElectrons (const edm::Event &, edm::Handle< pat::ElectronCollection > &) const |
bool | getMuons (const edm::Event &, edm::Handle< RecoMuons > &) const |
Get RECO muons. More... | |
bool | getMuons (const edm::Event &, edm::Handle< pat::MuonCollection > &) const |
P4 | jetDirFromTracks (const P4 &jet, const jpt::MatchedTracks &pions, const jpt::MatchedTracks &muons, const jpt::MatchedTracks &elecs) const |
Calculates vectorial correction using total track 3-momentum. More... | |
JetPlusTrackCorrector () | |
Default constructor. More... | |
virtual bool | jetTrackAssociation (const reco::Jet &, const edm::Event &, const edm::EventSetup &, jpt::JetTracks &) const |
Associates tracks to jets (overriden in derived class) More... | |
bool | jtaUsingEventData (const reco::Jet &, const edm::Event &, jpt::JetTracks &) const |
JTA using collections from event. More... | |
const jpt::Map & | leakageMap () const |
bool | matchElectrons (TrackRefs::const_iterator &, const edm::Handle< RecoElectrons > &, const edm::Handle< RecoElectronIds > &) const |
Matches tracks to RECO electrons. More... | |
bool | matchElectrons (TrackRefs::const_iterator &, const edm::Handle< pat::ElectronCollection > &) const |
bool | matchMuons (TrackRefs::const_iterator &, const edm::Handle< RecoMuons > &) const |
Matches tracks to RECO muons. More... | |
bool | matchMuons (TrackRefs::const_iterator &, const edm::Handle< pat::MuonCollection > &) const |
virtual void | matchTracks (const jpt::JetTracks &, const edm::Event &, jpt::MatchedTracks &pions, jpt::MatchedTracks &muons, jpt::MatchedTracks &elecs) |
Matches tracks to different particle types (overriden in derived class) More... | |
P4 | muonCorrection (const P4 &jet, const TrackRefs &muons, bool in_cone_at_vertex, bool in_cone_at_calo_face) |
Calculates individual muons corrections. More... | |
P4 | pionCorrection (const P4 &jet, const TrackRefs &pions, jpt::Efficiency &, bool in_cone_at_vertex, bool in_cone_at_calo_face) |
Calculates individual pion corrections. More... | |
P4 | pionEfficiency (const P4 &jet, const jpt::Efficiency &, bool in_cone_at_calo_face) |
Correction to be applied using tracking efficiency. More... | |
void | rebuildJta (const reco::Jet &, const JetTracksAssociations &, TrackRefs &included, TrackRefs &excluded) const |
Rebuild jet-track association. More... | |
const jpt::Map & | responseMap () const |
bool | tracksInCalo (const jpt::MatchedTracks &pions, const jpt::MatchedTracks &muons, const jpt::MatchedTracks &elecs) const |
Determines if any tracks in cone at CaloFace. More... | |
Jet energy correction algorithm using tracks.
Definition at line 171 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 296 of file JetPlusTrackCorrector.h.
Definition at line 182 of file JetPlusTrackCorrector.h.
Definition at line 183 of file JetPlusTrackCorrector.h.
Definition at line 184 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 295 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 294 of file JetPlusTrackCorrector.h.
|
protected |
Get reponses.
Definition at line 293 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 297 of file JetPlusTrackCorrector.h.
JetPlusTrackCorrector::JetPlusTrackCorrector | ( | const edm::ParameterSet & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Constructor.
Definition at line 24 of file JetPlusTrackCorrector.cc.
References electronIds_, electrons_, edm::ParameterSet::getParameter(), input_jetTracksAtCalo_token_, input_jetTracksAtVertex_token_, input_pat_elecs_token_, input_pat_muons_token_, input_pvCollection_token_, input_reco_elec_ids_token_, input_reco_elecs_token_, input_reco_muons_token_, jetSplitMerge_, jetTracksAtCalo_, jetTracksAtVertex_, muons_, patelectrons_, patmuons_, srcPVs_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, useEff_, useElecs_, useInConeTracks_, useMuons_, useOutOfConeTracks_, useOutOfVertexTracks_, usePAT_, usePions_, useTrackQuality_, vecResponse_, vectorial_, and verbose_.
|
virtual |
|
inlineprotected |
|
protected |
Generic method to calculates 4-momentum correction to be applied.
Definition at line 879 of file JetPlusTrackCorrector.cc.
References jpt::Efficiency::addE(), edm::RefVector< C, T, F >::begin(), correction(), edm::RefVector< C, T, F >::empty(), edm::RefVector< C, T, F >::end(), relval_parameters_module::energy, PVValHelper::eta, jpt::Map::etaBin(), SurfaceOrientation::inner, edm::isDebugEnabled(), metsig::jet, LogDebug, ResonanceBuilder::mass, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), SurfaceOrientation::outer, DiDispStaMuonMonitor_cfi::pt, jpt::Map::ptBin(), jpt::Efficiency::reset(), response_, mathSSE::sqrt(), contentValuesCheck::ss, groupFilesInBlocks::temp, theResponseOfChargedWithEff, theResponseOfChargedWithoutEff, theSumEnergyWithEff, theSumEnergyWithoutEff, theSumPtWithEff, theSumPtWithoutEff, jpt::Map::value(), vecResponse_, vectorial_, and verbose_.
Referenced by elecCorrection(), muonCorrection(), and pionCorrection().
|
inline |
Can jet be JPT-corrected?
Definition at line 486 of file JetPlusTrackCorrector.h.
References reco::LeafCandidate::eta(), and maxEta_.
Referenced by correction().
Check corrected 4-momentum does not give negative scale.
Definition at line 507 of file JetPlusTrackCorrector.h.
References metsig::jet.
Referenced by correction().
double JetPlusTrackCorrector::correctAA | ( | const reco::Jet & | fJet, |
const reco::TrackRefVector & | trBgOutOfVertex, | ||
double & | mConeSize, | ||
const reco::TrackRefVector & | pioninin, | ||
const reco::TrackRefVector & | pioninout, | ||
double | ja, | ||
const reco::TrackRefVector & | trBgOutOfCalo | ||
) | const |
For AA - correct in tracker.
Definition at line 1263 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), efficiency_, edm::RefVector< C, T, F >::empty(), edm::RefVector< C, T, F >::end(), reco::LeafCandidate::energy(), PVValHelper::eta, reco::LeafCandidate::eta(), jpt::Map::etaBin(), M_PI, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), DiDispStaMuonMonitor_cfi::pt, jpt::Map::ptBin(), response_, mathSSE::sqrt(), and jpt::Map::value().
double JetPlusTrackCorrector::correction | ( | const reco::Jet & | fJet, |
const reco::Jet & | fJetcalo, | ||
const edm::Event & | event, | ||
const edm::EventSetup & | setup, | ||
P4 & | corrected, | ||
jpt::MatchedTracks & | pions, | ||
jpt::MatchedTracks & | muons, | ||
jpt::MatchedTracks & | elecs, | ||
bool & | validMatches | ||
) |
Vectorial correction method (corrected 4-momentum passed by reference)
Definition at line 151 of file JetPlusTrackCorrector.cc.
References canCorrect(), checkScale(), elecCorrection(), reco::LeafCandidate::energy(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), jetDirFromTracks(), reco::LeafCandidate::mass(), matchTracks(), muonCorrection(), patZpeak::muons, reco::LeafCandidate::p4(), reco::LeafCandidate::phi(), pionCorrection(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), pileupReCalc_HLTpaths::scale, contentValuesCheck::ss, theResponseOfChargedWithEff, theResponseOfChargedWithoutEff, theSumEnergyWithEff, theSumEnergyWithoutEff, theSumPtForBeta, theSumPtWithEff, theSumPtWithoutEff, useElecs_, useMuons_, usePions_, vecResponse_, vectorial_, and verbose_.
Referenced by calculateCorr(), correction(), and pionEfficiency().
double JetPlusTrackCorrector::correction | ( | const reco::Jet & | fJet, |
const reco::Jet & | fJetcalo, | ||
const edm::Event & | event, | ||
const edm::EventSetup & | setup, | ||
const reco::TrackRefVector & | tracksinvert, | ||
const reco::TrackRefVector & | tracksincalo, | ||
P4 & | corrected, | ||
jpt::MatchedTracks & | pions, | ||
jpt::MatchedTracks & | muons, | ||
jpt::MatchedTracks & | elecs | ||
) |
Definition at line 119 of file JetPlusTrackCorrector.cc.
References checkScale(), elecCorrection(), matchTracks(), muonCorrection(), patZpeak::muons, reco::LeafCandidate::p4(), pionCorrection(), pileupReCalc_HLTpaths::scale, useElecs_, useMuons_, usePAT_, and usePions_.
|
inline |
Scalar correction method.
Definition at line 472 of file JetPlusTrackCorrector.h.
References correction().
double JetPlusTrackCorrector::correction | ( | const reco::Jet & | jet | ) | const |
Correction method (not used)
Definition at line 238 of file JetPlusTrackCorrector.cc.
double JetPlusTrackCorrector::correction | ( | const P4 & | jet | ) | const |
Correction method (not used)
Definition at line 245 of file JetPlusTrackCorrector.cc.
|
inlineprotected |
Definition at line 515 of file JetPlusTrackCorrector.h.
References efficiency_.
Referenced by pionCorrection().
JetPlusTrackCorrector::P4 JetPlusTrackCorrector::elecCorrection | ( | const P4 & | jet, |
const jpt::MatchedTracks & | elecs | ||
) | const |
Calculates correction to be applied using electrons.
Definition at line 776 of file JetPlusTrackCorrector.cc.
References jpt::MatchedTracks::inVertexInCalo_, jpt::MatchedTracks::inVertexOutOfCalo_, jpt::MatchedTracks::outOfVertexInCalo_, edm::RefVector< C, T, F >::size(), contentValuesCheck::ss, and verbose_.
Referenced by correction().
|
inlineprotected |
Calculates individual electron corrections.
Definition at line 500 of file JetPlusTrackCorrector.h.
References calculateCorr(), elecMass_, and not_used.
|
inline |
|
protected |
Exclude jet-track association.
Definition at line 1238 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::clear(), edm::RefVector< C, T, F >::empty(), edm::RefVector< C, T, F >::end(), spr::find(), reco::JetTracksAssociation::getValue(), jetSplitMerge_, edm::RefVector< C, T, F >::push_back(), and tracks.
Referenced by jtaUsingEventData().
|
protected |
Check on track quality.
Definition at line 608 of file JetPlusTrackCorrector.cc.
References dzVertexCut_, ptErrorQuality_, trackQuality_, useTrackQuality_, and vertex_.
Referenced by matchTracks().
|
protected |
Find track in JetTracks collection.
Definition at line 629 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), jpt::JetTracks::caloFace_, edm::RefVector< C, T, F >::end(), and spr::find().
Referenced by matchTracks().
|
protected |
Find track in MatchedTracks collections.
Definition at line 642 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), spr::find(), and jpt::MatchedTracks::inVertexInCalo_.
|
protected |
Get RECO electrons.
Definition at line 592 of file JetPlusTrackCorrector.cc.
References input_reco_elec_ids_token_, and input_reco_elecs_token_.
Referenced by matchTracks().
|
protected |
Definition at line 600 of file JetPlusTrackCorrector.cc.
References input_pat_elecs_token_.
|
protected |
Get RECO muons.
Definition at line 385 of file JetPlusTrackCorrector.cc.
References input_reco_muons_token_.
Referenced by matchTracks().
|
protected |
|
inline |
Get responses/sumPT/SumEnergy with and without Efficiency correction.
Definition at line 244 of file JetPlusTrackCorrector.h.
References theResponseOfChargedWithEff.
|
inline |
Definition at line 245 of file JetPlusTrackCorrector.h.
References theResponseOfChargedWithoutEff.
|
inline |
Definition at line 248 of file JetPlusTrackCorrector.h.
References theSumEnergyWithEff.
|
inline |
Definition at line 249 of file JetPlusTrackCorrector.h.
References theSumEnergyWithoutEff.
|
inline |
|
inline |
|
inline |
Definition at line 247 of file JetPlusTrackCorrector.h.
References theSumPtWithoutEff.
|
protected |
Calculates vectorial correction using total track 3-momentum.
Definition at line 796 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), alignCSCRings::corr, edm::RefVector< C, T, F >::empty(), edm::RefVector< C, T, F >::end(), jpt::MatchedTracks::inVertexInCalo_, and jpt::MatchedTracks::inVertexOutOfCalo_.
Referenced by correction().
|
protectedvirtual |
Associates tracks to jets (overriden in derived class)
Definition at line 299 of file JetPlusTrackCorrector.cc.
References jpt::JetTracks::clear(), edm::InputTag::instance(), jetTracksAtCalo_, jetTracksAtVertex_, jtaUsingEventData(), edm::InputTag::label(), and edm::InputTag::process().
Referenced by matchTracks().
|
protected |
JTA using collections from event.
Definition at line 324 of file JetPlusTrackCorrector.cc.
References jpt::JetTracks::caloFace_, edm::RefVector< C, T, F >::empty(), excludeJta(), edm::HandleBase::failedToGet(), reco::JetTracksAssociation::getValue(), input_jetTracksAtCalo_token_, input_jetTracksAtVertex_token_, edm::InputTag::instance(), edm::isDebugEnabled(), edm::HandleBase::isValid(), jetSplitMerge_, jetTracksAtCalo_, jetTracksAtVertex_, edm::InputTag::label(), edm::InputTag::process(), edm::Handle< T >::product(), rebuildJta(), verbose_, and jpt::JetTracks::vertex_.
Referenced by jetTrackAssociation().
|
inlineprotected |
Definition at line 516 of file JetPlusTrackCorrector.h.
References leakage_.
Referenced by pionCorrection().
|
protected |
Matches tracks to RECO electrons.
Definition at line 1126 of file JetPlusTrackCorrector.cc.
References reco::deltaR2(), alignCSCRings::e, and electronDRmatch_.
Referenced by matchTracks().
|
protected |
Definition at line 1153 of file JetPlusTrackCorrector.cc.
References reco::deltaR2(), and electronDRmatch_.
|
protected |
Matches tracks to RECO muons.
Definition at line 1076 of file JetPlusTrackCorrector.cc.
References edm::Ref< C, T, F >::id(), muon::isGoodMuon(), and muon::TMLastStationTight.
Referenced by matchTracks().
|
protected |
bool JetPlusTrackCorrector::matchTracks | ( | const reco::Jet & | fJet, |
const edm::Event & | event, | ||
const edm::EventSetup & | setup, | ||
jpt::MatchedTracks & | pions, | ||
jpt::MatchedTracks & | muons, | ||
jpt::MatchedTracks & | elecs | ||
) |
Matches tracks to different particle types.
Definition at line 268 of file JetPlusTrackCorrector.cc.
References jpt::JetTracks::caloFace_, jetTrackAssociation(), convertSQLiteXML::ok, edm::RefVector< C, T, F >::size(), contentValuesCheck::ss, verbose_, and jpt::JetTracks::vertex_.
Referenced by correction().
void JetPlusTrackCorrector::matchTracks | ( | const reco::Jet & | fJet, |
const edm::Event & | event, | ||
const edm::EventSetup & | setup, | ||
const reco::TrackRefVector & | tracksinvert, | ||
const reco::TrackRefVector & | tracksincalo, | ||
jpt::MatchedTracks & | pions, | ||
jpt::MatchedTracks & | muons, | ||
jpt::MatchedTracks & | elecs | ||
) |
Definition at line 252 of file JetPlusTrackCorrector.cc.
References jpt::JetTracks::caloFace_, matchTracks(), and jpt::JetTracks::vertex_.
Referenced by matchTracks().
|
protectedvirtual |
Matches tracks to different particle types (overriden in derived class)
Definition at line 397 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::begin(), jpt::JetTracks::caloFace_, jpt::MatchedTracks::clear(), edm::RefVector< C, T, F >::end(), failTrackQuality(), spr::find(), findTrack(), newFWLiteAna::found, getElectrons(), getMuons(), input_pvCollection_token_, jpt::MatchedTracks::inVertexInCalo_, jpt::MatchedTracks::inVertexOutOfCalo_, edm::isDebugEnabled(), edm::HandleBase::isValid(), gpuVertexFinder::iv, LogTrace, matchElectrons(), matchMuons(), jpt::MatchedTracks::outOfVertexInCalo_, edm::RefVector< C, T, F >::push_back(), findQualityFiles::rr, edm::RefVector< C, T, F >::size(), contentValuesCheck::ss, theSumPtForBeta, trackQuality_, tracksInCalo(), useElecs_, useMuons_, usePAT_, useTrackQuality_, verbose_, jpt::JetTracks::vertex_, and vertex_.
JetPlusTrackCorrector::P4 JetPlusTrackCorrector::muonCorrection | ( | const P4 & | jet, |
const jpt::MatchedTracks & | muons | ||
) |
Calculates correction to be applied using muons.
Definition at line 737 of file JetPlusTrackCorrector.cc.
References jpt::MatchedTracks::inVertexInCalo_, jpt::MatchedTracks::inVertexOutOfCalo_, jpt::MatchedTracks::outOfVertexInCalo_, edm::RefVector< C, T, F >::size(), contentValuesCheck::ss, useInConeTracks_, useOutOfConeTracks_, useOutOfVertexTracks_, and verbose_.
Referenced by correction().
|
inlineprotected |
Calculates individual muons corrections.
Definition at line 493 of file JetPlusTrackCorrector.h.
References calculateCorr(), muonMass_, and not_used.
JetPlusTrackCorrector::P4 JetPlusTrackCorrector::pionCorrection | ( | const P4 & | jet, |
const jpt::MatchedTracks & | pions | ||
) |
Calculates corrections to be applied using pions.
Definition at line 670 of file JetPlusTrackCorrector.cc.
References efficiencyMap(), jpt::MatchedTracks::inVertexInCalo_, jpt::MatchedTracks::inVertexOutOfCalo_, leakageMap(), not_used, jpt::MatchedTracks::outOfVertexInCalo_, pionEfficiency(), responseMap(), edm::RefVector< C, T, F >::size(), contentValuesCheck::ss, useEff_, useInConeTracks_, useOutOfConeTracks_, useOutOfVertexTracks_, and verbose_.
Referenced by correction().
|
inlineprotected |
Calculates individual pion corrections.
Definition at line 488 of file JetPlusTrackCorrector.h.
References calculateCorr(), and pionMass_.
|
protected |
Correction to be applied using tracking efficiency.
Definition at line 1012 of file JetPlusTrackCorrector.cc.
References jpt::Map::binCenterEta(), jpt::Map::binCenterPt(), alignCSCRings::corr, correction(), cuy::ii, jpt::Efficiency::inConeCorr(), metsig::jet, jpt::Map::nEtaBins(), jpt::Map::nPtBins(), jpt::Efficiency::nTrks(), jpt::Efficiency::outOfConeCorr(), pionMass_, response_, theResponseOfChargedWithEff, theSumEnergyWithEff, theSumPtWithEff, vecResponse_, and vectorial_.
Referenced by pionCorrection().
|
protected |
Rebuild jet-track association.
Definition at line 1171 of file JetPlusTrackCorrector.cc.
References reco::JetTracksAssociation::allJets(), edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::clear(), reco::deltaR2(), edm::RefVector< C, T, F >::end(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), reco::JetTracksAssociation::getValue(), cuy::ii, reco::btau::jetEta, reco::btau::jetPhi, jetSplitMerge_, reco::LeafCandidate::phi(), edm::RefVector< C, T, F >::push_back(), pileupReCalc_HLTpaths::scale, and tracks.
Referenced by jtaUsingEventData().
|
inlineprotected |
Definition at line 514 of file JetPlusTrackCorrector.h.
References response_.
Referenced by pionCorrection().
|
protected |
Determines if any tracks in cone at CaloFace.
Definition at line 658 of file JetPlusTrackCorrector.cc.
References edm::RefVector< C, T, F >::empty(), and jpt::MatchedTracks::inVertexInCalo_.
Referenced by matchTracks().
|
inline |
Returns value of configurable.
Definition at line 485 of file JetPlusTrackCorrector.h.
References vectorial_.
|
protected |
Definition at line 417 of file JetPlusTrackCorrector.h.
Referenced by failTrackQuality().
|
protected |
Definition at line 432 of file JetPlusTrackCorrector.h.
Referenced by correctAA(), and efficiencyMap().
|
protected |
Definition at line 444 of file JetPlusTrackCorrector.h.
Referenced by elecCorrection().
|
protected |
Definition at line 439 of file JetPlusTrackCorrector.h.
Referenced by matchElectrons().
|
protected |
Definition at line 423 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
protected |
Definition at line 422 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
private |
Definition at line 461 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), and jtaUsingEventData().
|
private |
Definition at line 460 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), and jtaUsingEventData().
|
private |
Definition at line 467 of file JetPlusTrackCorrector.h.
Referenced by getElectrons(), and JetPlusTrackCorrector().
|
private |
Definition at line 466 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
private |
Definition at line 463 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), and matchTracks().
|
private |
Definition at line 465 of file JetPlusTrackCorrector.h.
Referenced by getElectrons(), and JetPlusTrackCorrector().
|
private |
Definition at line 464 of file JetPlusTrackCorrector.h.
Referenced by getElectrons(), and JetPlusTrackCorrector().
|
private |
Definition at line 462 of file JetPlusTrackCorrector.h.
Referenced by getMuons(), and JetPlusTrackCorrector().
|
protected |
Definition at line 414 of file JetPlusTrackCorrector.h.
Referenced by excludeJta(), JetPlusTrackCorrector(), jtaUsingEventData(), and rebuildJta().
|
protected |
Definition at line 413 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), jetTrackAssociation(), and jtaUsingEventData().
|
protected |
Definition at line 412 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), jetTrackAssociation(), and jtaUsingEventData().
|
protected |
Definition at line 433 of file JetPlusTrackCorrector.h.
Referenced by leakageMap().
|
protected |
Definition at line 447 of file JetPlusTrackCorrector.h.
Referenced by canCorrect().
|
protected |
Definition at line 437 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 443 of file JetPlusTrackCorrector.h.
Referenced by muonCorrection().
|
protected |
Definition at line 438 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 436 of file JetPlusTrackCorrector.h.
|
protected |
Definition at line 421 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
protected |
Definition at line 455 of file JetPlusTrackCorrector.h.
Referenced by elecCorrection(), muonCorrection(), and pionCorrection().
|
protected |
Definition at line 425 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
protected |
Definition at line 424 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
protected |
Definition at line 442 of file JetPlusTrackCorrector.h.
Referenced by pionCorrection(), and pionEfficiency().
|
protected |
Definition at line 416 of file JetPlusTrackCorrector.h.
Referenced by failTrackQuality().
|
protected |
Definition at line 431 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correctAA(), pionEfficiency(), and responseMap().
|
protected |
Definition at line 415 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector().
|
protected |
Definition at line 448 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), getResponseOfChargedWithEff(), and pionEfficiency().
|
protected |
Definition at line 449 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), and getResponseOfChargedWithoutEff().
|
protected |
Definition at line 452 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), getSumEnergyWithEff(), and pionEfficiency().
|
protected |
Definition at line 453 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), and getSumEnergyWithoutEff().
|
protected |
Definition at line 454 of file JetPlusTrackCorrector.h.
Referenced by correction(), getSumPtForBeta(), and matchTracks().
|
protected |
Definition at line 450 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), getSumPtWithEff(), and pionEfficiency().
|
protected |
Definition at line 451 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), and getSumPtWithoutEff().
|
protected |
Definition at line 428 of file JetPlusTrackCorrector.h.
Referenced by failTrackQuality(), and matchTracks().
|
protected |
Definition at line 406 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), and pionCorrection().
|
protected |
Definition at line 408 of file JetPlusTrackCorrector.h.
Referenced by correction(), JetPlusTrackCorrector(), and matchTracks().
|
protected |
Definition at line 402 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), muonCorrection(), and pionCorrection().
|
protected |
Definition at line 407 of file JetPlusTrackCorrector.h.
Referenced by correction(), JetPlusTrackCorrector(), and matchTracks().
|
protected |
Definition at line 403 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), muonCorrection(), and pionCorrection().
|
protected |
Definition at line 404 of file JetPlusTrackCorrector.h.
Referenced by JetPlusTrackCorrector(), muonCorrection(), and pionCorrection().
|
protected |
Definition at line 399 of file JetPlusTrackCorrector.h.
Referenced by correction(), JetPlusTrackCorrector(), and matchTracks().
|
protected |
Definition at line 405 of file JetPlusTrackCorrector.h.
Referenced by correction(), and JetPlusTrackCorrector().
|
protected |
Definition at line 409 of file JetPlusTrackCorrector.h.
Referenced by failTrackQuality(), JetPlusTrackCorrector(), and matchTracks().
|
protected |
Definition at line 401 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), JetPlusTrackCorrector(), and pionEfficiency().
|
protected |
Definition at line 400 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), JetPlusTrackCorrector(), pionEfficiency(), and vectorialCorrection().
|
protected |
Definition at line 398 of file JetPlusTrackCorrector.h.
Referenced by calculateCorr(), correction(), elecCorrection(), JetPlusTrackCorrector(), jtaUsingEventData(), matchTracks(), muonCorrection(), and pionCorrection().
|
protected |
Definition at line 418 of file JetPlusTrackCorrector.h.
Referenced by failTrackQuality(), and matchTracks().