#include <FastElectronSeedGenerator.h>
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
enum | mode { HLT, offline, unknown } |
typedef edm::OwnVector < TrackingRecHit > | PRecHitContainer |
typedef TransientTrackingRecHit::RecHitContainer | RecHitContainer |
typedef TransientTrackingRecHit::RecHitPointer | RecHitPointer |
Public Member Functions | |
FastElectronSeedGenerator (const edm::ParameterSet &pset, double pTMin, const edm::InputTag &beamSpot) | |
void | run (edm::Event &e, const reco::SuperClusterRefVector &sclRefs, const SiTrackerGSMatchedRecHit2DCollection *theGSRecHits, const edm::SimTrackContainer *theSimTracks, TrajectorySeedCollection *seeds, reco::ElectronSeedCollection &out) |
void | setup (bool) |
void | setupES (const edm::EventSetup &setup) |
~FastElectronSeedGenerator () | |
Private Member Functions | |
void | addASeedToThisCluster (edm::Ref< reco::SuperClusterCollection > seedCluster, std::vector< TrackerRecHit > &theHits, const TrajectorySeed &theTrackerSeed, std::vector< reco::ElectronSeed > &result) |
bool | prepareElTrackSeed (ConstRecHitPointer outerhit, ConstRecHitPointer innerhit, const GlobalPoint &vertexPos) |
Private Attributes | |
math::XYZPoint | BSPosition_ |
float | deltaPhi1High_ |
float | deltaPhi1Low_ |
float | deltaPhi2_ |
bool | dynamicphiroad_ |
bool | fromTrackerSeeds_ |
float | highPtThreshold_ |
float | lowPtThreshold_ |
FastPixelHitMatcher * | myGSPixelMatcher |
float | phimax2_ |
float | phimin2_ |
double | pTMin2 |
PTrajectoryStateOnDet | pts_ |
PRecHitContainer | recHits_ |
bool | searchInTIDTEC |
float | sizeWindowENeg_ |
const edm::InputTag | theBeamSpot |
const GeometricSearchTracker * | theGeomSearchTracker |
TrajectorySeedCollection * | theInitialSeedColl |
const MagneticField * | theMagField |
const MagneticFieldMap * | theMagneticFieldMap |
PropagatorWithMaterial * | thePropagator |
const edm::EventSetup * | theSetup |
const TrackerGeometry * | theTrackerGeometry |
const TrackerInteractionGeometry * | theTrackerInteractionGeometry |
KFUpdator * | theUpdator |
double | zmax1_ |
double | zmin1_ |
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 FAMOS
Implementation: future redesign...
Definition at line 51 of file FastElectronSeedGenerator.h.
Definition at line 57 of file FastElectronSeedGenerator.h.
Definition at line 56 of file FastElectronSeedGenerator.h.
Definition at line 59 of file FastElectronSeedGenerator.h.
Definition at line 58 of file FastElectronSeedGenerator.h.
FastElectronSeedGenerator::FastElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
double | pTMin, | ||
const edm::InputTag & | beamSpot | ||
) |
Definition at line 53 of file FastElectronSeedGenerator.cc.
References gather_cfg::cout, fromTrackerSeeds_, edm::ParameterSet::getParameter(), myGSPixelMatcher, and searchInTIDTEC.
FastElectronSeedGenerator::~FastElectronSeedGenerator | ( | ) |
Definition at line 98 of file FastElectronSeedGenerator.cc.
References myGSPixelMatcher, thePropagator, and theUpdator.
|
private |
Definition at line 308 of file FastElectronSeedGenerator.cc.
References alongMomentum, BSPosition_, FastPixelHitMatcher::compatibleHits(), gather_cfg::cout, deltaPhi1High_, deltaPhi1Low_, deltaPhi2_, dir, dynamicphiroad_, fromTrackerSeeds_, FastPixelHitMatcher::getVertex(), highPtThreshold_, lowPtThreshold_, myGSPixelMatcher, prepareElTrackSeed(), pts_, recHits_, hitfit::return, alignCSCRings::s, FastPixelHitMatcher::set1stLayer(), FastPixelHitMatcher::set2ndLayer(), reco::ElectronSeed::setCaloCluster(), funct::sin(), sizeWindowENeg_, v, and TrackValidation_HighPurity_cff::valid.
Referenced by run().
|
private |
Definition at line 404 of file FastElectronSeedGenerator.cc.
References edm::OwnVector< T, P >::clear(), TrajectoryStateOnSurface::isValid(), LogDebug, trajectoryStateTransform::persistentState(), PropagatorWithMaterial::propagate(), pts_, edm::OwnVector< T, P >::push_back(), recHits_, FreeTrajectoryState::setCurvilinearError(), thePropagator, and theSetup.
Referenced by addASeedToThisCluster().
void FastElectronSeedGenerator::run | ( | edm::Event & | e, |
const reco::SuperClusterRefVector & | sclRefs, | ||
const SiTrackerGSMatchedRecHit2DCollection * | theGSRecHits, | ||
const edm::SimTrackContainer * | theSimTracks, | ||
TrajectorySeedCollection * | seeds, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 142 of file FastElectronSeedGenerator.cc.
References addASeedToThisCluster(), BSPosition_, gather_cfg::cout, fromTrackerSeeds_, edm::RangeMap< ID, C, P >::get(), edm::Event::getByLabel(), i, edm::EventBase::id(), edm::RangeMap< ID, C, P >::ids(), TrackerRecHit::layerNumber(), LogDebug, CoreSimTrack::momentum(), myGSPixelMatcher, pTMin2, TrajectorySeed::recHits(), TrackerRecHit::ringNumber(), searchInTIDTEC, FastPixelHitMatcher::set1stLayerZRange(), edm::RefVector< C, T, F >::size(), edm::RangeMap< ID, C, P >::size(), findQualityFiles::size, mathSSE::sqrt(), TrackerRecHit::subDetId(), theBeamSpot, theInitialSeedColl, and theTrackerGeometry.
Referenced by Types.LuminosityBlockID::cppID(), and FastElectronSeedProducer::produce().
void FastElectronSeedGenerator::setup | ( | bool | ) |
Referenced by setupES().
void FastElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 109 of file FastElectronSeedGenerator.cc.
References alongMomentum, geometry, edm::EventSetup::get(), myGSPixelMatcher, FastPixelHitMatcher::setES(), setup(), theGeomSearchTracker, theMagField, theMagneticFieldMap, thePropagator, theSetup, theTrackerGeometry, and theTrackerInteractionGeometry.
Referenced by FastElectronSeedProducer::beginRun().
|
private |
Definition at line 111 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and run().
|
private |
Definition at line 105 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 105 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 106 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 99 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 117 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), FastElectronSeedGenerator(), and run().
|
private |
Definition at line 102 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 101 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 113 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), FastElectronSeedGenerator(), run(), setupES(), and ~FastElectronSeedGenerator().
|
private |
Definition at line 104 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 104 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 110 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 132 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and prepareElTrackSeed().
|
private |
Definition at line 131 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and prepareElTrackSeed().
|
private |
Definition at line 107 of file FastElectronSeedGenerator.h.
Referenced by FastElectronSeedGenerator(), and run().
|
private |
Definition at line 103 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 129 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 122 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 116 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 119 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 120 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 126 of file FastElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), setupES(), and ~FastElectronSeedGenerator().
|
private |
Definition at line 128 of file FastElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), and setupES().
|
private |
Definition at line 121 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 123 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 125 of file FastElectronSeedGenerator.h.
Referenced by ~FastElectronSeedGenerator().
|
private |
Definition at line 109 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 109 of file FastElectronSeedGenerator.h.