CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1TMuonCPPFDigiProducer Class Reference

#include <L1TMuonCPPFDigiProducer.h>

Inheritance diagram for L1TMuonCPPFDigiProducer:
edm::stream::EDProducer<>

Public Member Functions

 L1TMuonCPPFDigiProducer (const edm::ParameterSet &)
 
 ~L1TMuonCPPFDigiProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 

Private Member Functions

void beginStream (edm::StreamID) override
 
void endStream () override
 
void produce (edm::Event &event, const edm::EventSetup &setup) override
 

Private Attributes

std::unique_ptr< EmulateCPPFcppf_emulator_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 49 of file L1TMuonCPPFDigiProducer.h.

Constructor & Destructor Documentation

L1TMuonCPPFDigiProducer::L1TMuonCPPFDigiProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 6 of file L1TMuonCPPFDigiProducer.cc.

9  std::make_unique<EmulateCPPF>(iConfig, consumesCollector()))
10 // cppf_emulator_(new EmulateCPPF(iConfig, consumesCollector()))
11 {
12  // produces<l1t::CPPFDigiCollection>("rpcDigi");
13  produces<l1t::CPPFDigiCollection>("recHit");
14 }
std::unique_ptr< EmulateCPPF > cppf_emulator_
L1TMuonCPPFDigiProducer::~L1TMuonCPPFDigiProducer ( )
override

Definition at line 16 of file L1TMuonCPPFDigiProducer.cc.

16 {}

Member Function Documentation

void L1TMuonCPPFDigiProducer::beginStream ( edm::StreamID  iID)
overrideprivate

Definition at line 35 of file L1TMuonCPPFDigiProducer.cc.

35 {}
void L1TMuonCPPFDigiProducer::endStream ( )
overrideprivate

Definition at line 37 of file L1TMuonCPPFDigiProducer.cc.

References DEFINE_FWK_MODULE.

37 {}
void L1TMuonCPPFDigiProducer::produce ( edm::Event event,
const edm::EventSetup setup 
)
overrideprivate

Definition at line 18 of file L1TMuonCPPFDigiProducer.cc.

References cppf_emulator_, eostools::move(), and edm::Event::put().

19  {
20 
21  // Create pointers to the collections which will store the cppfDigis
22  // auto cppf_rpcDigi = std::make_unique<l1t::CPPFDigiCollection>();
23  auto cppf_recHit = std::make_unique<l1t::CPPFDigiCollection>();
24 
25  // Main CPPF emulation process: emulates CPPF output from RPCDigi or RecHit
26  // inputs From src/EmulateCPPF.cc cppf_emulator_->process(iEvent, iSetup,
27  // *cppf_rpcDigi, *cppf_recHit);
28  cppf_emulator_->process(iEvent, iSetup, *cppf_recHit);
29 
30  // Fill the output collections
31  // iEvent.put(std::move(cppf_rpcDigi), "rpcDigi");
32  iEvent.put(std::move(cppf_recHit), "recHit");
33 }
int iEvent
Definition: GenABIO.cc:224
std::unique_ptr< EmulateCPPF > cppf_emulator_
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

std::unique_ptr<EmulateCPPF> L1TMuonCPPFDigiProducer::cppf_emulator_
private

Definition at line 61 of file L1TMuonCPPFDigiProducer.h.

Referenced by produce().