#include <EgammaTrackExtractor.h>
Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &muon) const override |
EgammaTrackExtractor () | |
EgammaTrackExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
EgammaTrackExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override |
virtual reco::IsoDeposit::Vetos | vetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
~EgammaTrackExtractor () override | |
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::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... | |
Private Member Functions | |
reco::IsoDeposit::Veto | veto (const reco::IsoDeposit::Direction &dir) const |
Private Attributes | |
edm::InputTag | barrelEcalHitsTag_ |
"NONE", "BeamSpotFromEvent" More... | |
int | dzOption |
std::string | dzOptionString |
Endcap requirements to determine if isolated for selective filling. More... | |
edm::InputTag | endcapEcalHitsTag_ |
double | minCandEt_ |
name for deposit More... | |
std::vector< double > | paramForIsolBarrel_ |
min track pt to include into iso deposit More... | |
std::vector< double > | paramForIsolEndcap_ |
Barrel requirements to determine if isolated for selective filling. More... | |
std::string | theBeamlineOption |
Veto cone angle. More... | |
edm::EDGetTokenT< reco::BeamSpot > | theBeamSpotToken |
double | theChi2Ndof_Max |
trk.numberOfValidHits >= theNHits_Min More... | |
double | theChi2Prob_Min |
trk.normalizedChi2 < theChi2Ndof_Max More... | |
std::string | theDepositLabel |
Track Collection Label. More... | |
double | theDiff_r |
minimum candidate et More... | |
double | theDiff_z |
transverse distance to vertex More... | |
double | theDR_Max |
z distance to vertex More... | |
double | theDR_Veto |
Maximum cone angle for deposits. More... | |
unsigned int | theNHits_Min |
BeamSpot name. More... | |
double | thePt_Min |
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min. More... | |
edm::EDGetTokenT< edm::View< reco::Track > > | theTrackCollectionToken |
Definition at line 19 of file EgammaTrackExtractor.h.
|
inline |
|
inline |
Definition at line 24 of file EgammaTrackExtractor.h.
References EgammaTrackExtractor().
EgammaTrackExtractor::EgammaTrackExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 28 of file EgammaTrackExtractor.cc.
References egammaisolation::EgammaTrackSelector::bs, egammaisolation::EgammaTrackSelector::dz, dzOption, dzOptionString, egammaisolation::EgammaTrackSelector::vtx, and egammaisolation::EgammaTrackSelector::vz.
|
inlineoverride |
Definition at line 28 of file EgammaTrackExtractor.h.
|
inlineoverridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 36 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
overridevirtual |
make single IsoDeposit based on a candidate as input purely virtual: have to implement in concrete implementations
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 66 of file EgammaTrackExtractor.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, egammaisolation::EgammaTrackSelector::bs, ChiSquaredProbability(), reco::isodeposit::Direction::deltaR(), deposit(), egammaisolation::EgammaTrackSelector::dz, pfChMet_cfi::dzCut, dzOption, reco::Candidate::et(), reco::Candidate::eta(), reco::GsfElectron::gsfTrack(), reco::Candidate::isElectron(), edm::HandleBase::isValid(), metname, reco::Candidate::phi(), reco::BeamSpot::position(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamlineOption, theBeamSpotToken, theChi2Ndof_Max, theChi2Prob_Min, theDiff_r, theDiff_z, theDR_Max, theNHits_Min, thePt_Min, theTrackCollectionToken, reco::Candidate::vertex(), veto(), egammaisolation::EgammaTrackSelector::vtx, and egammaisolation::EgammaTrackSelector::vz.
|
inlineoverridevirtual |
fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 30 of file EgammaTrackExtractor.h.
References ev, HiIsolationCommonParameters_cff::track, and vetos().
|
private |
Definition at line 58 of file EgammaTrackExtractor.cc.
References dir, reco::IsoDeposit::Veto::dR, mps_fire::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by deposit(), and vetos().
|
virtual |
Definition at line 51 of file EgammaTrackExtractor.cc.
References dir, reco::TrackBase::eta(), reco::TrackBase::phi(), and veto().
Referenced by fillVetos().
|
private |
"NONE", "BeamSpotFromEvent"
Definition at line 58 of file EgammaTrackExtractor.h.
|
private |
Definition at line 68 of file EgammaTrackExtractor.h.
Referenced by deposit(), and EgammaTrackExtractor().
|
private |
Endcap requirements to determine if isolated for selective filling.
Definition at line 67 of file EgammaTrackExtractor.h.
Referenced by EgammaTrackExtractor().
|
private |
Definition at line 59 of file EgammaTrackExtractor.h.
|
private |
name for deposit
Definition at line 52 of file EgammaTrackExtractor.h.
|
private |
min track pt to include into iso deposit
Definition at line 65 of file EgammaTrackExtractor.h.
|
private |
Barrel requirements to determine if isolated for selective filling.
Definition at line 66 of file EgammaTrackExtractor.h.
|
private |
|
private |
Definition at line 60 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
private |
trk.numberOfValidHits >= theNHits_Min
Definition at line 62 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
private |
trk.normalizedChi2 < theChi2Ndof_Max
Definition at line 63 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
private |
Track Collection Label.
Definition at line 51 of file EgammaTrackExtractor.h.
|
private |
|
private |
transverse distance to vertex
Definition at line 54 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
private |
|
private |
Maximum cone angle for deposits.
Definition at line 56 of file EgammaTrackExtractor.h.
Referenced by veto().
|
private |
|
private |
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition at line 64 of file EgammaTrackExtractor.h.
Referenced by deposit().
|
private |
Definition at line 50 of file EgammaTrackExtractor.h.
Referenced by deposit().