#include <SiStripElectronSeedGenerator.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 | |
void | run (edm::Event &, const edm::EventSetup &setup, const edm::Handle< reco::SuperClusterCollection > &, reco::ElectronSeedCollection &) |
void | setupES (const edm::EventSetup &setup) |
SiStripElectronSeedGenerator (const edm::ParameterSet &, const Tokens &) | |
~SiStripElectronSeedGenerator () | |
Private Member Functions | |
bool | altCheckHitsAndTSOS (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta) |
const SiStripRecHit2D * | backupHitConverter (ConstRecHitPointer crhp) |
bool | checkHitsAndTSOS (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit1, std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit2, double scr, double scz, double pT, double scEta) |
void | findSeedsFromCluster (edm::Ref< reco::SuperClusterCollection >, edm::Handle< reco::BeamSpot >, const MeasurementTrackerEvent &trackerData, reco::ElectronSeedCollection &) |
const SiStripMatchedRecHit2D * | matchedHitConverter (ConstRecHitPointer crhp) |
double | normalPhi (double phi) const |
double | phiDiff (double phi1, double phi2) |
bool | preselection (GlobalPoint position, GlobalPoint superCluster, double phiVsRSlope, int hitLayer) |
double | unwrapPhi (double phi) const |
std::vector< bool > | useDetLayer (double scEta) |
int | whichSubdetector (std::vector< const SiStripMatchedRecHit2D * >::const_iterator hit) |
Class to generate the trajectory seed from two Si Strip hits.
Description: SiStrip-driven electron seed finding algorithm.
Definition at line 63 of file SiStripElectronSeedGenerator.h.
typedef TransientTrackingRecHit::ConstRecHitPointer SiStripElectronSeedGenerator::ConstRecHitPointer |
Definition at line 73 of file SiStripElectronSeedGenerator.h.
Definition at line 72 of file SiStripElectronSeedGenerator.h.
Definition at line 75 of file SiStripElectronSeedGenerator.h.
Definition at line 74 of file SiStripElectronSeedGenerator.h.
SiStripElectronSeedGenerator::SiStripElectronSeedGenerator | ( | const edm::ParameterSet & | pset, |
const Tokens & | tokens | ||
) |
Definition at line 50 of file SiStripElectronSeedGenerator.cc.
References Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theEstimator, theMeasurementTrackerName, and theUpdator.
SiStripElectronSeedGenerator::~SiStripElectronSeedGenerator | ( | ) |
Definition at line 93 of file SiStripElectronSeedGenerator.cc.
References thePropagator, and theUpdator.
|
private |
Definition at line 621 of file SiStripElectronSeedGenerator.cc.
References a, funct::abs(), b, edm::EventSetup::get(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), FastHelix::isValid(), monoPhiMissHit2Cut_, MagneticField::nominalValue(), trajectoryStateTransform::persistentState(), PV3DBase< T, PVType, FrameType >::phi(), phiDiff(), Propagator::propagate(), pts_, diffTwoXMLs::r1, diffTwoXMLs::r2, mathSSE::sqrt(), FastHelix::stateAtVertex(), thePropagator, theSetup, theUpdator, GeomDet::toGlobal(), trackerGeometryHandle, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, MuonTCMETValueMapProducer_cff::vertexZ, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by findSeedsFromCluster(), and unwrapPhi().
|
private |
Definition at line 750 of file SiStripElectronSeedGenerator.cc.
References TrackingRecHit::hit().
Referenced by findSeedsFromCluster(), and unwrapPhi().
|
private |
Definition at line 520 of file SiStripElectronSeedGenerator.cc.
References a, funct::abs(), b, edm::EventSetup::get(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), FastHelix::isValid(), MagneticField::nominalValue(), trajectoryStateTransform::persistentState(), PV3DBase< T, PVType, FrameType >::phi(), phiDiff(), Propagator::propagate(), pts_, diffTwoXMLs::r1, diffTwoXMLs::r2, mathSSE::sqrt(), FastHelix::stateAtVertex(), subdetector, tecPhiMissHit2Cut_, tecRMissHit2Cut_, thePropagator, theSetup, theUpdator, tibPhiMissHit2Cut_, tibZMissHit2Cut_, tidPhiMissHit2Cut_, tidRMissHit2Cut_, GeomDet::toGlobal(), trackerGeometryHandle, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, MuonTCMETValueMapProducer_cff::vertexZ, whichSubdetector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by findSeedsFromCluster(), and unwrapPhi().
|
private |
Definition at line 146 of file SiStripElectronSeedGenerator.cc.
References funct::abs(), alongMomentum, altCheckHitsAndTSOS(), backupHitConverter(), backupLayer2Hits_, ecalDrivenElectronSeedsParameters_cff::beamSpot, checkHitsAndTSOS(), edm::OwnVector< T, P >::clear(), funct::cos(), dir, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrackerGeometry::idToDet(), createfilelist::int, layer1Hits_, layer2Hits_, BaseTrackerRecHit::localPosition(), DetachedQuadStep_cff::magneticField, matchedHitConverter(), maxSeeds_, LayerMeasurements::measurements(), monoMaxHits_, GeometricSearchTracker::negTecLayers(), GeometricSearchTracker::negTidLayers(), MagneticField::nominalValue(), PV3DBase< T, PVType, FrameType >::perp(), phiDiff(), position, GeometricSearchTracker::posTecLayers(), GeometricSearchTracker::posTidLayers(), funct::pow(), preselection(), pts_, edm::OwnVector< T, P >::push_back(), recHits_, SimDataFormats::CaloAnalysis::scr, SurveyInfoScenario_cff::seed, reco::ElectronSeed::setCaloCluster(), funct::sin(), mathSSE::sqrt(), FastHelix::stateAtVertex(), tecMaxHits_, theEstimator, theMeasurementTracker, thePropagator, theSetup, GeometricSearchTracker::tibLayers(), tidEtaUsage_, tidMaxHits_, GeomDet::toGlobal(), trackerGeometryHandle, useDetLayer(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by run(), and unwrapPhi().
|
private |
Definition at line 744 of file SiStripElectronSeedGenerator.cc.
References TrackingRecHit::hit().
Referenced by findSeedsFromCluster(), and unwrapPhi().
|
inlineprivate |
|
inlineprivate |
Definition at line 94 of file SiStripElectronSeedGenerator.h.
References M_PI, normalPhi(), and mps_fire::result.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), findSeedsFromCluster(), and preselection().
|
private |
Definition at line 697 of file SiStripElectronSeedGenerator.cc.
References funct::abs(), monoDeltaPsiCut_, monoOriginZCut_, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), phiDiff(), alignCSCRings::r, mps_fire::result, SimDataFormats::CaloAnalysis::scr, tecDeltaPsiCut_, tecOriginZCut_, tibDeltaPsiCut_, tibOriginZCut_, tidDeltaPsiCut_, tidOriginZCut_, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by findSeedsFromCluster(), and unwrapPhi().
void SiStripElectronSeedGenerator::run | ( | edm::Event & | e, |
const edm::EventSetup & | setup, | ||
const edm::Handle< reco::SuperClusterCollection > & | clusters, | ||
reco::ElectronSeedCollection & | out | ||
) |
Definition at line 121 of file SiStripElectronSeedGenerator.cc.
References beamSpotTag_, data, findSeedsFromCluster(), edm::Event::getByToken(), i, edm::EventBase::id(), LogDebug, GeneralSetup::setup(), theBeamSpot, theMeasurementTrackerEventTag, and theSetup.
void SiStripElectronSeedGenerator::setupES | ( | const edm::EventSetup & | setup | ) |
Definition at line 99 of file SiStripElectronSeedGenerator.cc.
References alongMomentum, cacheIDCkfComp_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIDMagField_, cacheIDTrkGeom_, edm::EventSetup::get(), measurementTrackerHandle, edm::ESHandle< T >::product(), theMagField, theMeasurementTracker, theMeasurementTrackerName, thePropagator, and trackerGeometryHandle.
|
inlineprivate |
Definition at line 101 of file SiStripElectronSeedGenerator.h.
References altCheckHitsAndTSOS(), backupHitConverter(), checkHitsAndTSOS(), findSeedsFromCluster(), M_PI, matchedHitConverter(), phi, position, preselection(), SimDataFormats::CaloAnalysis::scr, useDetLayer(), and whichSubdetector().
|
private |
Definition at line 756 of file SiStripElectronSeedGenerator.cc.
References funct::abs(), and HPSPFTaus_cff::variable.
Referenced by findSeedsFromCluster(), and unwrapPhi().
|
private |
Definition at line 732 of file SiStripElectronSeedGenerator.cc.
References mps_fire::result, StripSubdetector::TEC, StripSubdetector::TIB, and StripSubdetector::TID.
Referenced by checkHitsAndTSOS(), and unwrapPhi().
|
private |
Definition at line 150 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 133 of file SiStripElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 155 of file SiStripElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 154 of file SiStripElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 156 of file SiStripElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 148 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 149 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 177 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 129 of file SiStripElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 165 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 176 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 161 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 169 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS().
|
private |
Definition at line 145 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), and findSeedsFromCluster().
|
private |
Definition at line 144 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 164 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 175 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 160 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 168 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 172 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 132 of file SiStripElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 137 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster(), and SiStripElectronSeedGenerator().
|
private |
Definition at line 130 of file SiStripElectronSeedGenerator.h.
Referenced by setupES().
|
private |
Definition at line 152 of file SiStripElectronSeedGenerator.h.
|
private |
Definition at line 140 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster(), and setupES().
|
private |
Definition at line 141 of file SiStripElectronSeedGenerator.h.
Referenced by run().
|
private |
Definition at line 139 of file SiStripElectronSeedGenerator.h.
Referenced by setupES(), and SiStripElectronSeedGenerator().
|
private |
Definition at line 136 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), findSeedsFromCluster(), setupES(), and ~SiStripElectronSeedGenerator().
|
private |
Definition at line 142 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), findSeedsFromCluster(), and run().
|
private |
Definition at line 135 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), SiStripElectronSeedGenerator(), and ~SiStripElectronSeedGenerator().
|
private |
Definition at line 162 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 158 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 166 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 170 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 163 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 173 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 174 of file SiStripElectronSeedGenerator.h.
Referenced by findSeedsFromCluster().
|
private |
Definition at line 159 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 167 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 171 of file SiStripElectronSeedGenerator.h.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 131 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), findSeedsFromCluster(), and setupES().