#include <ElectronSeedGenerator.h>
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 &) | |
void | run (edm::Event &, const edm::EventSetup &setup, const reco::SuperClusterRefVector &, const std::vector< float > &hoe1s, const std::vector< float > &hoe2s, TrajectorySeedCollection *seeds, 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) |
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 48 of file ElectronSeedGenerator.h.
Definition at line 53 of file ElectronSeedGenerator.h.
Definition at line 52 of file ElectronSeedGenerator.h.
Definition at line 55 of file ElectronSeedGenerator.h.
Definition at line 54 of file ElectronSeedGenerator.h.
ElectronSeedGenerator::ElectronSeedGenerator | ( | const edm::ParameterSet & | pset | ) |
Definition at line 46 of file ElectronSeedGenerator.cc.
References beamSpotTag_, deltaPhi1Coef1_, deltaPhi1Coef2_, deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dynamicphiroad_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), highPtThreshold_, lowPtThreshold_, myMatchEle, myMatchPos, phiMax2B_, phiMax2F_, phiMin2B_, phiMin2F_, theMeasurementTrackerName, theUpdator, useRecoVertex_, and verticesTag_.
ElectronSeedGenerator::~ElectronSeedGenerator | ( | ) |
Definition at line 140 of file ElectronSeedGenerator.cc.
References myMatchEle, myMatchPos, thePropagator, and theUpdator.
|
private |
Definition at line 468 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, hitfit::return, reco::ElectronSeed::setNegAttributes(), and reco::ElectronSeed::setPosAttributes().
|
private |
Definition at line 569 of file ElectronSeedGenerator.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogDebug, PV3DBase< T, PVType, FrameType >::perp(), and trajectoryStateTransform::persistentState().
void ElectronSeedGenerator::run | ( | edm::Event & | e, |
const edm::EventSetup & | setup, | ||
const reco::SuperClusterRefVector & | sclRefs, | ||
const std::vector< float > & | hoe1s, | ||
const std::vector< float > & | hoe2s, | ||
TrajectorySeedCollection * | seeds, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 223 of file ElectronSeedGenerator.cc.
References edm::Event::getByLabel(), i, edm::EventBase::id(), LogDebug, HcalObjRepresent::setup(), and edm::RefVector< C, T, F >::size().
Referenced by ElectronSeedProducer::produce().
|
private |
Definition at line 426 of file ElectronSeedGenerator.cc.
References LogDebug, reco::ElectronSeed::setCaloCluster(), and v.
|
private |
Definition at line 282 of file ElectronSeedGenerator.cc.
References alongMomentum, dir, ele_convert(), eta(), hitfit::return, and mathSSE::sqrt().
|
private |
Definition at line 449 of file ElectronSeedGenerator.cc.
References LogDebug, alignCSCRings::s, and reco::ElectronSeed::setCaloCluster().
void ElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 148 of file ElectronSeedGenerator.cc.
References alongMomentum, cacheIDCkfComp_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIDMagField_, cacheIDNavSchool_, cacheIDTrkGeom_, fromTrackerSeeds_, edm::EventSetup::get(), myMatchEle, myMatchPos, edm::ESHandle< class >::product(), PixelHitMatcher::setES(), theMagField, theMeasurementTracker, theMeasurementTrackerName, theNavigationSchool, thePropagator, and theTrackerGeometry.
Referenced by ElectronSeedProducer::produce().
|
private |
Definition at line 82 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 127 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 124 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 126 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 128 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 98 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 99 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 93 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 93 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 94 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 95 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 87 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 74 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 75 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 85 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 84 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 101 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 102 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 86 of file ElectronSeedGenerator.h.
|
private |
Definition at line 90 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 92 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 89 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 91 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 121 of file ElectronSeedGenerator.h.
|
private |
Definition at line 120 of file ElectronSeedGenerator.h.
|
private |
Definition at line 88 of file ElectronSeedGenerator.h.
|
private |
Definition at line 81 of file ElectronSeedGenerator.h.
|
private |
Definition at line 105 of file ElectronSeedGenerator.h.
|
private |
Definition at line 107 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 114 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 113 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and setupES().
|
private |
Definition at line 115 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 111 of file ElectronSeedGenerator.h.
Referenced by setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 117 of file ElectronSeedGenerator.h.
|
private |
Definition at line 108 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 110 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and ~ElectronSeedGenerator().
|
private |
Definition at line 78 of file ElectronSeedGenerator.h.
|
private |
Definition at line 77 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 79 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().