#include <PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h>
Public Member Functions | |
void | find (const edm::Event &event, const edm::EventSetup &setup, TrajectorySeedCollection &output) |
IdealHelixParameters * | getIdealHelixParameters () |
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
~PhotonConversionTrajectorySeedProducerFromSingleLegAlgo () | |
Private Types | |
typedef Regions::const_iterator | IR |
typedef std::vector< std::unique_ptr< TrackingRegion > > | Regions |
Private Member Functions | |
bool | inspectTrack (const reco::Track *track, const TrackingRegion ®ion, math::XYZPoint &primaryVertexPoint) |
void | loopOnPriVtx (const reco::Track &tk, const std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack) |
void | loopOnTracks () |
bool | rejectTrack (const reco::Track &track) |
bool | selectPriVtxCompatibleWithTrack (const reco::Track &tk, std::vector< reco::Vertex > &selectedPriVtxCompatibleWithTrack) |
Definition at line 33 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 73 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 72 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::PhotonConversionTrajectorySeedProducerFromSingleLegAlgo | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 16 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _beamSpotInputTag, _primaryVtxInputTag, edm::ParameterSet::getParameter(), token_bs, token_refitter, and token_vertex.
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::~PhotonConversionTrajectorySeedProducerFromSingleLegAlgo | ( | ) |
Definition at line 38 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
TrajectorySeedCollection & | output | ||
) |
Definition at line 40 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, _primaryVtxInputTag, cms::cuda::assert(), event(), get, MagneticField::inTesla(), edm::HandleBase::isValid(), loopOnTracks(), magField, myEsetup, myEvent, convertSQLitetoXML_cfg::output, po, PrintRecoObjects::print(), edm::ESHandle< T >::product(), recoBeamSpotHandle, regions, seedCollection, IdealHelixParameters::setMagnField(), singleTopDQM_cfi::setup, ss, theClusterCheck, theHitsGenerator, theRegionProducer, theSilentOnClusterCheck, token_bs, token_vertex, ClusterChecker::tooManyClusters(), UNLIKELY, vertexHandle, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
|
inline |
Definition at line 40 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 285 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, funct::abs(), MillePedeFileConverter_cfg::e, f, IdealHelixParameters::GetMomentumAtTangentPoint(), IdealHelixParameters::GetTangentPoint(), hfClusterShapes_cfi::hits, edm::isNotFinite(), myEsetup, myEvent, PV3DBase< T, PVType, FrameType >::perp(), ptmin, HLT_2018_cff::region, photonAnalyzer_cfi::rMin, seedCollection, IdealHelixParameters::setData(), OrderedSeedingHits::size(), ss, theHitsGenerator, theSeedCreator, and HLT_2018_cff::track.
Referenced by loopOnPriVtx().
|
private |
Definition at line 203 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _countSeedTracks, inspectTrack(), HLT_2018_cff::region, regions, ss, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by loopOnTracks().
|
private |
Definition at line 101 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _applyTkVtxConstraint, _countSeedTracks, edm::Event::getByToken(), training_settings::idx, edm::HandleBase::isValid(), loopOnPriVtx(), myEvent, rejectTrack(), EgammaValidation_Wenu_cff::sel, selectPriVtxCompatibleWithTrack(), ss, token_refitter, trackCollectionH, and vertexHandle.
Referenced by find().
|
private |
Definition at line 228 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, pwdgSkimBPark_cfi::beamSpot, IdealHelixParameters::GetTangentPoint(), edm::HandleBase::isValid(), reco::BeamSpot::position(), recoBeamSpotHandle, photonAnalyzer_cfi::rMin, IdealHelixParameters::setData(), and HLT_2018_cff::track.
Referenced by loopOnTracks().
|
private |
Definition at line 140 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _maxDZSigmas, _maxNumSelVtx, _vtxMinDoF, a, b, KineDebug3::count(), reco::TrackBase::covariance(), PVValHelper::dx, PVValHelper::dy, reco::TrackBase::dz(), reco::TrackBase::dzError(), mps_fire::i, training_settings::idx, reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), edm::second(), sqr(), mathSSE::sqrt(), ss, vertexHandle, badGlobalMuonTaggersAOD_cff::vtx, reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by loopOnTracks().
|
private |
Definition at line 65 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 67 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 66 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnPriVtx(), and loopOnTracks().
|
private |
Definition at line 85 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), inspectTrack(), and rejectTrack().
|
private |
Definition at line 63 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 64 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 67 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 63 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 81 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find().
|
private |
Definition at line 78 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and inspectTrack().
|
private |
Definition at line 79 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), inspectTrack(), and loopOnTracks().
|
private |
Definition at line 90 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find().
|
private |
Definition at line 88 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 82 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and rejectTrack().
|
private |
Definition at line 74 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and loopOnPriVtx().
|
private |
Definition at line 54 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and inspectTrack().
|
private |
Definition at line 92 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), inspectTrack(), loopOnPriVtx(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 83 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 60 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find().
|
private |
Definition at line 56 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and inspectTrack().
|
private |
Definition at line 58 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find().
|
private |
Definition at line 57 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by inspectTrack().
|
private |
Definition at line 61 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find().
|
private |
Definition at line 69 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 70 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 68 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 76 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 87 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by find(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().