Classes | |
struct | Block |
Public Member Functions | |
TrackMultiSelector (const edm::ParameterSet &cfg) | |
constructor More... | |
virtual | ~TrackMultiSelector () |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 |
process one event More... | |
short | select (const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points) |
return class, or -1 if rejected More... | |
void | selectVertices (const reco::VertexCollection &vtxs, std::vector< Point > &points) |
bool | testVtx (const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points, const Block &cut) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
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 TrackMultiSelector.cc.
|
private |
Definition at line 51 of file TrackMultiSelector.cc.
|
explicit |
constructor
Definition at line 124 of file TrackMultiSelector.cc.
References HLT_25ns14e33_v1_cff::alias, beamspot_, beamspotD0_, beamspotDZsigmas_, blocks_, copyExtras_, copyTrajectories_, edm::ParameterSet::getParameter(), i, prof2calltree::l, labels_, asciidump::le, rHits_, rTrackExtras_, rTracks_, rTrajectories_, selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, splitOutputs_, src_, AlCaHLTBitMon_QueryRunRegistry::string, tokenTracks, tokenTraj, tokenTrajTrack, and vertices_.
|
virtual |
destructor
Definition at line 195 of file TrackMultiSelector.cc.
References selHits_, selTrackExtras_, selTracks_, selTrajs_, and selTTAss_.
|
overrideprivatevirtual |
process one event
Implements edm::EDProducer.
Definition at line 203 of file TrackMultiSelector.cc.
References beamspot_, blocks_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, copyExtras_, copyTrajectories_, cond::rpcobimon::current, archive::emptyString, plotBeamSpotDB::first, edm::Event::getByToken(), edm::Event::getRefBeforePut(), i, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), edm::Ref< C, T, F >::key(), labels_, match(), gen::n, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), edm::Event::put(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), dt_dqm_sourceclient_common_cff::reco, reco::Track::residuals(), rHits_, rTrackExtras_, rTracks_, rTrajectories_, edm::second(), reco::Track::seedDirection(), reco::Track::seedRef(), select(), selectVertices(), selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, reco::TrackExtraBase::setHits(), reco::TrackExtra::setResiduals(), findQualityFiles::size, splitOutputs_, AlCaHLTBitMon_QueryRunRegistry::string, tokenTracks, tokenTraj, tokenTrajTrack, vertices_, vtxNumber_, and whereItWent_.
|
private |
return class, or -1 if rejected
Definition at line 329 of file TrackMultiSelector.cc.
References blocks_, reco::TrackBase::hitPattern(), reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), EnergyCorrector::pt, reco::TrackBase::pt(), testVtx(), reco::HitPattern::trackerLayersWithMeasurement(), and eostools::which().
Referenced by produce().
|
private |
Definition at line 345 of file TrackMultiSelector.cc.
References dt_dqm_sourceclient_common_cff::reco, vtxChi2Prob_, vtxNumber_, and vtxTracks_.
Referenced by produce().
|
inlineprivate |
Definition at line 311 of file TrackMultiSelector.cc.
References funct::abs(), beamspotD0_, beamspotDZsigmas_, TrackMultiSelector::Block::d0, reco::TrackBase::d0Error(), TrackMultiSelector::Block::d0Rel, reco::TrackBase::dxy(), TrackMultiSelector::Block::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), TrackMultiSelector::Block::dzRel, alignCSCRings::e, end, bookConverter::max, point, reco::BeamSpot::position(), and reco::BeamSpot::sigmaZ().
Referenced by select().
|
private |
Definition at line 62 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 67 of file TrackMultiSelector.cc.
Referenced by testVtx(), and TrackMultiSelector().
|
private |
Definition at line 67 of file TrackMultiSelector.cc.
Referenced by testVtx(), and TrackMultiSelector().
|
private |
filter psets
Definition at line 75 of file TrackMultiSelector.cc.
Referenced by produce(), select(), and TrackMultiSelector().
|
private |
copy only the tracks, not extras and rechits (for AOD)
Definition at line 69 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
copy also trajectories and trajectory->track associations
Definition at line 71 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
output labels
Definition at line 81 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 90 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 89 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 88 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 91 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 85 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 84 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
some storage
Definition at line 83 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 86 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 87 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
split selections in more sets
Definition at line 73 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
source collection label
Definition at line 60 of file TrackMultiSelector.cc.
Referenced by TrackMultiSelector().
|
private |
Definition at line 63 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 64 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 65 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 61 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 79 of file TrackMultiSelector.cc.
Referenced by selectVertices().
|
private |
vertex cuts
Definition at line 77 of file TrackMultiSelector.cc.
Referenced by produce(), and selectVertices().
|
private |
Definition at line 78 of file TrackMultiSelector.cc.
Referenced by selectVertices().
|
private |
Definition at line 92 of file TrackMultiSelector.cc.
Referenced by produce().