#include <TrackExtractor.h>
Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override |
TrackExtractor () | |
TrackExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
virtual reco::IsoDeposit::Vetos | vetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
~TrackExtractor () 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::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... | |
Private Member Functions | |
reco::IsoDeposit::Veto | veto (const reco::IsoDeposit::Direction &dir) const |
Private Attributes | |
std::string | theBeamlineOption |
Veto cone angle. More... | |
edm::EDGetTokenT< reco::BeamSpot > | theBeamSpotToken |
"NONE", "BeamSpotFromEvent" More... | |
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 |
name for deposit 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< reco::TrackCollection > | theTrackCollectionToken |
Definition at line 18 of file TrackExtractor.h.
|
inline |
Definition at line 20 of file TrackExtractor.h.
TrackExtractor::TrackExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 15 of file TrackExtractor.cc.
|
inlineoverride |
Definition at line 23 of file TrackExtractor.h.
|
overridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 43 of file TrackExtractor.cc.
References pwdgSkimBPark_cfi::beamSpot, reco::TrackBase::eta(), edm::HandleBase::isValid(), LogTrace, metname, reco::TrackBase::phi(), reco::BeamSpot::position(), reco::TrackBase::pt(), corrVsCorr::selection, AlCaHLTBitMon_QueryRunRegistry::string, theBeamlineOption, theBeamSpotToken, theChi2Ndof_Max, theChi2Prob_Min, theDiff_r, theDiff_z, theDR_Max, theNHits_Min, thePt_Min, theTrackCollectionToken, veto(), and reco::TrackBase::vz().
Referenced by fillVetos().
|
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 25 of file TrackExtractor.h.
References deposit(), DeadROC_duringRun::dir, ev, HLT_2018_cff::track, veto(), and vetos().
|
private |
Definition at line 36 of file TrackExtractor.cc.
References DeadROC_duringRun::dir, reco::IsoDeposit::Veto::dR, mps_fire::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by deposit(), fillVetos(), and vetos().
|
virtual |
Definition at line 29 of file TrackExtractor.cc.
References DeadROC_duringRun::dir, reco::TrackBase::eta(), reco::TrackBase::phi(), and veto().
Referenced by fillVetos().
|
private |
|
private |
"NONE", "BeamSpotFromEvent"
Definition at line 47 of file TrackExtractor.h.
Referenced by deposit().
|
private |
trk.numberOfValidHits >= theNHits_Min
Definition at line 49 of file TrackExtractor.h.
Referenced by deposit().
|
private |
trk.normalizedChi2 < theChi2Ndof_Max
Definition at line 50 of file TrackExtractor.h.
Referenced by deposit().
|
private |
Track Collection Label.
Definition at line 41 of file TrackExtractor.h.
|
private |
|
private |
transverse distance to vertex
Definition at line 43 of file TrackExtractor.h.
Referenced by deposit().
|
private |
|
private |
Maximum cone angle for deposits.
Definition at line 45 of file TrackExtractor.h.
Referenced by veto().
|
private |
|
private |
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition at line 51 of file TrackExtractor.h.
Referenced by deposit().
|
private |
Definition at line 40 of file TrackExtractor.h.
Referenced by deposit().