#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, 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, 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 49 of file ElectronSeedGenerator.cc.
References deltaPhi1Coef1_, deltaPhi1Coef2_, deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dynamicphiroad_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), highPtThreshold_, lowPtThreshold_, myMatchEle, myMatchPos, phiMax2B_, phiMax2F_, phiMin2B_, phiMin2F_, AlCaHLTBitMon_QueryRunRegistry::string, theMeasurementTrackerName, theUpdator, and useRecoVertex_.
ElectronSeedGenerator::~ElectronSeedGenerator | ( | ) |
Definition at line 149 of file ElectronSeedGenerator.cc.
References myMatchEle, myMatchPos, thePropagator, and theUpdator.
|
private |
Definition at line 489 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, reco::return(), reco::ElectronSeed::setNegAttributes(), and reco::ElectronSeed::setPosAttributes().
|
private |
Definition at line 590 of file ElectronSeedGenerator.cc.
References TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), LogDebug, PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), and TrajectoryStateOnSurface::surface().
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 232 of file ElectronSeedGenerator.cc.
References data, edm::hlt::Exception, edm::EventSetup::get(), edm::Event::getByToken(), i, edm::EventBase::id(), LogDebug, edm::ESHandle< class >::product(), HcalObjRepresent::setup(), and edm::RefVector< C, T, F >::size().
Referenced by ElectronSeedProducer::produce().
|
private |
Definition at line 447 of file ElectronSeedGenerator.cc.
References LogDebug, fileCollector::seed, reco::ElectronSeed::setCaloCluster(), and findQualityFiles::v.
|
private |
Definition at line 302 of file ElectronSeedGenerator.cc.
References alongMomentum, dir, ele_convert(), eta(), reco::return(), and mathSSE::sqrt().
|
private |
Definition at line 470 of file ElectronSeedGenerator.cc.
References LogDebug, alignCSCRings::s, and fileCollector::seed.
void ElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 157 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 90 of file ElectronSeedGenerator.h.
|
private |
Definition at line 137 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 134 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 136 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 138 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 106 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 107 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 101 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 101 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 102 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 103 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 95 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 82 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 83 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 93 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 92 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 109 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 110 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 94 of file ElectronSeedGenerator.h.
|
private |
Definition at line 98 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 100 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 97 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 99 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 131 of file ElectronSeedGenerator.h.
|
private |
Definition at line 130 of file ElectronSeedGenerator.h.
|
private |
Definition at line 96 of file ElectronSeedGenerator.h.
|
private |
Definition at line 89 of file ElectronSeedGenerator.h.
|
private |
Definition at line 113 of file ElectronSeedGenerator.h.
|
private |
Definition at line 115 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 122 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 123 of file ElectronSeedGenerator.h.
|
private |
Definition at line 121 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and setupES().
|
private |
Definition at line 125 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 119 of file ElectronSeedGenerator.h.
Referenced by setupES(), and ~ElectronSeedGenerator().
|
private |
Definition at line 127 of file ElectronSeedGenerator.h.
|
private |
Definition at line 116 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 118 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator(), and ~ElectronSeedGenerator().
|
private |
Definition at line 86 of file ElectronSeedGenerator.h.
|
private |
Definition at line 85 of file ElectronSeedGenerator.h.
Referenced by ElectronSeedGenerator().
|
private |
Definition at line 87 of file ElectronSeedGenerator.h.