#include <CaloExtractor.h>
Public Member Functions | |
CaloExtractor () | |
CaloExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
virtual void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) |
virtual | ~CaloExtractor () |
Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
make single IsoDeposit based on trackRef as input More... | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
make single IsoDeposit based on a CandidateBaseRef as input More... | |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
virtual void | initEvent (const edm::Event &, const edm::EventSetup &) |
perform some constly initialization More... | |
virtual | ~IsoDepositExtractor () |
Destructor. More... | |
Static Public Member Functions | |
static GlobalPoint | MuonAtCaloPosition (const reco::Track &muon, const double bz, const GlobalPoint &endpos, bool fixVxy=false, bool fixVz=false) |
Extrapolate muons to calorimeter-object positions. More... | |
Private Member Functions | |
double | noiseEcal (const CaloTower &tower) const |
double | noiseHcal (const CaloTower &tower) const |
Private Attributes | |
edm::EDGetTokenT< CaloTowerCollection > | theCaloTowerCollectionToken |
std::string | theDepositLabel |
double | theDR_Max |
double | theDR_Veto_E |
double | theDR_Veto_H |
double | theThreshold_E |
double | theThreshold_H |
std::vector< DetId > | theVetoCollection |
double | theWeight_E |
double | theWeight_H |
bool | vertexConstraintFlag_XY |
bool | vertexConstraintFlag_Z |
Definition at line 20 of file CaloExtractor.h.
|
inline |
Definition at line 24 of file CaloExtractor.h.
CaloExtractor::CaloExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 22 of file CaloExtractor.cc.
|
inlinevirtual |
Definition at line 27 of file CaloExtractor.h.
References deposit(), ev, fillVetos(), MuonAtCaloPosition(), HiIsolationCommonParameters_cff::track, and l1t::tracks.
|
virtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
make this abit faster
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 89 of file CaloExtractor.cc.
References edm::SortedCollection< T, SORT >::begin(), ecalTB2006H4_GenSimDigiReco_cfg::bField, reco::deltaR(), edm::SortedCollection< T, SORT >::end(), PV3DBase< T, PVType, FrameType >::eta(), reco::TrackBase::eta(), spr::find(), edm::EventSetup::get(), CaloGeometry::getPosition(), MagneticField::inInverseGeV(), LogDebug, MuonAtCaloPosition(), noiseEcal(), noiseHcal(), PV3DBase< T, PVType, FrameType >::phi(), reco::TrackBase::phi(), reco::TrackBase::pt(), theCaloTowerCollectionToken, theDR_Max, theDR_Veto_E, theDR_Veto_H, theThreshold_E, theThreshold_H, theVetoCollection, theWeight_E, theWeight_H, vertexConstraintFlag_XY, vertexConstraintFlag_Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ~CaloExtractor().
|
virtual |
fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !
make this abit faster
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 37 of file CaloExtractor.cc.
References edm::SortedCollection< T, SORT >::begin(), ecalTB2006H4_GenSimDigiReco_cfg::bField, reco::deltaR(), edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), CaloGeometry::getPosition(), MagneticField::inInverseGeV(), RPCpg::mu, MuonAtCaloPosition(), noiseEcal(), noiseHcal(), theCaloTowerCollectionToken, theDR_Max, theDR_Veto_E, theDR_Veto_H, theThreshold_E, theThreshold_H, theVetoCollection, theWeight_E, theWeight_H, vertexConstraintFlag_XY, vertexConstraintFlag_Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ~CaloExtractor().
|
static |
Extrapolate muons to calorimeter-object positions.
Definition at line 197 of file CaloExtractor.cc.
References reco::TrackBase::charge(), funct::cos(), reco::TrackBase::covariance(), reco::TrackBase::dsz(), reco::TrackBase::dxy(), allConversions_cfi::dz, reco::TrackBase::dz(), reco::TrackBase::i_dsz, reco::TrackBase::i_dxy, reco::TrackBase::i_lambda, reco::TrackBase::i_phi, reco::TrackBase::i_qoverp, normalizedPhi(), reco::TrackBase::p(), reco::TrackBase::phi(), funct::pow(), reco::TrackBase::pt(), reco::TrackBase::qoverp(), funct::sin(), funct::tan(), theta(), reco::TrackBase::theta(), reco::TrackBase::vx(), reco::TrackBase::vy(), PV3DBase< T, PVType, FrameType >::x(), x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by deposit(), fillVetos(), and ~CaloExtractor().
|
private |
Definition at line 290 of file CaloExtractor.cc.
References stringResolutionProvider_cfi::eta, and reco::LeafCandidate::eta().
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 297 of file CaloExtractor.cc.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 37 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 40 of file CaloExtractor.h.
|
private |
Definition at line 49 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 47 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 48 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 45 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 46 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 54 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 43 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 44 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 50 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().
|
private |
Definition at line 51 of file CaloExtractor.h.
Referenced by deposit(), and fillVetos().