#include <PixelTrackExtractor.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 |
PixelTrackExtractor () | |
PixelTrackExtractor (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 |
~PixelTrackExtractor () 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::Direction | directionAtPresetRadius (const reco::Track &tk, double bz) const |
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 Token. 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... | |
double | theDR_VetoPt |
.. it is above this threshold More... | |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | theFieldToken |
unsigned int | theNHits_Min |
BeamSpot name. More... | |
bool | thePropagateTracksToRadius |
min track pt to include into iso deposit More... | |
double | thePt_Min |
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min. More... | |
double | thePtVeto_Min |
will veto leading track if More... | |
double | theReferenceRadius |
If set to true will compare track eta-phi at ... More... | |
edm::EDGetTokenT < reco::TrackCollection > | theTrackCollectionToken |
bool | theVetoLeadingTrack |
... this radius More... | |
Definition at line 20 of file PixelTrackExtractor.h.
|
inline |
Definition at line 22 of file PixelTrackExtractor.h.
PixelTrackExtractor::PixelTrackExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 17 of file PixelTrackExtractor.cc.
|
inlineoverride |
Definition at line 25 of file PixelTrackExtractor.h.
|
overridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Note, this can be reset below if theVetoLeadingTrack is set and conditions are met
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 68 of file PixelTrackExtractor.cc.
References reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), beam_dqm_sourceclient-live_cfg::beamSpot, ecalTB2006H4_GenSimDigiReco_cfg::bField, HLT_FULL_cff::deltaR, directionAtPresetRadius(), reco::isodeposit::Direction::eta(), reco::TrackBase::eta(), edm::EventSetup::getData(), edm::HandleBase::isValid(), LogTrace, metname, reco::isodeposit::Direction::phi(), reco::TrackBase::phi(), reco::TrackBase::pt(), corrVsCorr::selection, reco::IsoDeposit::setVeto(), AlCaHLTBitMon_QueryRunRegistry::string, theBeamlineOption, theBeamSpotToken, theChi2Ndof_Max, theChi2Prob_Min, theDiff_r, theDiff_z, theDR_Max, theDR_VetoPt, theFieldToken, theNHits_Min, thePt_Min, thePtVeto_Min, theTrackCollectionToken, theVetoLeadingTrack, veto(), and reco::TrackBase::vz().
|
private |
Definition at line 52 of file PixelTrackExtractor.cc.
References reco::TrackBase::charge(), reco::TrackBase::dxy(), reco::TrackBase::eta(), reco::TrackBase::phi(), reco::TrackBase::pt(), mathSSE::sqrt(), thePropagateTracksToRadius, and theReferenceRadius.
Referenced by deposit().
|
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 27 of file PixelTrackExtractor.h.
|
private |
Definition at line 45 of file PixelTrackExtractor.cc.
References DeadROC_duringRun::dir, reco::IsoDeposit::Veto::dR, mps_fire::result, theDR_Veto, and reco::IsoDeposit::Veto::vetoDir.
Referenced by deposit(), and vetos().
|
virtual |
Definition at line 38 of file PixelTrackExtractor.cc.
References DeadROC_duringRun::dir, reco::TrackBase::eta(), reco::TrackBase::phi(), and veto().
|
private |
|
private |
"NONE", "BeamSpotFromEvent"
Definition at line 52 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
trk.numberOfValidHits >= theNHits_Min
Definition at line 54 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
trk.normalizedChi2 < theChi2Ndof_Max
Definition at line 55 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
Track Collection Token.
Definition at line 46 of file PixelTrackExtractor.h.
|
private |
|
private |
transverse distance to vertex
Definition at line 48 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
|
private |
Maximum cone angle for deposits.
Definition at line 50 of file PixelTrackExtractor.h.
Referenced by veto().
|
private |
.. it is above this threshold
Definition at line 63 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
Definition at line 44 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
|
private |
min track pt to include into iso deposit
Definition at line 58 of file PixelTrackExtractor.h.
Referenced by directionAtPresetRadius().
|
private |
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
Definition at line 56 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
will veto leading track if
Definition at line 62 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |
If set to true will compare track eta-phi at ...
Definition at line 59 of file PixelTrackExtractor.h.
Referenced by directionAtPresetRadius().
|
private |
Definition at line 45 of file PixelTrackExtractor.h.
Referenced by deposit().
|
private |