CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
TrackingRegionEDProducerT< T_TrackingRegionProducer > Class Template Reference

#include <TrackingRegionEDProducerT.h>

Inheritance diagram for TrackingRegionEDProducerT< T_TrackingRegionProducer >:
edm::stream::EDProducer<>

Public Member Functions

void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 TrackingRegionEDProducerT (const edm::ParameterSet &iConfig)
 
 ~TrackingRegionEDProducerT () override=default
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

T_TrackingRegionProducer regionProducer_
 
edm::EDPutTokenT< std::vector< std::unique_ptr< TrackingRegion > > > regionsPutToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

template<typename T_TrackingRegionProducer>
class TrackingRegionEDProducerT< T_TrackingRegionProducer >

Definition at line 15 of file TrackingRegionEDProducerT.h.

Constructor & Destructor Documentation

◆ TrackingRegionEDProducerT()

template<typename T_TrackingRegionProducer >
TrackingRegionEDProducerT< T_TrackingRegionProducer >::TrackingRegionEDProducerT ( const edm::ParameterSet iConfig)
inline

Definition at line 17 of file TrackingRegionEDProducerT.h.

18  : regionsPutToken_{produces()}, regionProducer_(iConfig, consumesCollector()) {}
edm::EDPutTokenT< std::vector< std::unique_ptr< TrackingRegion > > > regionsPutToken_
T_TrackingRegionProducer regionProducer_

◆ ~TrackingRegionEDProducerT()

template<typename T_TrackingRegionProducer >
TrackingRegionEDProducerT< T_TrackingRegionProducer >::~TrackingRegionEDProducerT ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

template<typename T_TrackingRegionProducer >
static void TrackingRegionEDProducerT< T_TrackingRegionProducer >::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
inlinestatic

Definition at line 22 of file TrackingRegionEDProducerT.h.

References fillDescriptions().

22  {
24  }
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)

◆ produce()

template<typename T_TrackingRegionProducer >
void TrackingRegionEDProducerT< T_TrackingRegionProducer >::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
inlineoverride

Definition at line 26 of file TrackingRegionEDProducerT.h.

References iEvent, eostools::move(), TrackingRegionEDProducerT< T_TrackingRegionProducer >::regionProducer_, and TrackingRegionEDProducerT< T_TrackingRegionProducer >::regionsPutToken_.

26  {
27  auto regions = regionProducer_.regions(iEvent, iSetup);
29  }
edm::EDPutTokenT< std::vector< std::unique_ptr< TrackingRegion > > > regionsPutToken_
T_TrackingRegionProducer regionProducer_
int iEvent
Definition: GenABIO.cc:224
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ regionProducer_

template<typename T_TrackingRegionProducer >
T_TrackingRegionProducer TrackingRegionEDProducerT< T_TrackingRegionProducer >::regionProducer_
private

◆ regionsPutToken_

template<typename T_TrackingRegionProducer >
edm::EDPutTokenT<std::vector<std::unique_ptr<TrackingRegion> > > TrackingRegionEDProducerT< T_TrackingRegionProducer >::regionsPutToken_
private