#include <TCTauCorrector.h>
Public Member Functions | |
int | algoComponent () |
int | allTauCandidates () |
math::XYZTLorentzVector | correctedP4 (const reco::CaloTau &) const |
virtual double | correction (const math::XYZTLorentzVector &) const |
get correction using Jet information only More... | |
double | correction (const reco::CaloTau &) const |
double | efficiency () |
virtual bool | eventRequired () const |
if correction needs event information More... | |
void | eventSetup (const edm::Event &, const edm::EventSetup &) const |
void | inputConfig (const edm::ParameterSet &, edm::ConsumesCollector &) const |
int | statistics () |
TCTauCorrector () | |
TCTauCorrector (const edm::ParameterSet &fParameters, edm::ConsumesCollector &&iC) | |
virtual | ~TCTauCorrector () |
Public Member Functions inherited from JetCorrector | |
virtual double | correction (const reco::Jet &fJet) const =0 |
apply correction using Jet information only More... | |
virtual double | correction (const reco::Jet &fJet, const edm::Event &fEvent, const edm::EventSetup &fSetup) const |
apply correction using all event information More... | |
virtual double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup) const |
apply correction using all event information More... | |
virtual double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup, LorentzVector &corrected) const |
Apply vectorial correction using all event information. More... | |
JetCorrector () | |
virtual bool | refRequired () const =0 |
if correction needs the jet reference More... | |
virtual bool | vectorialCorrection () const |
if vectorial correction is provided More... | |
virtual | ~JetCorrector () |
Private Member Functions | |
void | init () |
Private Attributes | |
TCTauAlgorithm * | tcTauAlgorithm |
Additional Inherited Members | |
Public Types inherited from JetCorrector | |
typedef reco::Particle::LorentzVector | LorentzVector |
Static Public Member Functions inherited from JetCorrector | |
static const JetCorrector * | getJetCorrector (const std::string &fName, const edm::EventSetup &fSetup) |
retrieve corrector from the event setup. troughs exception if something is missing More... | |
tau energy corrections from tracks and calo info
16.4.2008/S.Lehti
Definition at line 21 of file TCTauCorrector.h.
TCTauCorrector::TCTauCorrector | ( | ) |
Definition at line 3 of file TCTauCorrector.cc.
References init().
TCTauCorrector::TCTauCorrector | ( | const edm::ParameterSet & | fParameters, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 6 of file TCTauCorrector.cc.
References init(), and inputConfig().
|
virtual |
int TCTauCorrector::algoComponent | ( | ) |
Definition at line 81 of file TCTauCorrector.cc.
References TCTauAlgorithm::algoComponent(), and tcTauAlgorithm.
int TCTauCorrector::allTauCandidates | ( | ) |
Definition at line 73 of file TCTauCorrector.cc.
References TCTauAlgorithm::allTauCandidates(), and tcTauAlgorithm.
math::XYZTLorentzVector TCTauCorrector::correctedP4 | ( | const reco::CaloTau & | fJet | ) | const |
Definition at line 26 of file TCTauCorrector.cc.
References TCTauAlgorithm::recalculateEnergy(), and tcTauAlgorithm.
|
virtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 36 of file TCTauCorrector.cc.
double TCTauCorrector::correction | ( | const reco::CaloTau & | fJet | ) | const |
Definition at line 57 of file TCTauCorrector.cc.
References reco::LeafCandidate::et(), TCTauAlgorithm::recalculateEnergy(), and tcTauAlgorithm.
double TCTauCorrector::efficiency | ( | ) |
Definition at line 69 of file TCTauCorrector.cc.
References TCTauAlgorithm::efficiency(), and tcTauAlgorithm.
|
virtual |
if correction needs event information
Implements JetCorrector.
Definition at line 65 of file TCTauCorrector.cc.
void TCTauCorrector::eventSetup | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 22 of file TCTauCorrector.cc.
References TCTauAlgorithm::eventSetup(), and tcTauAlgorithm.
|
private |
Definition at line 14 of file TCTauCorrector.cc.
References tcTauAlgorithm.
Referenced by TCTauCorrector().
void TCTauCorrector::inputConfig | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) | const |
Definition at line 18 of file TCTauCorrector.cc.
References TCTauAlgorithm::inputConfig(), and tcTauAlgorithm.
Referenced by TCTauCorrector().
int TCTauCorrector::statistics | ( | ) |
Definition at line 77 of file TCTauCorrector.cc.
References TCTauAlgorithm::statistics(), and tcTauAlgorithm.
|
private |
Definition at line 49 of file TCTauCorrector.h.
Referenced by algoComponent(), allTauCandidates(), correctedP4(), correction(), efficiency(), eventSetup(), init(), inputConfig(), statistics(), and ~TCTauCorrector().