Public Member Functions | |
CalibrationTrackSelectorFromDetIdList (const edm::ParameterSet &) | |
~CalibrationTrackSelectorFromDetIdList () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | beginRun (edm::Run const &run, const edm::EventSetup &) override |
TrackCandidate | makeCandidate (const reco::Track &tk, std::vector< const TrackingRecHit * >::iterator hitsBegin, std::vector< const TrackingRecHit * >::iterator hitsEnd) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< DetIdSelector > | detidsels_ |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | geometryToken_ |
edm::EDGetTokenT < reco::TrackCollection > | m_label |
bool | m_verbose |
const edm::ESGetToken < MagneticField, IdealMagneticFieldRecord > | magFieldToken_ |
edm::ESHandle< TrackerGeometry > | theGeometry |
edm::ESHandle< MagneticField > | theMagField |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
CalibrationTrackSelectorFromDetIdList.cc Calibration/TkAlCaRecoProducers/plugins/CalibrationTrackSelectorFromDetIdList.cc Description: Selects tracks that have at leaast one valid hit on a given set of Tracker DetIds
Definition at line 44 of file CalibrationTrackSelectorFromDetIdList.cc.
|
explicit |
Definition at line 67 of file CalibrationTrackSelectorFromDetIdList.cc.
References detidsels_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_label, m_verbose, and corrVsCorr::selection.
|
override |
Definition at line 84 of file CalibrationTrackSelectorFromDetIdList.cc.
|
overrideprivate |
Definition at line 161 of file CalibrationTrackSelectorFromDetIdList.cc.
References detidsels_, geometryToken_, edm::EventSetup::getHandle(), LogDebug, m_verbose, magFieldToken_, edm::ESHandle< class >::product(), theGeometry, and theMagField.
|
private |
Definition at line 129 of file CalibrationTrackSelectorFromDetIdList.cc.
References alongMomentum, anyDirection, Exception, reco::Track::innerDetId(), reco::Track::innerPosition(), trajectoryStateTransform::innerStateOnSurface(), reco::TrackBase::momentum(), reco::Track::outerDetId(), reco::Track::outerPosition(), trajectoryStateTransform::outerStateOnSurface(), trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), edm::OwnVector< T, P >::reserve(), fileCollector::seed, reco::Track::seedDirection(), reco::Track::seedRef(), theGeometry, and theMagField.
Referenced by produce().
|
overrideprivate |
Definition at line 91 of file CalibrationTrackSelectorFromDetIdList.cc.
References detidsels_, edm::Event::getByToken(), LogDebug, m_label, makeCandidate(), eostools::move(), convertSQLitetoXML_cfg::output, edm::Event::put(), DetId::rawId(), and tracks.
|
private |
Definition at line 60 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun(), CalibrationTrackSelectorFromDetIdList(), and produce().
|
private |
Definition at line 57 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun().
|
private |
Definition at line 52 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by CalibrationTrackSelectorFromDetIdList(), and produce().
|
private |
Definition at line 61 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun(), and CalibrationTrackSelectorFromDetIdList().
|
private |
Definition at line 58 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun().
|
private |
Definition at line 63 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun(), and makeCandidate().
|
private |
Definition at line 64 of file CalibrationTrackSelectorFromDetIdList.cc.
Referenced by beginRun(), and makeCandidate().