#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 Chi2MeasurementEstimatorESProducer_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(), FastHelix::isValid(), monoPhiMissHit2Cut_, trajectoryStateTransform::persistentState(), phiDiff(), Propagator::propagate(), pts_, diffTwoXMLs::r1, diffTwoXMLs::r2, mathSSE::sqrt(), FastHelix::stateAtVertex(), thePropagator, theSetup, theUpdator, trackerGeometryHandle, and KFUpdator::update().
|
private |
Definition at line 750 of file SiStripElectronSeedGenerator.cc.
References TrackingRecHit::hit().
|
private |
Definition at line 520 of file SiStripElectronSeedGenerator.cc.
References a, funct::abs(), b, edm::EventSetup::get(), FastHelix::isValid(), trajectoryStateTransform::persistentState(), phiDiff(), Propagator::propagate(), pts_, diffTwoXMLs::r1, diffTwoXMLs::r2, mathSSE::sqrt(), FastHelix::stateAtVertex(), tecPhiMissHit2Cut_, tecRMissHit2Cut_, thePropagator, theSetup, theUpdator, tibPhiMissHit2Cut_, tibZMissHit2Cut_, tidPhiMissHit2Cut_, tidRMissHit2Cut_, trackerGeometryHandle, KFUpdator::update(), and whichSubdetector().
|
private |
Definition at line 146 of file SiStripElectronSeedGenerator.cc.
References funct::abs(), alongMomentum, SiPixelRawToDigiRegional_cfi::beamSpot, funct::cos(), dir, TrackingRecHit::geographicalId(), BaseTrackerRecHit::localPosition(), HLT_25ns14e33_v1_cff::magneticField, LayerMeasurements::measurements(), PV3DBase< T, PVType, FrameType >::perp(), position, funct::pow(), singleTopDQM_cfi::preselection, fileCollector::seed, reco::ElectronSeed::setCaloCluster(), funct::sin(), mathSSE::sqrt(), FastHelix::stateAtVertex(), and GeometricSearchTracker::tibLayers().
Referenced by run().
|
private |
Definition at line 744 of file SiStripElectronSeedGenerator.cc.
References TrackingRecHit::hit().
|
inlineprivate |
|
inlineprivate |
Definition at line 94 of file SiStripElectronSeedGenerator.h.
References M_PI, normalPhi(), and query::result.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), 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, query::result, tecDeltaPsiCut_, tecOriginZCut_, tibDeltaPsiCut_, tibOriginZCut_, tidDeltaPsiCut_, tidOriginZCut_, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
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, HcalObjRepresent::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< class >::product(), theMagField, theMeasurementTracker, theMeasurementTrackerName, thePropagator, and trackerGeometryHandle.
|
inlineprivate |
|
private |
Definition at line 756 of file SiStripElectronSeedGenerator.cc.
References funct::abs().
|
private |
Definition at line 732 of file SiStripElectronSeedGenerator.cc.
References query::result, StripSubdetector::TEC, StripSubdetector::TIB, and StripSubdetector::TID.
Referenced by checkHitsAndTSOS().
|
private |
Definition at line 150 of file SiStripElectronSeedGenerator.h.
|
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.
|
private |
Definition at line 149 of file SiStripElectronSeedGenerator.h.
|
private |
Definition at line 177 of file SiStripElectronSeedGenerator.h.
|
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.
|
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(), and checkHitsAndTSOS().
|
private |
Definition at line 144 of file SiStripElectronSeedGenerator.h.
|
private |
Definition at line 164 of file SiStripElectronSeedGenerator.h.
Referenced by preselection().
|
private |
Definition at line 175 of file SiStripElectronSeedGenerator.h.
|
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 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 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(), setupES(), and ~SiStripElectronSeedGenerator().
|
private |
Definition at line 142 of file SiStripElectronSeedGenerator.h.
Referenced by altCheckHitsAndTSOS(), checkHitsAndTSOS(), 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.
|
private |
Definition at line 174 of file SiStripElectronSeedGenerator.h.
|
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(), and setupES().