![]() |
![]() |
#include <TrajSeedMatcher.h>
Classes | |
struct | MatchInfo |
class | MatchingCuts |
class | MatchingCutsV1 |
class | MatchingCutsV2 |
class | SCHitMatch |
class | SeedWithInfo |
Public Member Functions | |
std::vector< TrajSeedMatcher::SeedWithInfo > | compatibleSeeds (const TrajectorySeedCollection &seeds, const GlobalPoint &candPos, const GlobalPoint &vprim, const float energy) |
void | doEventSetup (const edm::EventSetup &iSetup) |
void | setMeasTkEvtHandle (edm::Handle< MeasurementTrackerEvent > handle) |
TrajSeedMatcher (const edm::ParameterSet &pset) | |
~TrajSeedMatcher ()=default | |
Static Public Member Functions | |
static edm::ParameterSetDescription | makePSetDescription () |
Private Member Functions | |
void | clearCache () |
const MagneticField & | getMagField (const GlobalPoint &point) const |
size_t | getNrHitsRequired (const int nrValidLayers) const |
int | getNrValidLayersAlongTraj (const SCHitMatch &hit1, const SCHitMatch &hit2, const GlobalPoint &candPos, const GlobalPoint &vprim, const float energy, const int charge) |
int | getNrValidLayersAlongTraj (const DetId &hitId, const TrajectoryStateOnSurface &hitTrajState) const |
const TrajectoryStateOnSurface & | getTrajStateFromPoint (const TrackingRecHit &hit, const FreeTrajectoryState &initialState, const GlobalPoint &point, const PropagatorWithMaterial &propagator) |
const TrajectoryStateOnSurface & | getTrajStateFromVtx (const TrackingRecHit &hit, const TrajectoryStateOnSurface &initialState, const PropagatorWithMaterial &propagator) |
bool | layerHasValidHits (const DetLayer &layer, const TrajectoryStateOnSurface &hitSurState, const Propagator &propToLayerFromState) const |
TrajectoryStateOnSurface | makeTrajStateOnSurface (const GlobalPoint &pos, const GlobalPoint &vtx, const float energy, const int charge) const |
TrajSeedMatcher::SCHitMatch | match2ndToNthHit (const TrajectorySeed &seed, const FreeTrajectoryState &trajState, const size_t hitNr, const GlobalPoint &prevHitPos, const GlobalPoint &vtxPos, const PropagatorWithMaterial &propagator) |
TrajSeedMatcher::SCHitMatch | matchFirstHit (const TrajectorySeed &seed, const TrajectoryStateOnSurface &trajState, const GlobalPoint &vtxPos, const PropagatorWithMaterial &propagator) |
bool | passesMatchSel (const SCHitMatch &hit, const size_t hitNr) const |
bool | passTrajPreSel (const GlobalPoint &hitPos, const GlobalPoint &candPos) const |
std::vector< SCHitMatch > | processSeed (const TrajectorySeed &seed, const GlobalPoint &candPos, const GlobalPoint &vprim, const float energy, const TrajectoryStateOnSurface &initialTrajState) |
Static Private Member Functions | |
static float | getZVtxFromExtrapolation (const GlobalPoint &primeVtxPos, const GlobalPoint &hitPos, const GlobalPoint &candPos) |
Static Private Attributes | |
static float | kElectronMass_ = 0.000511 |
static float | kPhiCut_ = -0.801144 |
Definition at line 48 of file TrajSeedMatcher.h.
|
explicit |
Definition at line 23 of file TrajSeedMatcher.cc.
References L1TMuonDQMOffline_cfi::cutsPSets, Exception, edm::ParameterSet::getParameter(), matchingCuts_, minNrHits_, minNrHitsValidLayerBins_, and BeamSplash_cfg::version.
|
default |
|
private |
Definition at line 301 of file TrajSeedMatcher.cc.
References trajStateFromPointNegChargeCache_, trajStateFromPointPosChargeCache_, trajStateFromVtxNegChargeCache_, and trajStateFromVtxPosChargeCache_.
Referenced by compatibleSeeds().
std::vector< TrajSeedMatcher::SeedWithInfo > TrajSeedMatcher::compatibleSeeds | ( | const TrajectorySeedCollection & | seeds, |
const GlobalPoint & | candPos, | ||
const GlobalPoint & | vprim, | ||
const float | energy | ||
) |
Definition at line 110 of file TrajSeedMatcher.cc.
References backwardPropagator_, clearCache(), Exception, forwardPropagator_, getNrHitsRequired(), getNrValidLayersAlongTraj(), edm::ESHandleBase::isValid(), magField_, makeTrajStateOnSurface(), SiStripPI::max, processSeed(), requireExactMatchCount_, and SurveyInfoScenario_cff::seed.
Referenced by ElectronNHitSeedProducer::produce().
void TrajSeedMatcher::doEventSetup | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 97 of file TrajSeedMatcher.cc.
References alongMomentum, backwardPropagator_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), cacheIDMagField_, detLayerGeom_, detLayerGeomLabel_, forwardPropagator_, edm::EventSetup::get(), kElectronMass_, magField_, magFieldParam_, navSchool_, navSchoolLabel_, oppositeToMomentum, paramMagFieldLabel_, and useParamMagFieldIfDefined_.
Referenced by ElectronNHitSeedProducer::produce().
|
inlineprivate |
Definition at line 254 of file TrajSeedMatcher.h.
References MagneticField::isDefined().
Referenced by getNrValidLayersAlongTraj(), makeTrajStateOnSurface(), and processSeed().
|
private |
Definition at line 385 of file TrajSeedMatcher.cc.
References minNrHits_, and minNrHitsValidLayerBins_.
Referenced by compatibleSeeds().
|
private |
Definition at line 317 of file TrajSeedMatcher.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, HCALHighEnergyHPDFilter_cfi::energy, forwardPropagator_, TrackingRecHit::geographicalId(), FTSFromVertexToPointFactory::get(), getMagField(), getTrajStateFromPoint(), getZVtxFromExtrapolation(), TrajSeedMatcher::SCHitMatch::hit(), TrajSeedMatcher::SCHitMatch::hitPos(), useRecoVertex_, bphysicsOniaDQM_cfi::vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and HLT_FULL_cff::zVertex.
Referenced by compatibleSeeds().
|
private |
Definition at line 333 of file TrajSeedMatcher.cc.
References alongMomentum, backwardPropagator_, NavigationSchool::compatibleLayers(), detLayerGeom_, forwardPropagator_, TrajectoryStateOnSurface::freeState(), DetLayerGeometry::idToLayer(), GeomDetEnumerators::isTrackerPixel(), layerHasValidHits(), navSchool_, and oppositeToMomentum.
|
private |
Definition at line 240 of file TrajSeedMatcher.cc.
References FreeTrajectoryState::charge(), TrackingRecHit::det(), GeomDet::gdetIndex(), crabWrapper::key, point, Propagator::propagate(), GeomDet::surface(), trajStateFromPointNegChargeCache_, trajStateFromPointPosChargeCache_, and heppy_batch::val.
Referenced by getNrValidLayersAlongTraj(), and match2ndToNthHit().
|
private |
Definition at line 223 of file TrajSeedMatcher.cc.
References TrajectoryStateOnSurface::charge(), TrackingRecHit::det(), GeomDet::gdetIndex(), crabWrapper::key, Propagator::propagate(), GeomDet::surface(), trajStateFromVtxNegChargeCache_, trajStateFromVtxPosChargeCache_, and heppy_batch::val.
Referenced by matchFirstHit().
|
staticprivate |
Definition at line 202 of file TrajSeedMatcher.cc.
References p1, p2, mathSSE::sqrt(), x, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getNrValidLayersAlongTraj(), and processSeed().
|
private |
Definition at line 363 of file TrajSeedMatcher.cc.
References GeometricSearchDet::compatibleDets(), MeasurementTrackerEvent::idToDet(), MeasurementDetWithData::isActive(), and measTkEvt_.
Referenced by getNrValidLayersAlongTraj().
|
static |
Definition at line 57 of file TrajSeedMatcher.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), l1GtPatternGenerator_cfi::defaults, eostools::move(), or, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ElectronNHitSeedProducer::fillDescriptions().
|
private |
Definition at line 258 of file TrajSeedMatcher.cc.
References FTSFromVertexToPointFactory::get(), getMagField(), FreeTrajectoryState::momentum(), and FreeTrajectoryState::position().
Referenced by compatibleSeeds().
|
private |
Definition at line 282 of file TrajSeedMatcher.cc.
References getTrajStateFromPoint(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), and TrajectorySeed::recHits().
Referenced by processSeed().
|
private |
Definition at line 267 of file TrajSeedMatcher.cc.
References getTrajStateFromVtx(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), and TrajectorySeed::recHits().
Referenced by processSeed().
|
private |
Definition at line 308 of file TrajSeedMatcher.cc.
References Exception, and matchingCuts_.
Referenced by processSeed().
|
private |
Definition at line 214 of file TrajSeedMatcher.cc.
References dt, kPhiCut_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 157 of file TrajSeedMatcher.cc.
References backwardPropagator_, ALCARECOTkAlJpsiMuMu_cff::charge, TrajectoryStateOnSurface::charge(), enableHitSkipping_, HCALHighEnergyHPDFilter_cfi::energy, PV3DBase< T, PVType, FrameType >::eta(), forwardPropagator_, FTSFromVertexToPointFactory::get(), getMagField(), getZVtxFromExtrapolation(), TrajSeedMatcher::SCHitMatch::hitPos(), match2ndToNthHit(), muonTagProbeFilters_cff::matched, matchFirstHit(), matchingCuts_, TrajectorySeed::nHits(), passesMatchSel(), PV3DBase< T, PVType, FrameType >::phi(), TrajSeedMatcher::SCHitMatch::setExtra(), funct::sin(), PV3DBase< T, PVType, FrameType >::theta(), useRecoVertex_, bphysicsOniaDQM_cfi::vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and HLT_FULL_cff::zVertex.
Referenced by compatibleSeeds().
|
inline |
Definition at line 193 of file TrajSeedMatcher.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, HCALHighEnergyHPDFilter_cfi::energy, eostools::move(), point, TrackCandidateProducer_cfi::propagator, SurveyInfoScenario_cff::seed, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by ElectronNHitSeedProducer::produce().
|
private |
Definition at line 262 of file TrajSeedMatcher.h.
Referenced by compatibleSeeds(), doEventSetup(), getNrValidLayersAlongTraj(), and processSeed().
|
private |
Definition at line 263 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 268 of file TrajSeedMatcher.h.
Referenced by doEventSetup(), and getNrValidLayersAlongTraj().
|
private |
Definition at line 271 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 274 of file TrajSeedMatcher.h.
Referenced by processSeed().
|
private |
Definition at line 261 of file TrajSeedMatcher.h.
Referenced by compatibleSeeds(), doEventSetup(), getNrValidLayersAlongTraj(), and processSeed().
|
staticprivate |
Definition at line 259 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
staticprivate |
Definition at line 260 of file TrajSeedMatcher.h.
Referenced by passTrajPreSel().
|
private |
Definition at line 264 of file TrajSeedMatcher.h.
Referenced by compatibleSeeds(), and doEventSetup().
|
private |
Definition at line 265 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 277 of file TrajSeedMatcher.h.
Referenced by passesMatchSel(), processSeed(), and TrajSeedMatcher().
|
private |
Definition at line 266 of file TrajSeedMatcher.h.
Referenced by layerHasValidHits().
|
private |
Definition at line 284 of file TrajSeedMatcher.h.
Referenced by getNrHitsRequired(), and TrajSeedMatcher().
|
private |
Definition at line 285 of file TrajSeedMatcher.h.
Referenced by getNrHitsRequired(), and TrajSeedMatcher().
|
private |
Definition at line 267 of file TrajSeedMatcher.h.
Referenced by doEventSetup(), and getNrValidLayersAlongTraj().
|
private |
Definition at line 270 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 269 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 275 of file TrajSeedMatcher.h.
Referenced by compatibleSeeds().
|
private |
Definition at line 291 of file TrajSeedMatcher.h.
Referenced by clearCache(), and getTrajStateFromPoint().
|
private |
Definition at line 290 of file TrajSeedMatcher.h.
Referenced by clearCache(), and getTrajStateFromPoint().
|
private |
Definition at line 288 of file TrajSeedMatcher.h.
Referenced by clearCache(), and getTrajStateFromVtx().
|
private |
Definition at line 287 of file TrajSeedMatcher.h.
Referenced by clearCache(), and getTrajStateFromVtx().
|
private |
Definition at line 276 of file TrajSeedMatcher.h.
Referenced by doEventSetup().
|
private |
Definition at line 273 of file TrajSeedMatcher.h.
Referenced by getNrValidLayersAlongTraj(), and processSeed().