EDProducer to cluster PixelDigis into Phase2ITPixelClusters. More...
#include <Phase2ITPixelClusterProducer.h>
Public Member Functions | |
Phase2ITPixelClusterProducer (const edm::ParameterSet &conf) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
void | run (const edm::DetSetVector< PixelDigi > &input, edm::ESHandle< TrackerGeometry > &geom, edmNew::DetSetVector< Phase2ITPixelCluster > &output) |
void | setupClusterizer () |
virtual | ~Phase2ITPixelClusterProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
Phase2ITPixelClusterizerBase * | clusterizer_ |
std::string | clusterMode_ |
edm::ParameterSet | conf_ |
int32_t | maxTotalClusters_ |
Optional limit on the total number of clusters. More... | |
bool | readyToCluster_ |
edm::InputTag | src_ |
SiPixelGainCalibrationServiceBase * | theSiPixelGainCalibration_ |
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > | tPixelDigi |
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 |
EDProducer to cluster PixelDigis into Phase2ITPixelClusters.
Phase2ITPixelClusterProducer is an EDProducer subclass (i.e., a module) which orchestrates clustering of PixelDigis to Phase2ITPixelClusters. Consequently, the input is edm::DetSetVector<PixelDigi> and the output is edmNew::DetSetVector<Phase2ITPixelCluster>.
Phase2ITPixelClusterProducer invokes one of descendents from Phase2ITPixelClusterizerBase, e.g. PixelThresholdClusterizer (which is the only available option right now). Phase2ITPixelClusterProducer loads the PixelDigis, and then iterates over DetIds, invoking Phase2ITPixelClusterizer's clusterizeDetUnit to perform the clustering. clusterizeDetUnit() returns a DetSetVector of Phase2ITPixelClusters, which are then recorded in the event.
The calibrations are not loaded at the moment (v1), although that is being planned for the near future.
Definition at line 49 of file Phase2ITPixelClusterProducer.h.
|
explicit |
|
virtual |
|
overridevirtual |
void Phase2ITPixelClusterProducer::run | ( | const edm::DetSetVector< PixelDigi > & | input, |
edm::ESHandle< TrackerGeometry > & | geom, | ||
edmNew::DetSetVector< Phase2ITPixelCluster > & | output | ||
) |
void Phase2ITPixelClusterProducer::setupClusterizer | ( | ) |
|
private |
Definition at line 71 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 70 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 66 of file Phase2ITPixelClusterProducer.h.
|
private |
Optional limit on the total number of clusters.
Definition at line 76 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 72 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 73 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 69 of file Phase2ITPixelClusterProducer.h.
|
private |
Definition at line 67 of file Phase2ITPixelClusterProducer.h.