CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Phase2ITPixelClusterProducer Class Referencefinal

EDProducer to cluster PixelDigis into Phase2ITPixelClusters. More...

#include <Phase2ITPixelClusterProducer.h>

Inheritance diagram for Phase2ITPixelClusterProducer:
edm::stream::EDProducer<>

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_
 
SiPixelGainCalibrationServiceBasetheSiPixelGainCalibration_
 
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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

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.

Author
Petar Maksimovic (JHU). DetSetVector implementation by Vincenzo Chiochia (Uni Zurich) Modify the local container (cache) to improve the speed. D.K. 5/07

Definition at line 49 of file Phase2ITPixelClusterProducer.h.

Constructor & Destructor Documentation

Phase2ITPixelClusterProducer::Phase2ITPixelClusterProducer ( const edm::ParameterSet conf)
explicit
virtual Phase2ITPixelClusterProducer::~Phase2ITPixelClusterProducer ( )
virtual

Member Function Documentation

virtual void Phase2ITPixelClusterProducer::produce ( edm::Event e,
const edm::EventSetup c 
)
overridevirtual
void Phase2ITPixelClusterProducer::run ( const edm::DetSetVector< PixelDigi > &  input,
edm::ESHandle< TrackerGeometry > &  geom,
edmNew::DetSetVector< Phase2ITPixelCluster > &  output 
)
void Phase2ITPixelClusterProducer::setupClusterizer ( )

Member Data Documentation

Phase2ITPixelClusterizerBase* Phase2ITPixelClusterProducer::clusterizer_
private

Definition at line 71 of file Phase2ITPixelClusterProducer.h.

std::string Phase2ITPixelClusterProducer::clusterMode_
private

Definition at line 70 of file Phase2ITPixelClusterProducer.h.

edm::ParameterSet Phase2ITPixelClusterProducer::conf_
private

Definition at line 66 of file Phase2ITPixelClusterProducer.h.

int32_t Phase2ITPixelClusterProducer::maxTotalClusters_
private

Optional limit on the total number of clusters.

Definition at line 76 of file Phase2ITPixelClusterProducer.h.

bool Phase2ITPixelClusterProducer::readyToCluster_
private

Definition at line 72 of file Phase2ITPixelClusterProducer.h.

edm::InputTag Phase2ITPixelClusterProducer::src_
private

Definition at line 73 of file Phase2ITPixelClusterProducer.h.

SiPixelGainCalibrationServiceBase* Phase2ITPixelClusterProducer::theSiPixelGainCalibration_
private

Definition at line 69 of file Phase2ITPixelClusterProducer.h.

edm::EDGetTokenT<edm::DetSetVector<PixelDigi> > Phase2ITPixelClusterProducer::tPixelDigi
private

Definition at line 67 of file Phase2ITPixelClusterProducer.h.