#include <InterestingDetIdCollectionProducer.h>
Public Member Functions | |
void | beginRun (edm::Run &, const edm::EventSetup &) |
InterestingDetIdCollectionProducer (const edm::ParameterSet &) | |
ctor More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
producer More... | |
~InterestingDetIdCollectionProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
edm::InputTag | basicClusters_ |
const CaloTopology * | caloTopology_ |
std::string | interestingDetIdCollection_ |
bool | keepNextToBoundary_ |
bool | keepNextToDead_ |
int | minimalEtaSize_ |
int | minimalPhiSize_ |
edm::InputTag | recHitsLabel_ |
const EcalSeverityLevelAlgo * | severity_ |
int | severityLevel_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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 45 of file InterestingDetIdCollectionProducer.h.
|
explicit |
ctor
Definition at line 26 of file InterestingDetIdCollectionProducer.cc.
References basicClusters_, edm::ParameterSet::getParameter(), interestingDetIdCollection_, keepNextToBoundary_, keepNextToDead_, minimalEtaSize_, minimalPhiSize_, recHitsLabel_, and severityLevel_.
InterestingDetIdCollectionProducer::~InterestingDetIdCollectionProducer | ( | ) |
Definition at line 48 of file InterestingDetIdCollectionProducer.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 51 of file InterestingDetIdCollectionProducer.cc.
References caloTopology_, edm::EventSetup::get(), edm::ESHandle< class >::product(), and severity_.
|
virtual |
producer
Implements edm::EDProducer.
Definition at line 64 of file InterestingDetIdCollectionProducer.cc.
References abs, basicClusters_, caloTopology_, DetId::det(), EcalBarrel, jptDQMConfig_cff::eMax, CaloRecHit::energy(), first, edm::Event::getByLabel(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), interestingDetIdCollection_, EcalTools::isNextToDead(), EEDetId::isNextToRingBoundary(), keepNextToBoundary_, keepNextToDead_, EcalRecHit::kTPSaturated, minimalEtaSize_, minimalPhiSize_, DetId::null(), edm::Event::put(), recHitsLabel_, severity_, EcalSeverityLevelAlgo::severityLevel(), severityLevel_, python.multivaluedict::sort(), and DetId::subdetId().
|
private |
Definition at line 57 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 61 of file InterestingDetIdCollectionProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 58 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 66 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 65 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 59 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 60 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 56 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().
|
private |
Definition at line 64 of file InterestingDetIdCollectionProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 63 of file InterestingDetIdCollectionProducer.h.
Referenced by InterestingDetIdCollectionProducer(), and produce().