#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, const TrackerTopology *tTopo, 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_ |
Description: Top algorithm producing ElectronSeeds, ported from FAMOS
Implementation: future redesign...
Class to generate the trajectory seed from two hits in the pixel detector which have been found compatible with an ECAL cluster.
Definition at line 52 of file FastElectronSeedGenerator.h.
Definition at line 58 of file FastElectronSeedGenerator.h.
Definition at line 57 of file FastElectronSeedGenerator.h.
Definition at line 60 of file FastElectronSeedGenerator.h.
Definition at line 59 of file FastElectronSeedGenerator.h.
FastElectronSeedGenerator::FastElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
double | pTMin, | ||
const edm::InputTag & | beamSpot | ||
) |
Definition at line 51 of file FastElectronSeedGenerator.cc.
References gather_cfg::cout, fromTrackerSeeds_, edm::ParameterSet::getParameter(), myGSPixelMatcher, and searchInTIDTEC.
FastElectronSeedGenerator::~FastElectronSeedGenerator | ( | ) |
Definition at line 96 of file FastElectronSeedGenerator.cc.
References myGSPixelMatcher, thePropagator, and theUpdator.
|
private |
Definition at line 307 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_, mathSSE::return(), alignCSCRings::s, FastPixelHitMatcher::set1stLayer(), FastPixelHitMatcher::set2ndLayer(), reco::ElectronSeed::setCaloCluster(), funct::sin(), sizeWindowENeg_, findQualityFiles::v, and TrackValidation_HighPurity_cff::valid.
Referenced by run().
|
private |
Definition at line 403 of file FastElectronSeedGenerator.cc.
References edm::OwnVector< T, P >::clear(), edm::EventSetup::get(), TrajectoryStateOnSurface::isValid(), LogDebug, trajectoryStateTransform::persistentState(), Propagator::propagate(), pts_, edm::OwnVector< T, P >::push_back(), recHits_, 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, | ||
const TrackerTopology * | tTopo, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 140 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.EventID::cppID(), Types.LuminosityBlockID::cppID(), and FastElectronSeedProducer::produce().
void FastElectronSeedGenerator::setup | ( | bool | ) |
Referenced by setupES().
void FastElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 107 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 113 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and run().
|
private |
Definition at line 107 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 107 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 108 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 101 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 119 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), FastElectronSeedGenerator(), and run().
|
private |
Definition at line 104 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 103 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 115 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), FastElectronSeedGenerator(), run(), setupES(), and ~FastElectronSeedGenerator().
|
private |
Definition at line 106 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 106 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 112 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 134 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and prepareElTrackSeed().
|
private |
Definition at line 133 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster(), and prepareElTrackSeed().
|
private |
Definition at line 109 of file FastElectronSeedGenerator.h.
Referenced by FastElectronSeedGenerator(), and run().
|
private |
Definition at line 105 of file FastElectronSeedGenerator.h.
Referenced by addASeedToThisCluster().
|
private |
Definition at line 131 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 124 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 118 of file FastElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 121 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 122 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 128 of file FastElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), setupES(), and ~FastElectronSeedGenerator().
|
private |
Definition at line 130 of file FastElectronSeedGenerator.h.
Referenced by prepareElTrackSeed(), and setupES().
|
private |
Definition at line 123 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 125 of file FastElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 127 of file FastElectronSeedGenerator.h.
Referenced by ~FastElectronSeedGenerator().
|
private |
Definition at line 111 of file FastElectronSeedGenerator.h.
|
private |
Definition at line 111 of file FastElectronSeedGenerator.h.