Public Member Functions | |
CosmicTrackSelector (const edm::ParameterSet &cfg) | |
virtual | ~CosmicTrackSelector () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef math::XYZPoint | Point |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
bool | select (const reco::BeamSpot &vertexBeamSpot, const reco::Track &tk) |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
selects a subset of a track collection, copying extra information on demand
Definition at line 32 of file CosmicTrackSelector.cc.
|
private |
Definition at line 41 of file CosmicTrackSelector.cc.
|
explicit |
Definition at line 99 of file CosmicTrackSelector.cc.
References HLT_25ns14e33_v1_cff::alias, copyExtras_, copyTrajectories_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), keepAllTracks_, qualityToSet_, setQualityBit_, srcTass_, srcTraj_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 152 of file CosmicTrackSelector.cc.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 155 of file CosmicTrackSelector.cc.
References beamspot_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, copyExtras_, copyTrajectories_, cond::rpcobimon::current, archive::emptyString, edm::Event::getByToken(), edm::Event::getRefBeforePut(), i, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), keepAllTracks_, edm::Ref< C, T, F >::key(), match(), gen::n, convertSQLiteXML::ok, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), edm::Event::put(), qualityToSet_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), dt_dqm_sourceclient_common_cff::reco, reco::Track::residuals(), rHits_, rTrackExtras_, rTracks_, rTrajectories_, reco::Track::seedDirection(), reco::Track::seedRef(), select(), selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, reco::TrackExtraBase::setHits(), setQualityBit_, reco::TrackExtra::setResiduals(), src_, srcTass_, srcTraj_, AlCaHLTBitMon_QueryRunRegistry::string, and trackRefs_.
|
private |
Definition at line 254 of file CosmicTrackSelector.cc.
References funct::abs(), chi2n_par_, reco::TrackBase::dxy(), reco::TrackBase::dz(), eta(), reco::TrackBase::eta(), reco::TrackBase::hitPattern(), max_d0_, max_eta_, max_lostLayers_, max_z0_, min_3Dlayers_, min_layers_, min_nHit_, min_nPixelHit_, min_pt_, reco::TrackBase::normalizedChi2(), reco::HitPattern::numberOfValidStripLayersWithMonoAndStereo(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reco::HitPattern::pixelLayersWithMeasurement(), reco::BeamSpot::position(), EnergyCorrector::pt, reco::TrackBase::pt(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), and reco::HitPattern::trackerLayersWithoutMeasurement().
Referenced by produce().
|
private |
Definition at line 48 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 64 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 50 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 52 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 57 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 67 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 71 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 79 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 68 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 78 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 77 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 73 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 75 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 70 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 60 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 63 of file CosmicTrackSelector.cc.
|
private |
Definition at line 90 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 89 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 88 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 91 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 84 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 83 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 82 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 86 of file CosmicTrackSelector.cc.
|
private |
Definition at line 85 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 87 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 59 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 47 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 54 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 53 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 92 of file CosmicTrackSelector.cc.
Referenced by produce().