Public Member Functions | |
FastTrackerRecHitMatcher (const edm::ParameterSet &) | |
~FastTrackerRecHitMatcher () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::pair< LocalPoint, LocalPoint > | StripPosition |
Private Member Functions | |
const FastSingleTrackerRecHit * | _cast2Single (const FastTrackerRecHit *recHit) const |
std::unique_ptr< FastTrackerRecHit > | match (const FastSingleTrackerRecHit *monoRH, const FastSingleTrackerRecHit *stereoRH, const GluedGeomDet *gluedDet, LocalVector &trackdirection, bool stereLayerFirst) const |
void | produce (edm::Event &, const edm::EventSetup &) override |
StripPosition | project (const GeomDetUnit *det, const GluedGeomDet *glueddet, const StripPosition &strip, const LocalVector &trackdirection) const |
std::unique_ptr< FastTrackerRecHit > | projectOnly (const FastSingleTrackerRecHit *originalRH, const GeomDet *monoDet, const GluedGeomDet *gluedDet, LocalVector &ldir) const |
Private Attributes | |
edm::EDGetTokenT< FastTrackerRecHitRefCollection > | simHit2RecHitMapToken |
edm::EDGetTokenT< edm::PSimHitContainer > | simHitsToken |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 32 of file FastTrackerRecHitMatcher.cc.
|
private |
Definition at line 45 of file FastTrackerRecHitMatcher.cc.
|
explicit |
Definition at line 80 of file FastTrackerRecHitMatcher.cc.
References edm::ParameterSet::getParameter(), simHit2RecHitMapToken, and simHitsToken.
|
inlineoverride |
Definition at line 37 of file FastTrackerRecHitMatcher.cc.
References fillDescriptions(), and produce().
|
inlineprivate |
Definition at line 67 of file FastTrackerRecHitMatcher.cc.
References Exception, BaseTrackerRecHit::isSingle(), rpcPointValidation_cfi::recHit, and BaseTrackerRecHit::rtti().
Referenced by produce().
|
static |
Definition at line 366 of file FastTrackerRecHitMatcher.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
Referenced by ~FastTrackerRecHitMatcher().
|
private |
Definition at line 202 of file FastTrackerRecHitMatcher.cc.
References EnergyCorrector::c, alignmentValidation::c1, funct::cos(), diffTreeTool::diff, relativeConstraints::error, Exception, TrackingRecHit::geographicalId(), StripTopology::localPitch(), StripTopology::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), funct::m, PV3DBase< T, PVType, FrameType >::mag2(), Topology::measurementError(), Topology::measurementPosition(), GluedGeomDet::monoDet(), PV3DBase< T, PVType, FrameType >::phi(), position, project(), indexGen::s2, funct::sin(), GluedGeomDet::stereoDet(), GeomDet::surface(), toLocal(), GeomDet::topology(), PV2DBase< T, PVType, FrameType >::x(), geometryCSVtoXML::xx, geometryCSVtoXML::xy, and geometryCSVtoXML::yy.
Referenced by produce().
|
overrideprivate |
Definition at line 91 of file FastTrackerRecHitMatcher.cc.
References _cast2Single(), TrackingRecHit::det(), TrackingRecHit::geographicalId(), geometry, edm::EventSetup::get(), edm::Ref< C, T, F >::get(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), StripSubdetector::glued(), TrackerGeometry::idToDet(), edm::Ref< C, T, F >::isNull(), PSimHit::localDirection(), match(), eostools::move(), projectOnly(), edm::Event::put(), DetId::rawId(), rpcPointValidation_cfi::recHit, rpcPointValidation_cfi::simHit, simHit2RecHitMapToken, trackerHits::simHits, simHitsToken, StripSubdetector::stereo(), DetId::subdetId(), GeomDet::surface(), Surface::toGlobal(), GloballyPositioned< T >::toLocal(), and PSimHit::trackId().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and ~FastTrackerRecHitMatcher().
|
private |
Definition at line 301 of file FastTrackerRecHitMatcher.cc.
References Scenarios_cff::scale, GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by match().
|
private |
Definition at line 326 of file FastTrackerRecHitMatcher.cc.
References delta, Exception, GeomDet::geographicalId(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), GluedGeomDet::monoDet(), position, LocalError::rotate(), GluedGeomDet::stereoDet(), GeomDet::surface(), Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 76 of file FastTrackerRecHitMatcher.cc.
Referenced by FastTrackerRecHitMatcher(), and produce().
|
private |
Definition at line 75 of file FastTrackerRecHitMatcher.cc.
Referenced by FastTrackerRecHitMatcher(), and produce().