#include <TCTauAlgorithm.h>
Public Types | |
enum | { TCAlgoUndetermined, TCAlgoMomentum, TCAlgoTrackProblem, TCAlgoMomentumECAL, TCAlgoCaloJet, TCAlgoHadronicJet } |
Public Member Functions | |
int | algoComponent () |
int | allTauCandidates () |
double | efficiency () |
void | eventSetup (const edm::Event &, const edm::EventSetup &) |
void | inputConfig (const edm::ParameterSet &iConfig) |
math::XYZTLorentzVector | recalculateEnergy (const reco::CaloTau &) |
math::XYZTLorentzVector | recalculateEnergy (const reco::CaloJet &, const reco::TrackRef &, const reco::TrackRefVector &) |
int | statistics () |
TCTauAlgorithm () | |
TCTauAlgorithm (const edm::ParameterSet &) | |
~TCTauAlgorithm () | |
Private Member Functions | |
math::XYZVector | getCellMomentum (const CaloCellGeometry *, double &) |
std::pair< math::XYZVector, math::XYZVector > | getClusterEnergy (const reco::CaloJet &, math::XYZVector &, double) |
void | init () |
math::XYZVector | trackEcalHitPoint (const reco::TransientTrack &, const reco::CaloJet &) |
math::XYZVector | trackEcalHitPoint (const reco::Track &) |
Definition at line 45 of file TCTauAlgorithm.h.
anonymous enum |
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 | ) |
Definition at line 19 of file TCTauAlgorithm.cc.
References init.
TCTauAlgorithm::~TCTauAlgorithm | ( | ) |
Definition at line 24 of file TCTauAlgorithm.cc.
int TCTauAlgorithm::algoComponent | ( | ) |
int TCTauAlgorithm::allTauCandidates | ( | ) |
Definition at line 72 of file TCTauAlgorithm.cc.
References cond::ecalcond::all.
Referenced by TCTauCorrector::allTauCandidates().
double TCTauAlgorithm::efficiency | ( | ) |
Definition at line 64 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 80 of file TCTauAlgorithm.cc.
References egHLT::errCodes::EBRecHits, DetId::Ecal, EcalBarrel, EcalEndcap, egHLT::errCodes::EERecHits, geometry, edm::EventSetup::get(), edm::Event::getByLabel(), egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, egHLT::errCodes::HFRecHits, iEvent, edm::ESHandle< class >::product(), and HcalObjRepresent::setup().
Referenced by TCTauCorrector::eventSetup().
|
private |
Definition at line 352 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 252 of file TCTauAlgorithm.cc.
References DetId::det(), egHLT::errCodes::EBRecHits, DetId::Ecal, egHLT::errCodes::EERecHits, relval_parameters_module::energy, reco::CaloJet::getCaloConstituents(), egHLT::errCodes::HBHERecHits, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, 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 | ) |
Definition at line 40 of file TCTauAlgorithm.cc.
References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
Referenced by TCTauCorrector::inputConfig().
math::XYZTLorentzVector TCTauAlgorithm::recalculateEnergy | ( | const reco::CaloTau & | jet | ) |
Definition at line 111 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(), and TCTauCorrector::correction().
math::XYZTLorentzVector TCTauAlgorithm::recalculateEnergy | ( | const reco::CaloJet & | caloJet, |
const reco::TrackRef & | leadTk, | ||
const reco::TrackRefVector & | associatedTracks | ||
) |
Definition at line 124 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 | ( | ) |
Definition at line 68 of file TCTauAlgorithm.cc.
Referenced by TCTauCorrector::statistics().
|
private |
Definition at line 215 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 242 of file TCTauAlgorithm.cc.
References event(), info(), TrackDetMatchInfo::isGoodEcal, HcalObjRepresent::setup(), and TrackDetMatchInfo::trkGlobPosAtEcal.
|
private |
Definition at line 89 of file TCTauAlgorithm.h.
|
private |
Definition at line 86 of file TCTauAlgorithm.h.
|
private |
Definition at line 93 of file TCTauAlgorithm.h.
|
private |
Definition at line 94 of file TCTauAlgorithm.h.
|
private |
Definition at line 112 of file TCTauAlgorithm.h.
|
private |
Definition at line 119 of file TCTauAlgorithm.h.
|
private |
Definition at line 99 of file TCTauAlgorithm.h.
|
private |
Definition at line 106 of file TCTauAlgorithm.h.
|
private |
Definition at line 107 of file TCTauAlgorithm.h.
|
private |
Definition at line 113 of file TCTauAlgorithm.h.
|
private |
Definition at line 120 of file TCTauAlgorithm.h.
|
private |
Definition at line 101 of file TCTauAlgorithm.h.
|
private |
Definition at line 101 of file TCTauAlgorithm.h.
|
private |
Definition at line 101 of file TCTauAlgorithm.h.
|
private |
Definition at line 101 of file TCTauAlgorithm.h.
|
private |
Definition at line 72 of file TCTauAlgorithm.h.
Referenced by Types.EventID::cppID().
|
private |
Definition at line 114 of file TCTauAlgorithm.h.
|
private |
Definition at line 122 of file TCTauAlgorithm.h.
|
private |
Definition at line 108 of file TCTauAlgorithm.h.
|
private |
Definition at line 115 of file TCTauAlgorithm.h.
|
private |
Definition at line 117 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 116 of file TCTauAlgorithm.h.
|
private |
Definition at line 123 of file TCTauAlgorithm.h.
|
private |
Definition at line 109 of file TCTauAlgorithm.h.
|
private |
Definition at line 86 of file TCTauAlgorithm.h.
|
private |
Definition at line 91 of file TCTauAlgorithm.h.
|
private |
Definition at line 73 of file TCTauAlgorithm.h.
|
private |
Definition at line 98 of file TCTauAlgorithm.h.
|
private |
Definition at line 75 of file TCTauAlgorithm.h.
|
private |
Definition at line 74 of file TCTauAlgorithm.h.
|
private |
Definition at line 96 of file TCTauAlgorithm.h.