#include <PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) |
void | clear () |
IdealHelixParameters * | getIdealHelixParameters () |
TrajectorySeedCollection * | getTrajectorySeedCollection () |
TrajectorySeedCollection * | getTrajectorySeedCollectionOfSourceTracks () |
void | init () |
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
~PhotonConversionTrajectorySeedProducerFromSingleLegAlgo () | |
Private Types | |
typedef Regions::const_iterator | IR |
typedef std::vector < 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 85 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 84 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::PhotonConversionTrajectorySeedProducerFromSingleLegAlgo | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 16 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _beamSpotInputTag, _conf, _primaryVtxInputTag, edm::ParameterSet::getParameter(), init(), token_bs, token_refitter, and token_vertex.
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::~PhotonConversionTrajectorySeedProducerFromSingleLegAlgo | ( | ) |
Definition at line 38 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::analyze | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 53 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, _primaryVtxInputTag, event(), edm::EventSetup::get(), MagneticField::inTesla(), edm::HandleBase::isValid(), loopOnTracks(), magField, myEsetup, myEvent, po, PrintRecoObjects::print(), edm::ESHandle< class >::product(), recoBeamSpotHandle, regions, reco::return(), seedCollection, seedCollectionOfSourceTracks, IdealHelixParameters::setMagnField(), HcalObjRepresent::setup(), ss, theClusterCheck, theHitsGenerator, theRegionProducer, theSilentOnClusterCheck, token_bs, token_vertex, ClusterChecker::tooManyClusters(), unlikely, vertexHandle, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::clear | ( | void | ) |
Definition at line 42 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References NULL, and theSeedCreator.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::endRun().
|
inline |
Definition at line 46 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References _IdealHelixParameters.
|
inline |
Definition at line 47 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References seedCollection.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
|
inline |
Definition at line 48 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References seedCollectionOfSourceTracks.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::init | ( | void | ) |
Definition at line 48 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References creatorPSet, and theSeedCreator.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::beginRun(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 307 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, funct::abs(), reco::TrackBase::charge(), alignCSCRings::e, f, IdealHelixParameters::GetMomentumAtTangentPoint(), IdealHelixParameters::GetTangentPoint(), edm::isNotFinite(), myEsetup, myEvent, PV3DBase< T, PVType, FrameType >::perp(), ptmin, seedCollection, IdealHelixParameters::setData(), OrderedSeedingHits::size(), ss, theHitsGenerator, theSeedCreator, reco::TrackBase::thetaError(), and SeedForPhotonConversion1Leg::trajectorySeed().
Referenced by loopOnPriVtx().
|
private |
Definition at line 214 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _countSeedTracks, inspectTrack(), reco::Vertex::position(), TrackingRegion::print(), regions, and ss.
Referenced by loopOnTracks().
|
private |
Definition at line 118 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _applyTkVtxConstraint, _conf, _countSeedTracks, edm::Event::getByToken(), edm::ParameterSet::getParameter(), customizeTrackingMonitorSeedNumber::idx, edm::HandleBase::isValid(), loopOnPriVtx(), myEvent, rejectTrack(), EgammaValidation_Wenu_cff::sel, selectPriVtxCompatibleWithTrack(), ss, token_refitter, trackCollectionH, and vertexHandle.
Referenced by analyze().
|
private |
Definition at line 246 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, SiPixelRawToDigiRegional_cfi::beamSpot, IdealHelixParameters::GetTangentPoint(), edm::HandleBase::isValid(), recoBeamSpotHandle, and IdealHelixParameters::setData().
Referenced by loopOnTracks().
|
private |
Definition at line 157 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _maxDZSigmas, _maxNumSelVtx, _vtxMinDoF, prof2calltree::count, reco::Vertex::covariance(), reco::TrackBase::covariance(), reco::TrackBase::dz(), reco::TrackBase::dzError(), i, customizeTrackingMonitorSeedNumber::idx, lt_(), reco::Vertex::ndof(), reco::Vertex::position(), reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), edm::second(), funct::sqr(), mathSSE::sqrt(), ss, vertexHandle, reco::TrackBase::vx(), reco::TrackBase::vy(), and reco::TrackBase::vz().
Referenced by loopOnTracks().
|
private |
Definition at line 77 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 79 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 61 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 78 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnPriVtx(), and loopOnTracks().
|
private |
Definition at line 98 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), getIdealHelixParameters(), inspectTrack(), and rejectTrack().
|
private |
Definition at line 75 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 76 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 79 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 75 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 70 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by init().
|
private |
Definition at line 94 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 91 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and inspectTrack().
|
private |
Definition at line 92 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), inspectTrack(), and loopOnTracks().
|
private |
Definition at line 104 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 102 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 95 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and rejectTrack().
|
private |
Definition at line 86 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and loopOnPriVtx().
|
private |
Definition at line 63 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), getTrajectorySeedCollection(), and inspectTrack().
|
private |
Definition at line 64 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and getTrajectorySeedCollectionOfSourceTracks().
|
private |
Definition at line 106 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), inspectTrack(), loopOnPriVtx(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 96 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 72 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 65 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and inspectTrack().
|
private |
Definition at line 67 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 66 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by clear(), init(), and inspectTrack().
|
private |
Definition at line 73 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 81 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 82 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 80 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 89 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 88 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 101 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 100 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().