#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< 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_ |
unsigned long long | cacheIDCkfComp_ = 0 |
unsigned long long | cacheIDMagField_ = 0 |
unsigned long long | cacheIDTrkGeom_ = 0 |
const float | deltaPhi1High_ |
const float | deltaPhi1Low_ |
const float | deltaPhi2B_ |
const float | deltaPhi2F_ |
const float | deltaZ1WithVertex_ |
const double | dPhi1Coef1_ |
const double | dPhi1Coef2_ |
const bool | dynamicPhiRoad_ |
PixelHitMatcher | electronMatcher_ |
const float | highPtThresh_ |
const std::vector< const TrajectorySeedCollection * > * | initialSeedCollectionVector_ = nullptr |
const float | lowPtThresh_ |
edm::ESHandle< MagneticField > | magField_ |
const float | nSigmasDeltaZ1_ |
const float | phiMax2B_ |
const float | phiMax2F_ |
const float | phiMin2B_ |
const float | phiMin2F_ |
PixelHitMatcher | positronMatcher_ |
std::unique_ptr< PropagatorWithMaterial > | propagator_ |
const float | sizeWindowENeg_ |
edm::ESHandle< TrackerGeometry > | trackerGeometry_ |
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 41 of file ElectronSeedGenerator.h.
Definition at line 49 of file ElectronSeedGenerator.h.
Definition at line 48 of file ElectronSeedGenerator.h.
Definition at line 51 of file ElectronSeedGenerator.h.
Definition at line 50 of file ElectronSeedGenerator.h.
ElectronSeedGenerator::ElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
const Tokens & | ts | ||
) |
Definition at line 131 of file ElectronSeedGenerator.cc.
void ElectronSeedGenerator::run | ( | edm::Event & | e, |
const edm::EventSetup & | setup, | ||
const reco::SuperClusterRefVector & | sclRefs, | ||
const std::vector< const TrajectorySeedCollection * > & | seedsV, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 205 of file ElectronSeedGenerator.cc.
References pwdgSkimBPark_cfi::beamSpot, beamSpotTag_, MillePedeFileConverter_cfg::e, mps_fire::i, initialSeedCollectionVector_, LogDebug, MillePedeFileConverter_cfg::out, seedsFromThisCluster(), edm::RefVector< C, T, F >::size(), useRecoVertex_, pwdgSkimBPark_cfi::vertices, and verticesTag_.
|
private |
Definition at line 231 of file ElectronSeedGenerator.cc.
References pwdgSkimBPark_cfi::beamSpot, deltaPhi1High_, deltaPhi1Low_, deltaPhi2B_, deltaPhi2F_, deltaZ1WithVertex_, dPhi1Coef1_, dPhi1Coef2_, dynamicPhiRoad_, ele_convert(), electronMatcher_, PVValHelper::eta, highPtThresh_, initialSeedCollectionVector_, lowPtThresh_, nSigmasDeltaZ1_, MillePedeFileConverter_cfg::out, positronMatcher_, PixelHitMatcher::set1stLayer(), PixelHitMatcher::set1stLayerZRange(), PixelHitMatcher::set2ndLayer(), fftjetvertexadder_cfi::sigmaZ, sizeWindowENeg_, mathSSE::sqrt(), useRecoVertex_, bphysicsOniaDQM_cfi::vertex, and pwdgSkimBPark_cfi::vertices.
Referenced by run().
void ElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 182 of file ElectronSeedGenerator.cc.
References alongMomentum, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIDMagField_, cacheIDTrkGeom_, electronMatcher_, get, magField_, positronMatcher_, edm::ESHandle< T >::product(), propagator_, PixelHitMatcher::setES(), singleTopDQM_cfi::setup, and trackerGeometry_.
|
private |
Definition at line 70 of file ElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 93 of file ElectronSeedGenerator.h.
|
private |
Definition at line 92 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 94 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 79 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 78 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 75 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 83 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 82 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 68 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 106 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster(), and setupES().
|
private |
Definition at line 73 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 85 of file ElectronSeedGenerator.h.
Referenced by run(), and seedsFromThisCluster().
|
private |
Definition at line 72 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 87 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 74 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 107 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster(), and setupES().
|
private |
Definition at line 89 of file ElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 76 of file ElectronSeedGenerator.h.
Referenced by seedsFromThisCluster().
|
private |
Definition at line 88 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 69 of file ElectronSeedGenerator.h.
Referenced by run().