|
virtual void | produce (edm::Event &event, const edm::EventSetup &es) override |
|
| TemplatedVertexArbitrator (const edm::ParameterSet ¶ms) |
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
template<class InputContainer, class VTX>
class TemplatedVertexArbitrator< InputContainer, VTX >
Definition at line 52 of file TemplatedVertexArbitrator.h.
template<class InputContainer , class VTX >
Definition at line 83 of file TemplatedVertexArbitrator.h.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, tthelpers::buildTT(), edm::EventSetup::get(), eostools::move(), nTracks(), jetUpdater_cff::primaryVertices, edm::Handle< T >::product(), MetAnalyzer::pv(), lostTracks_cfi::secondaryVertices, trackingPlots::selectedTracks, TemplatedVertexArbitrator< InputContainer, VTX >::theArbitrator, TemplatedVertexArbitrator< InputContainer, VTX >::token_beamSpot, TemplatedVertexArbitrator< InputContainer, VTX >::token_primaryVertex, TemplatedVertexArbitrator< InputContainer, VTX >::token_secondaryVertex, TemplatedVertexArbitrator< InputContainer, VTX >::token_tracks, HiIsolationCommonParameters_cff::track, and l1t::tracks.
94 auto recoVertices = std::make_unique<Product>();
95 if(primaryVertices->size()!=0){
109 for(
typename InputContainer::const_iterator
track = tracks->begin();
119 for(
unsigned int ivtx=0; ivtx < theRecoVertices.size(); ivtx++){
120 if ( !(
nTracks(theRecoVertices[ivtx]) > 1) )
continue;
121 recoVertices->push_back(theRecoVertices[ivtx]);
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
const unsigned int nTracks(const reco::Vertex &sv)
std::vector< VTX > Product
edm::EDGetTokenT< Product > token_secondaryVertex
std::unique_ptr< TrackVertexArbitration< VTX > > theArbitrator
edm::EDGetTokenT< InputContainer > token_tracks
edm::EDGetTokenT< reco::VertexCollection > token_primaryVertex
T const * product() const
reco::TransientTrack buildTT(edm::Handle< reco::TrackCollection > &tracks, edm::ESHandle< TransientTrackBuilder > &trackbuilder, unsigned int k)