#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 &) | |
~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 32 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 80 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 79 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::PhotonConversionTrajectorySeedProducerFromSingleLegAlgo | ( | const edm::ParameterSet & | conf | ) |
Definition at line 9 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References init().
|
inline |
Definition at line 38 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::analyze | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 45 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _beamSpotInputTag, _IdealHelixParameters, _primaryVtxInputTag, CombinedHitPairGeneratorForPhotonConversion::clearLayerCache(), event(), edm::EventSetup::get(), MagneticField::inTesla(), edm::HandleBase::isValid(), loopOnTracks(), magField, myEsetup, myEvent, po, PrintRecoObjects::print(), edm::ESHandle< class >::product(), recoBeamSpotHandle, GlobalTrackingRegionProducerFromBeamSpot::regions(), regions, hitfit::return, seedCollection, seedCollectionOfSourceTracks, IdealHelixParameters::setMagnField(), HcalObjRepresent::setup(), ss, theClusterCheck, theHitsGenerator, theRegionProducer, theSilentOnClusterCheck, ClusterChecker::tooManyClusters(), unlikely, vertexHandle, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::clear | ( | void | ) |
Definition at line 28 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References NULL, theHitsGenerator, theRegionProducer, and theSeedCreator.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::endRun().
|
inline |
Definition at line 44 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References _IdealHelixParameters.
|
inline |
Definition at line 45 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References seedCollection.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
|
inline |
Definition at line 46 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
References seedCollectionOfSourceTracks.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::produce().
void PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::init | ( | void | ) |
Definition at line 38 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References creatorPSet, hitsfactoryPSet, regfactoryPSet, theHitsGenerator, theRegionProducer, and theSeedCreator.
Referenced by PhotonConversionTrajectorySeedProducerFromSingleLeg::beginRun(), and PhotonConversionTrajectorySeedProducerFromSingleLegAlgo().
|
private |
Definition at line 299 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _IdealHelixParameters, abs, reco::TrackBase::charge(), alignCSCRings::e, f, IdealHelixParameters::GetMomentumAtTangentPoint(), IdealHelixParameters::GetTangentPoint(), edm::detail::isnan(), myEsetup, myEvent, PV3DBase< T, PVType, FrameType >::perp(), ptmin, CombinedHitPairGeneratorForPhotonConversion::run(), seedCollection, IdealHelixParameters::setData(), OrderedSeedingHits::size(), ss, theHitsGenerator, theSeedCreator, reco::TrackBase::thetaError(), and SeedForPhotonConversion1Leg::trajectorySeed().
Referenced by loopOnPriVtx().
|
private |
Definition at line 206 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _countSeedTracks, inspectTrack(), reco::Vertex::position(), TrackingRegion::print(), regions, and ss.
Referenced by loopOnTracks().
|
private |
Definition at line 110 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _applyTkVtxConstraint, _conf, _countSeedTracks, edm::Event::getByLabel(), edm::ParameterSet::getParameter(), edm::HandleBase::isValid(), loopOnPriVtx(), myEvent, rejectTrack(), EgammaValidation_Wenu_cff::sel, selectPriVtxCompatibleWithTrack(), ss, trackCollectionH, and vertexHandle.
Referenced by analyze().
|
private |
Definition at line 238 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 149 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc.
References _maxDZSigmas, _maxNumSelVtx, _vtxMinDoF, prof2calltree::count, reco::Vertex::covariance(), reco::TrackBase::covariance(), reco::TrackBase::dz(), reco::TrackBase::dzError(), i, 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 75 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 77 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 59 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 76 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnPriVtx(), and loopOnTracks().
|
private |
Definition at line 93 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), getIdealHelixParameters(), inspectTrack(), and rejectTrack().
|
private |
Definition at line 73 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 74 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 77 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 73 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 68 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by init().
|
private |
Definition at line 68 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by init().
|
private |
Definition at line 89 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 86 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and inspectTrack().
|
private |
Definition at line 87 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), inspectTrack(), and loopOnTracks().
|
private |
Definition at line 99 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 97 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 90 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and rejectTrack().
|
private |
Definition at line 68 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by init().
|
private |
Definition at line 81 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and loopOnPriVtx().
|
private |
Definition at line 61 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), getTrajectorySeedCollection(), and inspectTrack().
|
private |
Definition at line 62 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), and getTrajectorySeedCollectionOfSourceTracks().
|
private |
Definition at line 101 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), inspectTrack(), loopOnPriVtx(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().
|
private |
Definition at line 91 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 70 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 63 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), clear(), init(), and inspectTrack().
|
private |
Definition at line 65 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 64 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by clear(), init(), and inspectTrack().
|
private |
Definition at line 71 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze().
|
private |
Definition at line 84 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by loopOnTracks().
|
private |
Definition at line 83 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 96 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
|
private |
Definition at line 95 of file PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h.
Referenced by analyze(), loopOnTracks(), and selectPriVtxCompatibleWithTrack().