|
| IsolationProducer (const edm::ParameterSet &) |
|
| ~IsolationProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
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 |
|
| 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 & | itemsToGetFromEvent () 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<typename C1, typename C2, typename Alg, typename OutputCollection = edm::ValueMap<float>, typename Setup = typename helper::IsolationAlgorithmSetup<Alg>::type>
class reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >
Definition at line 40 of file IsolationProducerNew.h.
template<typename C1 , typename C2 , typename Alg , typename OutputCollection , typename Setup >
Definition at line 65 of file IsolationProducerNew.h.
References reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::alg_, allElectronIsolations_cfi::elements, reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::elementsToken_, objects.autophobj::filler, helper::MasterCollection< C1 >::get(), edm::Event::getByToken(), i, helper::MasterCollection< C1 >::index(), StGenEvtProducer_cfi::init, funct::master(), eostools::move(), edm::Event::put(), helper::MasterCollection< C1 >::size(), TrackRefitter_38T_cff::src, and reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >::srcToken_.
76 auto isolations = std::make_unique<OutputCollection>();
78 typename OutputCollection::Filler
filler(*isolations);
79 vector<double> iso(
master.size(),-1);
81 for(
typename C1::const_iterator lep = src->begin(); lep != src->end(); ++ lep )
82 iso[
master.index(i++)] =
alg_(*lep, *elements);
edm::EDGetTokenT< C2 > elementsToken_
Master< F > master(const F &f)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< C1 > srcToken_