#include <TCTauAlgorithm.h>
Public Types | |
enum | TCAlgo { TCAlgoUndetermined, TCAlgoMomentum, TCAlgoTrackProblem, TCAlgoMomentumECAL, TCAlgoCaloJet, TCAlgoHadronicJet } |
Public Member Functions | |
int | allTauCandidates () const |
double | efficiency () const |
void | eventSetup (const edm::Event &, const edm::EventSetup &) |
void | inputConfig (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) |
math::XYZTLorentzVector | recalculateEnergy (const reco::CaloTau &, TCAlgo &) const |
math::XYZTLorentzVector | recalculateEnergy (const reco::CaloTau &tau) const |
math::XYZTLorentzVector | recalculateEnergy (const reco::CaloJet &, const reco::TrackRef &, const reco::TrackRefVector &, TCAlgo &) const |
int | statistics () const |
TCTauAlgorithm () | |
TCTauAlgorithm (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
~TCTauAlgorithm () | |
Private Member Functions | |
math::XYZVector | getCellMomentum (const CaloCellGeometry *, double &) const |
std::pair< math::XYZVector, math::XYZVector > | getClusterEnergy (const reco::CaloJet &, math::XYZVector &, double) const |
void | init () |
math::XYZVector | trackEcalHitPoint (const reco::TransientTrack &, const reco::CaloJet &) const |
math::XYZVector | trackEcalHitPoint (const reco::Track &) const |
Definition at line 45 of file TCTauAlgorithm.h.
Enumerator | |
---|---|
TCAlgoUndetermined | |
TCAlgoMomentum | |
TCAlgoTrackProblem | |
TCAlgoMomentumECAL | |
TCAlgoCaloJet | |
TCAlgoHadronicJet |
Definition at line 47 of file TCTauAlgorithm.h.
TCTauAlgorithm::TCTauAlgorithm | ( | ) |
Definition at line 15 of file TCTauAlgorithm.cc.
References init.
TCTauAlgorithm::TCTauAlgorithm | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 19 of file TCTauAlgorithm.cc.
References init.
TCTauAlgorithm::~TCTauAlgorithm | ( | ) |
Definition at line 24 of file TCTauAlgorithm.cc.
int TCTauAlgorithm::allTauCandidates | ( | ) | const |
Definition at line 71 of file TCTauAlgorithm.cc.
References cond::ecalcond::all.
Referenced by TCTauCorrector::allTauCandidates().
double TCTauAlgorithm::efficiency | ( | ) | const |
Definition at line 63 of file TCTauAlgorithm.cc.
References cond::ecalcond::all.
Referenced by TCTauCorrector::efficiency().
void TCTauAlgorithm::eventSetup | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 75 of file TCTauAlgorithm.cc.
References egHLT::errCodes::EBRecHits, DetId::Ecal, EcalBarrel, EcalEndcap, HWWFunctions::EE, egHLT::errCodes::EERecHits, geometry, edm::EventSetup::get(), edm::Event::getByLabel(), egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HF, egHLT::errCodes::HFRecHits, iEvent, edm::ESHandle< class >::product(), and HcalObjRepresent::setup().
Referenced by TCTauCorrector::eventSetup().
|
private |
Definition at line 347 of file TCTauAlgorithm.cc.
References funct::cos(), CaloCellGeometry::getPosition(), phi, PV3DBase< T, PVType, FrameType >::phi(), funct::sin(), PV3DBase< T, PVType, FrameType >::theta(), and theta().
|
private |
Definition at line 247 of file TCTauAlgorithm.cc.
References DetId::det(), egHLT::errCodes::EBRecHits, DetId::Ecal, ecaldqm::ecalID(), HWWFunctions::EE, egHLT::errCodes::EERecHits, relval_parameters_module::energy, reco::CaloJet::getCaloConstituents(), egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HF, egHLT::errCodes::HFRecHits, i, j, and DetId::subdetId().
|
private |
Definition at line 26 of file TCTauAlgorithm.cc.
References cond::ecalcond::all, and HcalObjRepresent::setup().
void TCTauAlgorithm::inputConfig | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 39 of file TCTauAlgorithm.cc.
References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
Referenced by TCTauCorrector::inputConfig().
math::XYZTLorentzVector TCTauAlgorithm::recalculateEnergy | ( | const reco::CaloTau & | jet, |
TCAlgo & | algoComponentUsed | ||
) | const |
Definition at line 106 of file TCTauAlgorithm.cc.
References reco::CaloTau::caloTauTagInfoRef(), edm::Ref< C, T, F >::get(), reco::BaseTau::leadTrack(), reco::LeafCandidate::p4(), and reco::LeafCandidate::setP4().
Referenced by TCTauCorrector::correctedP4(), TCTauCorrector::correction(), and recalculateEnergy().
|
inline |
Definition at line 60 of file TCTauAlgorithm.h.
References recalculateEnergy(), and TCAlgoUndetermined.
math::XYZTLorentzVector TCTauAlgorithm::recalculateEnergy | ( | const reco::CaloJet & | caloJet, |
const reco::TrackRef & | leadTk, | ||
const reco::TrackRefVector & | associatedTracks, | ||
TCAlgo & | algoComponentUsed | ||
) | const |
Definition at line 119 of file TCTauAlgorithm.cc.
References cond::ecalcond::all, edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), reco::LeafCandidate::energy(), edm::Ref< C, T, F >::isNull(), p4, reco::LeafCandidate::p4(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
int TCTauAlgorithm::statistics | ( | ) | const |
|
private |
Definition at line 210 of file TCTauAlgorithm.cc.
References reco::CaloJet::getCaloConstituents(), TrajectoryStateOnSurface::globalPosition(), reco::TransientTrack::stateOnSurface(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 237 of file TCTauAlgorithm.cc.
References event(), info(), TrackDetMatchInfo::isGoodEcal, HcalObjRepresent::setup(), and TrackDetMatchInfo::trkGlobPosAtEcal.
|
mutableprivate |
Definition at line 90 of file TCTauAlgorithm.h.
|
private |
Definition at line 95 of file TCTauAlgorithm.h.
|
private |
Definition at line 96 of file TCTauAlgorithm.h.
|
private |
Definition at line 114 of file TCTauAlgorithm.h.
|
private |
Definition at line 121 of file TCTauAlgorithm.h.
|
private |
Definition at line 101 of file TCTauAlgorithm.h.
|
private |
Definition at line 108 of file TCTauAlgorithm.h.
|
private |
Definition at line 109 of file TCTauAlgorithm.h.
|
private |
Definition at line 115 of file TCTauAlgorithm.h.
|
private |
Definition at line 122 of file TCTauAlgorithm.h.
|
private |
Definition at line 103 of file TCTauAlgorithm.h.
|
private |
Definition at line 103 of file TCTauAlgorithm.h.
|
private |
Definition at line 103 of file TCTauAlgorithm.h.
|
private |
Definition at line 103 of file TCTauAlgorithm.h.
|
private |
Definition at line 75 of file TCTauAlgorithm.h.
Referenced by Types.EventID::cppID().
|
private |
Definition at line 116 of file TCTauAlgorithm.h.
|
private |
Definition at line 124 of file TCTauAlgorithm.h.
|
private |
Definition at line 110 of file TCTauAlgorithm.h.
|
private |
Definition at line 117 of file TCTauAlgorithm.h.
|
private |
Definition at line 119 of file TCTauAlgorithm.h.
|
private |
Definition at line 126 of file TCTauAlgorithm.h.
|
private |
Definition at line 112 of file TCTauAlgorithm.h.
|
private |
Definition at line 118 of file TCTauAlgorithm.h.
|
private |
Definition at line 125 of file TCTauAlgorithm.h.
|
private |
Definition at line 111 of file TCTauAlgorithm.h.
|
mutableprivate |
Definition at line 90 of file TCTauAlgorithm.h.
|
private |
Definition at line 93 of file TCTauAlgorithm.h.
|
private |
Definition at line 76 of file TCTauAlgorithm.h.
|
private |
Definition at line 100 of file TCTauAlgorithm.h.
|
private |
Definition at line 78 of file TCTauAlgorithm.h.
|
private |
Definition at line 77 of file TCTauAlgorithm.h.
|
private |
Definition at line 98 of file TCTauAlgorithm.h.