Public Member Functions | |
void | beginRun (edm::Run const &, const edm::EventSetup &) final |
InterestingDetIdCollectionProducer (const edm::ParameterSet &) | |
ctor More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
producer More... | |
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 EDProducer & | operator= (const EDProducer &)=delete |
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 |
Original author: Paolo Meridiani PH/CMG
Make a collection of detids to be kept tipically in a AOD rechit collection
The following classes of "interesting id" are considered
1.in a region around the seed of the cluster collection specified by paramter basicClusters. The size of the region is specified by minimalEtaSize_, minimalPhiSize_ 2. if the severity of the hit is >= severityLevel_ If severityLevel=0 this class is ignored 3. Channels next to dead ones, keepNextToDead_ is true 4. Channels next to the EB/EE transition if keepNextToBoundary_ is true
Definition at line 50 of file InterestingDetIdCollectionProducer.cc.
|
explicit |
ctor
Definition at line 80 of file InterestingDetIdCollectionProducer.cc.
References basicClustersToken_, caloTopologyToken_, edm::ParameterSet::getParameter(), interestingDetIdCollection_, keepNextToBoundary_, keepNextToDead_, minimalEtaSize_, minimalPhiSize_, nextToDeadToken_, recHitsToken_, severityLevel_, sevLVToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
final |
Definition at line 103 of file InterestingDetIdCollectionProducer.cc.
References caloTopology_, caloTopologyToken_, edm::EventSetup::getHandle(), edm::ESHandle< class >::product(), severity_, and sevLVToken_.
|
override |
producer
Definition at line 112 of file InterestingDetIdCollectionProducer.cc.
References funct::abs(), basicClustersToken_, caloTopology_, DetId::det(), EcalBarrel, EcalEndcap, EcalRecHit::energy(), edm::Event::getByToken(), edm::EventSetup::getHandle(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), interestingDetIdCollection_, EcalTools::isNextToDead(), EEDetId::isNextToRingBoundary(), keepNextToBoundary_, keepNextToDead_, EcalRecHit::kTPSaturated, minimalEtaSize_, minimalPhiSize_, nextToDeadToken_, DetId::null(), edm::Event::put(), recHitsToken_, severity_, EcalSeverityLevelAlgo::severityLevel(), severityLevel_, DetId::subdetId(), and tier0::unique().
|
private |
Definition at line 61 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 69 of file InterestingDetIdCollectionProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 62 of file InterestingDetIdCollectionProducer.cc.
Referenced by beginRun(), and InterestingDetIdCollectionProducer().
|
private |
Definition at line 66 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 74 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 73 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 67 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 68 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 64 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 60 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 72 of file InterestingDetIdCollectionProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 71 of file InterestingDetIdCollectionProducer.cc.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 63 of file InterestingDetIdCollectionProducer.cc.
Referenced by beginRun(), and InterestingDetIdCollectionProducer().