#include <TopProjector.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
TopProjector (const edm::ParameterSet &) | |
~TopProjector () | |
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 | |
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) |
Public Member Functions inherited from edm::EDConsumerBase | |
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) |
Private Attributes | |
bool | enable_ |
enable? if not, all candidates in the bottom collection are copied to the output collection More... | |
edm::InputTag | inputTagBottom_ |
input tag for the masked collection. More... | |
edm::InputTag | inputTagTop_ |
input tag for the top (masking) collection More... | |
Matcher | match_ |
Matching method. More... | |
std::string | name_ |
name of the top projection More... | |
edm::EDGetTokenT< BottomFwdPtrCollection > | tokenBottom_ |
edm::EDGetTokenT< TopFwdPtrCollection > | tokenTop_ |
Additional Inherited Members | |
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::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) |
Definition at line 137 of file TopProjector.h.
typedef std::vector<Bottom> TopProjector< Top, Bottom, Matcher >::BottomCollection |
Definition at line 147 of file TopProjector.h.
typedef edm::FwdPtr<Bottom> TopProjector< Top, Bottom, Matcher >::BottomFwdPtr |
Definition at line 151 of file TopProjector.h.
typedef std::vector<BottomFwdPtr> TopProjector< Top, Bottom, Matcher >::BottomFwdPtrCollection |
Definition at line 152 of file TopProjector.h.
typedef edm::Handle< BottomFwdPtrCollection > TopProjector< Top, Bottom, Matcher >::BottomFwdPtrHandle |
Definition at line 153 of file TopProjector.h.
typedef edm::Handle< std::vector<Bottom> > TopProjector< Top, Bottom, Matcher >::BottomHandle |
Definition at line 148 of file TopProjector.h.
typedef edm::Ptr<Bottom> TopProjector< Top, Bottom, Matcher >::BottomPtr |
Definition at line 149 of file TopProjector.h.
typedef edm::Ref<BottomCollection> TopProjector< Top, Bottom, Matcher >::BottomRef |
Definition at line 150 of file TopProjector.h.
typedef std::vector<Top> TopProjector< Top, Bottom, Matcher >::TopCollection |
Definition at line 141 of file TopProjector.h.
typedef edm::FwdPtr<Top> TopProjector< Top, Bottom, Matcher >::TopFwdPtr |
Definition at line 143 of file TopProjector.h.
typedef std::vector<TopFwdPtr> TopProjector< Top, Bottom, Matcher >::TopFwdPtrCollection |
Definition at line 144 of file TopProjector.h.
typedef edm::Handle< TopFwdPtrCollection > TopProjector< Top, Bottom, Matcher >::TopFwdPtrHandle |
Definition at line 145 of file TopProjector.h.
typedef edm::Handle< std::vector<Top> > TopProjector< Top, Bottom, Matcher >::TopHandle |
Definition at line 142 of file TopProjector.h.
TopProjector< Top, Bottom, Matcher >::TopProjector | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 186 of file TopProjector.h.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TopProjector< Top, Bottom, Matcher >::inputTagBottom_, TopProjector< Top, Bottom, Matcher >::inputTagTop_, TopProjector< Top, Bottom, Matcher >::name_, AlCaHLTBitMon_QueryRunRegistry::string, TopProjector< Top, Bottom, Matcher >::tokenBottom_, and TopProjector< Top, Bottom, Matcher >::tokenTop_.
|
inline |
Definition at line 157 of file TopProjector.h.
void TopProjector< Top, Bottom, Matcher >::produce | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 202 of file TopProjector.h.
References TopProjector< Top, Bottom, Matcher >::enable_, runEdmFileComparison::found, edm::Event::getByToken(), mps_fire::i, LogDebug, TopProjector< Top, Bottom, Matcher >::match_, eostools::move(), edm::Event::put(), TopProjector< Top, Bottom, Matcher >::tokenBottom_, and TopProjector< Top, Bottom, Matcher >::tokenTop_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
enable? if not, all candidates in the bottom collection are copied to the output collection
Definition at line 168 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::produce().
|
private |
input tag for the masked collection.
Definition at line 178 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::TopProjector().
|
private |
input tag for the top (masking) collection
Definition at line 174 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::TopProjector().
|
private |
Matching method.
Definition at line 165 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::produce().
|
private |
name of the top projection
Definition at line 171 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::TopProjector().
|
private |
Definition at line 179 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::produce(), and TopProjector< Top, Bottom, Matcher >::TopProjector().
|
private |
Definition at line 175 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::produce(), and TopProjector< Top, Bottom, Matcher >::TopProjector().