#include <ElectronSeedGenerator.h>
Classes | |
struct | Tokens |
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
typedef edm::OwnVector< TrackingRecHit > | PRecHitContainer |
typedef TransientTrackingRecHit::RecHitContainer | RecHitContainer |
typedef TransientTrackingRecHit::RecHitPointer | RecHitPointer |
Public Member Functions | |
ElectronSeedGenerator (const edm::ParameterSet &, const Tokens &) | |
void | run (edm::Event &, const edm::EventSetup &setup, const reco::SuperClusterRefVector &, const std::vector< float > &hoe1s, const std::vector< float > &hoe2s, const std::vector< const TrajectorySeedCollection * > &seedsV, reco::ElectronSeedCollection &) |
void | setupES (const edm::EventSetup &setup) |
~ElectronSeedGenerator () | |
Private Member Functions | |
void | addSeed (reco::ElectronSeed &seed, const SeedWithInfo *info, bool positron, reco::ElectronSeedCollection &out) |
bool | prepareElTrackSeed (ConstRecHitPointer outerhit, ConstRecHitPointer innerhit, const GlobalPoint &vertexPos) |
void | seedsFromRecHits (std::vector< std::pair< RecHitWithDist, ConstRecHitPointer > > &elePixelHits, PropagationDirection &dir, const GlobalPoint &vertexPos, const reco::ElectronSeed::CaloClusterRef &cluster, reco::ElectronSeedCollection &out, bool positron) |
void | seedsFromThisCluster (edm::Ref< reco::SuperClusterCollection > seedCluster, float hoe1, float hoe2, reco::ElectronSeedCollection &out, const TrackerTopology *tTopo) |
void | seedsFromTrajectorySeeds (const std::vector< SeedWithInfo > &elePixelSeeds, const reco::ElectronSeed::CaloClusterRef &cluster, float hoe1, float hoe2, reco::ElectronSeedCollection &out, bool positron) |
Class to generate the trajectory seed from two hits in the pixel detector which have been found compatible with an ECAL cluster.
Description: Top algorithm producing ElectronSeeds, ported from ORCA
Implementation: future redesign...
Definition at line 49 of file ElectronSeedGenerator.h.
Definition at line 60 of file ElectronSeedGenerator.h.
Definition at line 59 of file ElectronSeedGenerator.h.
Definition at line 62 of file ElectronSeedGenerator.h.
Definition at line 61 of file ElectronSeedGenerator.h.
ElectronSeedGenerator::ElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
const Tokens & | ts | ||
) |
Definition at line 65 of file ElectronSeedGenerator.cc.
References deltaPhi1Coef1_, deltaPhi1Coef2_, deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dynamicphiroad_, edm::ParameterSet::getParameter(), highPtThreshold_, lowPtThreshold_, myMatchEle, myMatchPos, phiMax2B_, phiMax2F_, phiMin2B_, phiMin2F_, AlCaHLTBitMon_QueryRunRegistry::string, theMeasurementTrackerName, theUpdator, and useRecoVertex_.
ElectronSeedGenerator::~ElectronSeedGenerator | ( | ) |
Definition at line 138 of file ElectronSeedGenerator.cc.
References myMatchEle, myMatchPos, thePropagator, and theUpdator.
|
private |
Definition at line 482 of file ElectronSeedGenerator.cc.
References reco::ElectronSeed::caloCluster(), SeedWithInfo::dPhi1(), reco::ElectronSeed::dPhi2(), SeedWithInfo::dPhi2(), reco::ElectronSeed::dPhi2Pos(), SeedWithInfo::dRz1(), reco::ElectronSeed::dRz2(), SeedWithInfo::dRz2(), reco::ElectronSeed::dRz2Pos(), equivalent(), reco::ElectronSeed::hitsMask(), infinity, createfilelist::int, edm::RefToBase< T >::key(), prepareElTrackSeed(), mathSSE::return(), reco::ElectronSeed::setNegAttributes(), and reco::ElectronSeed::setPosAttributes().
Referenced by seedsFromRecHits(), and seedsFromTrajectorySeeds().
|
private |
Definition at line 583 of file ElectronSeedGenerator.cc.
References edm::OwnVector< T, P >::clear(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogDebug, MagneticField::nominalValue(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), Propagator::propagate(), pts_, edm::OwnVector< T, P >::push_back(), recHits_, TrajectoryStateOnSurface::surface(), thePropagator, theSetup, theUpdator, KFUpdator::update(), and TrackInfoProducer_cfi::updatedState.
Referenced by addSeed(), and seedsFromRecHits().
void ElectronSeedGenerator::run | ( | edm::Event & | e, |
const edm::EventSetup & | setup, | ||
const reco::SuperClusterRefVector & | sclRefs, | ||
const std::vector< float > & | hoe1s, | ||
const std::vector< float > & | hoe2s, | ||
const std::vector< const TrajectorySeedCollection * > & | seedsV, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 221 of file ElectronSeedGenerator.cc.
References beamSpotTag_, edm::OwnVector< T, P >::clear(), data, Exception, fromTrackerSeeds_, edm::EventSetup::get(), edm::Event::getByToken(), mps_fire::i, edm::EventBase::id(), LogDebug, myMatchEle, myMatchPos, edm::ESHandle< T >::product(), recHits_, seedsFromThisCluster(), PixelHitMatcher::setEvent(), GeneralSetup::setup(), edm::RefVector< C, T, F >::size(), theBeamSpot, theInitialSeedCollV, theMeasurementTrackerEventTag, theSetup, theVertices, useRecoVertex_, and verticesTag_.
Referenced by equivalent(), and ElectronSeedProducer::produce().
|
private |
Definition at line 439 of file ElectronSeedGenerator.cc.
References addSeed(), LogDebug, NuclearInteractionSecond_cff::pixelHits, prepareElTrackSeed(), pts_, recHits_, SurveyInfoScenario_cff::seed, seedsFromTrajectorySeeds(), reco::ElectronSeed::setCaloCluster(), and findQualityFiles::v.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 294 of file ElectronSeedGenerator.cc.
References alongMomentum, PixelHitMatcher::compatibleHits(), PixelHitMatcher::compatibleSeeds(), deltaPhi1Coef1_, deltaPhi1Coef2_, deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dir, dynamicphiroad_, ele_convert(), PVValHelper::eta, fromTrackerSeeds_, PixelHitMatcher::getVertex(), highPtThreshold_, lowPtThreshold_, myMatchEle, myMatchPos, nSigmasDeltaZ1_, reco::BeamSpot::position(), edm::Handle< T >::product(), mathSSE::return(), seedsFromRecHits(), seedsFromTrajectorySeeds(), PixelHitMatcher::set1stLayer(), PixelHitMatcher::set1stLayerZRange(), PixelHitMatcher::set2ndLayer(), PixelHitMatcher::setUseRecoVertex(), fftjetvertexadder_cfi::sigmaZ, reco::BeamSpot::sigmaZ(), reco::BeamSpot::sigmaZ0Error(), sizeWindowENeg_, mathSSE::sqrt(), theBeamSpot, theInitialSeedCollV, theNavigationSchool, theVertices, and useRecoVertex_.
Referenced by run().
|
private |
Definition at line 462 of file ElectronSeedGenerator.cc.
References addSeed(), LogDebug, alignCSCRings::s, and SurveyInfoScenario_cff::seed.
Referenced by seedsFromRecHits(), and seedsFromThisCluster().
void ElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 146 of file ElectronSeedGenerator.cc.
References alongMomentum, cacheIDCkfComp_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIDMagField_, cacheIDNavSchool_, cacheIDTrkGeom_, fromTrackerSeeds_, edm::EventSetup::get(), myMatchEle, myMatchPos, edm::ESHandle< T >::product(), PixelHitMatcher::setES(), theMagField, theMeasurementTracker, theMeasurementTrackerName, theNavigationSchool, thePropagator, and theTrackerGeometry.
Referenced by ElectronSeedProducer::produce().
|
private |
Definition at line 92 of file ElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 138 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 135 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 137 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 139 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 108 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 109 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 103 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 103 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 104 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 105 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 97 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 84 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 85 of file ElectronSeedGenerator.h.
Referenced by run(), seedsFromThisCluster(), and setupES().
|
private |
Definition at line 95 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 94 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and seedsFromThisCluster().
|
private |
Definition at line 111 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), run(), seedsFromThisCluster(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 112 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), run(), seedsFromThisCluster(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 96 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 100 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 102 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 99 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 101 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 132 of file ElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), and seedsFromRecHits().
|
private |
Definition at line 131 of file ElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), run(), and seedsFromRecHits().
|
private |
Definition at line 98 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 91 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 114 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 116 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 123 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 124 of file ElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 122 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and setupES().
|
private |
Definition at line 126 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster(), and setupES().
|
private |
Definition at line 120 of file ElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 128 of file ElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), and run().
|
private |
Definition at line 117 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 119 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), prepareElTrackSeed(), and ~ElectronSeedGenerator().
|
private |
Definition at line 88 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 87 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), run(), and seedsFromThisCluster().
|
private |
Definition at line 89 of file ElectronSeedGenerator.h.
Referenced by run().