#include <HLTrigger/TestBXVectorRefProducer/plugins/TestBXVectorRefProducer.cc>
Public Member Functions | |
TestBXVectorRefProducer (const edm::ParameterSet &) | |
~TestBXVectorRefProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | endStream () override |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | doRefs_ |
edm::InputTag | src_ |
edm::EDGetTokenT< l1t::JetBxCollection > | token_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: Simple testing producer to test storing of Ref<BXVector> (example of <l1t::JetRef>) in the Event.
Implementation: Pick up the BXVector<l1t::Jet> from the event and try to store the Refs back into the Event.
Definition at line 40 of file TestBXVectorRefProducer.cc.
|
explicit |
Definition at line 75 of file TestBXVectorRefProducer.cc.
References doRefs_, edm::ParameterSet::getParameter(), src_, and token_.
|
override |
Definition at line 95 of file TestBXVectorRefProducer.cc.
|
overrideprivate |
Definition at line 147 of file TestBXVectorRefProducer.cc.
|
overrideprivate |
Definition at line 153 of file TestBXVectorRefProducer.cc.
|
static |
Definition at line 190 of file TestBXVectorRefProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivate |
Definition at line 110 of file TestBXVectorRefProducer.cc.
References BXVector< T >::begin(), doRefs_, BXVector< T >::end(), edm::Event::getByToken(), edm::HandleBase::isValid(), fwrapper::jets, BXVector< T >::key(), eostools::move(), edm::Event::put(), BXVector< T >::size(), findQualityFiles::size, and token_.
|
private |
Definition at line 58 of file TestBXVectorRefProducer.cc.
Referenced by produce(), and TestBXVectorRefProducer().
|
private |
Definition at line 59 of file TestBXVectorRefProducer.cc.
Referenced by TestBXVectorRefProducer().
|
private |
Definition at line 60 of file TestBXVectorRefProducer.cc.
Referenced by produce(), and TestBXVectorRefProducer().