#include <InterestingDetIdFromSuperClusterProducer.h>
Public Member Functions | |
void | beginRun (edm::Run const &, const edm::EventSetup &) final |
InterestingDetIdFromSuperClusterProducer (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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 |
Adapted from InterestingDetIdCollectionProducer by J.Bendavid
Make a collection of detids to be kept tipically in a AOD rechit collection
The following classes of "interesting id" are considered
1.All rechits included in all subclusters, plus in a region around the seed of each subcluster 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 52 of file InterestingDetIdFromSuperClusterProducer.h.
|
explicit |
ctor
Definition at line 15 of file InterestingDetIdFromSuperClusterProducer.cc.
References caloTopologyToken_, edm::ParameterSet::getParameter(), interestingDetIdCollection_, keepNextToBoundary_, keepNextToDead_, minimalEtaSize_, minimalPhiSize_, nextToDeadToken_, recHitsToken_, severityLevel_, severityLevelToken_, AlCaHLTBitMon_QueryRunRegistry::string, and superClustersToken_.
|
final |
Definition at line 39 of file InterestingDetIdFromSuperClusterProducer.cc.
References caloTopology_, caloTopologyToken_, edm::EventSetup::getHandle(), edm::ESHandle< T >::product(), severity_, and severityLevelToken_.
|
override |
producer
Definition at line 48 of file InterestingDetIdFromSuperClusterProducer.cc.
References funct::abs(), edm::SortedCollection< T, SORT >::begin(), caloTopology_, DetId::det(), EcalBarrel, cosmicPhotonAnalyzer_cfi::eMax, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), dqmdumpme::first, edm::EventSetup::getHandle(), CaloTopology::getSubdetectorTopology(), CaloTopology::getWindow(), iEvent, cuy::ii, interestingDetIdCollection_, EcalTools::isNextToDead(), EEDetId::isNextToRingBoundary(), keepNextToBoundary_, keepNextToDead_, EcalRecHit::kTPSaturated, minimalEtaSize_, minimalPhiSize_, eostools::move(), nextToDeadToken_, DetId::null(), recHitsToken_, severity_, EcalSeverityLevelAlgo::severityLevel(), severityLevel_, DetId::subdetId(), superClustersToken_, ecaldqm::topology(), and tier0::unique().
|
private |
Definition at line 70 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 64 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by beginRun(), and InterestingDetIdFromSuperClusterProducer().
|
private |
Definition at line 67 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 75 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 74 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 68 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 69 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 66 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 62 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 73 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 72 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().
|
private |
Definition at line 65 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by beginRun(), and InterestingDetIdFromSuperClusterProducer().
|
private |
Definition at line 63 of file InterestingDetIdFromSuperClusterProducer.h.
Referenced by InterestingDetIdFromSuperClusterProducer(), and produce().