#include <TopProjector.h>
Public Types | |
typedef std::vector< Bottom > | BottomCollection |
typedef edm::FwdPtr< Bottom > | BottomFwdPtr |
typedef std::vector< BottomFwdPtr > | BottomFwdPtrCollection |
typedef edm::Handle < BottomFwdPtrCollection > | BottomFwdPtrHandle |
typedef edm::Handle < std::vector< Bottom > > | BottomHandle |
typedef edm::Ptr< Bottom > | BottomPtr |
typedef edm::Ref < BottomCollection > | BottomRef |
typedef std::vector< Top > | TopCollection |
typedef edm::FwdPtr< Top > | TopFwdPtr |
typedef std::vector< TopFwdPtr > | TopFwdPtrCollection |
typedef edm::Handle < TopFwdPtrCollection > | TopFwdPtrHandle |
typedef edm::Handle < std::vector< Top > > | TopHandle |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
TopProjector (const edm::ParameterSet &) | |
~TopProjector () | |
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 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::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) |
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.
|
virtual |
Implements edm::EDProducer.
Definition at line 202 of file TopProjector.h.
References newFWLiteAna::found, edm::Event::getByToken(), i, LogDebug, and edm::Event::put().
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.
|
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.
|
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 >::TopProjector().
|
private |
Definition at line 175 of file TopProjector.h.
Referenced by TopProjector< Top, Bottom, Matcher >::TopProjector().