#include <RPCRecHitProducer.h>
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
The method which produces the rechits. More... | |
RPCRecHitProducer (const edm::ParameterSet &config) | |
Constructor. More... | |
~RPCRecHitProducer () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Types | |
enum | MaskSource { MaskSource::File, MaskSource::EventSetup } |
Private Attributes | |
enum RPCRecHitProducer::MaskSource | deadSource_ |
std::vector< RPCDeadStrips::DeadItem > | DeadVec |
enum RPCRecHitProducer::MaskSource | maskSource_ |
std::vector< RPCMaskedStrips::MaskItem > | MaskVec |
std::unique_ptr< RPCRecHitBaseAlgo > | theAlgo |
std::unique_ptr< RPCDeadStrips > | theRPCDeadStripsObj |
const edm::EDGetTokenT< RPCDigiCollection > | theRPCDigiLabel |
std::unique_ptr< RPCMaskedStrips > | theRPCMaskedStripsObj |
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 |
Module for RPCRecHit production.
Definition at line 19 of file RPCRecHitProducer.h.
|
strongprivate |
Enumerator | |
---|---|
File | |
EventSetup |
Definition at line 48 of file RPCRecHitProducer.h.
RPCRecHitProducer::RPCRecHitProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 29 of file RPCRecHitProducer.cc.
References MessageLogger_cfi::cerr, beamerCreator::create(), rpcRecHits_cfi::deadSource, deadSource_, DeadVec, cmsRelvalreport::exit, File, edm::FileInPath::fullPath(), reco::get(), edm::ParameterSet::getParameter(), recoMuon::in, analyzePatCleaning_cfg::inputFile, rpcRecHits_cfi::maskSource, maskSource_, MaskVec, RPCMaskedStrips::MaskItem::rawId, RPCDeadStrips::DeadItem::rawId, AlCaHLTBitMon_QueryRunRegistry::string, RPCDeadStrips::DeadItem::strip, RPCMaskedStrips::MaskItem::strip, theAlgo, theRPCDeadStripsObj, and theRPCMaskedStripsObj.
|
inlineoverride |
Destructor.
Definition at line 26 of file RPCRecHitProducer.h.
References beginRun(), produce(), and GeneralSetup::setup().
|
override |
Definition at line 81 of file RPCRecHitProducer.cc.
References deadSource_, RPCDeadStrips::DeadVec, DeadVec, EventSetup, File, edm::EventSetup::get(), maskSource_, RPCMaskedStrips::MaskVec, MaskVec, edm::ESHandle< T >::product(), RPCMaskedStrips::MaskItem::rawId, RPCDeadStrips::DeadItem::rawId, RPCDeadStrips::DeadItem::strip, RPCMaskedStrips::MaskItem::strip, theRPCDeadStripsObj, and theRPCMaskedStripsObj.
Referenced by ~RPCRecHitProducer().
|
override |
The method which produces the rechits.
Definition at line 120 of file RPCRecHitProducer.cc.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::empty(), edm::OwnVector< T, P >::end(), edm::EventSetup::get(), RecoTauDiscriminantConfiguration::mask, eostools::move(), DetId::rawId(), RPCGeometry::roll(), theAlgo, theRPCDeadStripsObj, theRPCDigiLabel, and theRPCMaskedStripsObj.
Referenced by ~RPCRecHitProducer().
|
private |
Referenced by beginRun(), and RPCRecHitProducer().
|
private |
Definition at line 51 of file RPCRecHitProducer.h.
Referenced by beginRun(), and RPCRecHitProducer().
|
private |
Referenced by beginRun(), and RPCRecHitProducer().
|
private |
Definition at line 50 of file RPCRecHitProducer.h.
Referenced by beginRun(), and RPCRecHitProducer().
|
private |
Definition at line 40 of file RPCRecHitProducer.h.
Referenced by produce(), and RPCRecHitProducer().
|
private |
Definition at line 45 of file RPCRecHitProducer.h.
Referenced by beginRun(), produce(), and RPCRecHitProducer().
|
private |
Definition at line 36 of file RPCRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 42 of file RPCRecHitProducer.h.
Referenced by beginRun(), produce(), and RPCRecHitProducer().