#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 &, edm::ConsumesCollector &&) | |
void | run (edm::Event &, const reco::SuperClusterRefVector &, const std::vector< const TrajectorySeedCollection * > &seedsV, reco::ElectronSeedCollection &) |
void | setupES (const edm::EventSetup &setup) |
Private Member Functions | |
void | seedsFromThisCluster (edm::Ref< reco::SuperClusterCollection > seedCluster, reco::BeamSpot const &beamSpot, std::vector< reco::Vertex > const *vertices, reco::ElectronSeedCollection &out) |
Private Attributes | |
const edm::EDGetTokenT < reco::BeamSpot > | beamSpotTag_ |
const float | deltaPhi1High_ |
const float | deltaPhi1Low_ |
const float | deltaPhi2B_ |
const float | deltaPhi2F_ |
const float | deltaZ1WithVertex_ |
const double | dPhi1Coef1_ |
const double | dPhi1Coef2_ |
const bool | dynamicPhiRoad_ |
const float | highPtThresh_ |
const std::vector< const TrajectorySeedCollection * > * | initialSeedCollectionVector_ = nullptr |
const float | lowPtThresh_ |
const edm::ESGetToken < MagneticField, IdealMagneticFieldRecord > | magFieldToken_ |
edm::ESWatcher < IdealMagneticFieldRecord > | magneticFieldWatcher_ |
PixelHitMatcher | matcher_ |
const float | nSigmasDeltaZ1_ |
const float | phiMax2B_ |
const float | phiMax2F_ |
const float | phiMin2B_ |
const float | phiMin2F_ |
const float | sizeWindowENeg_ |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryToken_ |
edm::ESWatcher < TrackerDigiGeometryRecord > | trackerGeometryWatcher_ |
const bool | useRecoVertex_ |
const edm::EDGetTokenT < std::vector< reco::Vertex > > | verticesTag_ |
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 46 of file ElectronSeedGenerator.h.
Definition at line 54 of file ElectronSeedGenerator.h.
Definition at line 53 of file ElectronSeedGenerator.h.
Definition at line 56 of file ElectronSeedGenerator.h.
Definition at line 55 of file ElectronSeedGenerator.h.
ElectronSeedGenerator::ElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
const Tokens & | ts, | ||
edm::ConsumesCollector && | cc | ||
) |
Definition at line 128 of file ElectronSeedGenerator.cc.
void ElectronSeedGenerator::run | ( | edm::Event & | e, |
const reco::SuperClusterRefVector & | sclRefs, | ||
const std::vector< const TrajectorySeedCollection * > & | seedsV, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 172 of file ElectronSeedGenerator.cc.
References beam_dqm_sourceclient-live_cfg::beamSpot, beamSpotTag_, edm::Event::get(), mps_fire::i, edm::EventBase::id(), initialSeedCollectionVector_, LogDebug, seedsFromThisCluster(), edm::RefVector< C, T, F >::size(), useRecoVertex_, beam_dqm_sourceclient-live_cfg::vertices, and verticesTag_.
|
private |
Definition at line 197 of file ElectronSeedGenerator.cc.
References deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dPhi1Coef1_, dPhi1Coef2_, dynamicPhiRoad_, ele_convert(), PVValHelper::eta, highPtThresh_, initialSeedCollectionVector_, lowPtThresh_, matcher_, nSigmasDeltaZ1_, reco::BeamSpot::position(), PixelHitMatcher::set1stLayer(), PixelHitMatcher::set1stLayerZRange(), PixelHitMatcher::set2ndLayer(), BeamSpotPI::sigmaZ, reco::BeamSpot::sigmaZ(), reco::BeamSpot::sigmaZ0Error(), sizeWindowENeg_, mathSSE::sqrt(), and useRecoVertex_.
Referenced by run().
void ElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 166 of file ElectronSeedGenerator.cc.
References edm::ESWatcher< T >::check(), edm::EventSetup::getData(), magFieldToken_, magneticFieldWatcher_, matcher_, PixelHitMatcher::setES(), trackerGeometryToken_, and trackerGeometryWatcher_.
|
private |
Definition at line 75 of file ElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 88 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 87 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 98 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 99 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 84 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 92 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 91 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 72 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 82 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 94 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 81 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 76 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 78 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 106 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster(), and setupES().
|
private |
Definition at line 83 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 103 of file ElectronSeedGenerator.h.
|
private |
Definition at line 104 of file ElectronSeedGenerator.h.
|
private |
Definition at line 101 of file ElectronSeedGenerator.h.
|
private |
Definition at line 102 of file ElectronSeedGenerator.h.
|
private |
Definition at line 85 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 77 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 79 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 96 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 74 of file ElectronSeedGenerator.h.
Referenced by run().