#include <GEMRecHitProducer.h>
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
GEMRecHitProducer (const edm::ParameterSet &config) | |
Constructor. More... | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
The method which produces the rechits. More... | |
~GEMRecHitProducer () override | |
Destructor. More... | |
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 Types | |
enum | MaskSource { MaskSource::File, MaskSource::EventSetup } |
Private Attributes | |
bool | applyMasking_ |
enum GEMRecHitProducer::MaskSource | deadSource_ |
edm::ESHandle< GEMGeometry > | gemGeom_ |
std::map< GEMDetId, EtaPartitionMask > | gemMask_ |
enum GEMRecHitProducer::MaskSource | maskSource_ |
std::unique_ptr< GEMRecHitBaseAlgo > | theAlgo |
std::unique_ptr< GEMDeadStrips > | theGEMDeadStripsObj |
edm::EDGetTokenT< GEMDigiCollection > | theGEMDigiToken |
std::unique_ptr< GEMMaskedStrips > | theGEMMaskedStripsObj |
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 GEMRecHit production.
Definition at line 23 of file GEMRecHitProducer.h.
|
strongprivate |
Enumerator | |
---|---|
File | |
EventSetup |
Definition at line 54 of file GEMRecHitProducer.h.
GEMRecHitProducer::GEMRecHitProducer | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 25 of file GEMRecHitProducer.cc.
References applyMasking_, deadSource_, EventSetup, Exception, File, edm::FileInPath::fullPath(), reco::get(), edm::ParameterSet::getParameter(), analyzePatCleaning_cfg::inputFile, maskSource_, GEMMaskedStrips::MaskItem::rawId, GEMDeadStrips::DeadItem::rawId, GEMDeadStrips::DeadItem::strip, GEMMaskedStrips::MaskItem::strip, theGEMDeadStripsObj, theGEMMaskedStripsObj, and ~GEMRecHitProducer().
|
overridedefault |
Destructor.
Referenced by GEMRecHitProducer().
|
override |
Definition at line 85 of file GEMRecHitProducer.cc.
References applyMasking_, deadSource_, GEMGeometry::etaPartitions(), EventSetup, gemGeom_, gemMask_, edm::EventSetup::get(), RecoTauDiscriminantConfiguration::mask, maskSource_, edm::ESHandle< T >::product(), DetId::rawId(), theGEMDeadStripsObj, and theGEMMaskedStripsObj.
|
static |
Definition at line 72 of file GEMRecHitProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
The method which produces the rechits.
Definition at line 129 of file GEMRecHitProducer.cc.
References applyMasking_, edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::empty(), edm::OwnVector< T, P >::end(), GEMGeometry::etaPartition(), gemGeom_, gemMask_, RecoTauDiscriminantConfiguration::mask, eostools::move(), theAlgo, and theGEMDigiToken.
|
private |
Definition at line 61 of file GEMRecHitProducer.h.
Referenced by beginRun(), GEMRecHitProducer(), and produce().
|
private |
Referenced by beginRun(), and GEMRecHitProducer().
|
private |
Definition at line 56 of file GEMRecHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 59 of file GEMRecHitProducer.h.
Referenced by beginRun(), and produce().
|
private |
Referenced by beginRun(), and GEMRecHitProducer().
|
private |
Definition at line 46 of file GEMRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 52 of file GEMRecHitProducer.h.
Referenced by beginRun(), and GEMRecHitProducer().
|
private |
Definition at line 43 of file GEMRecHitProducer.h.
Referenced by produce().
|
private |
Definition at line 49 of file GEMRecHitProducer.h.
Referenced by beginRun(), and GEMRecHitProducer().