CMS 3D CMS Logo

List of all members | Public Member Functions
PixelTemplateSmearerPlugin Class Reference

If we ever need to port back to 9X: include "Geometry/CommonDetUnit/interface/GeomDetUnit.h". More...

Inheritance diagram for PixelTemplateSmearerPlugin:
PixelTemplateSmearerBase TrackingRecHitAlgorithm

Public Member Functions

 PixelTemplateSmearerPlugin (const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
 
 ~PixelTemplateSmearerPlugin () override
 
- Public Member Functions inherited from PixelTemplateSmearerBase
void beginRun (edm::Run const &run, const edm::EventSetup &eventSetup, const SiPixelTemplateDBObject *pixelTemplateDBObjectPtr, const std::vector< SiPixelTemplateStore > &tempStoreRef) override
 
bool hitsMerge (const PSimHit &simHit1, const PSimHit &simHit2) const
 
 PixelTemplateSmearerBase (const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
 
TrackingRecHitProductPtr process (TrackingRecHitProductPtr product) const override
 
TrackingRecHitProductPtr processMergeGroups (std::vector< MergeGroup *> &mergeGroups, TrackingRecHitProductPtr product, const PixelGeomDetUnit *detUnit, const double boundX, const double boundY, RandomEngineAndDistribution const *random) const
 
TrackingRecHitProductPtr processUnmergedHits (std::vector< TrackingRecHitProduct::SimHitIdPair > &unmergedHits, TrackingRecHitProductPtr product, const PixelGeomDetUnit *detUnit, const double boundX, const double boundY, RandomEngineAndDistribution const *random) const
 
FastSingleTrackerRecHit smearHit (const PSimHit &simHit, const PixelGeomDetUnit *detUnit, const double boundX, const double boundY, RandomEngineAndDistribution const *) const
 
FastSingleTrackerRecHit smearMergeGroup (MergeGroup *mg, const PixelGeomDetUnit *detUnit, const double boundX, const double boundY, const RandomEngineAndDistribution *random) const
 
 ~PixelTemplateSmearerBase () override
 
- Public Member Functions inherited from TrackingRecHitAlgorithm
virtual void beginEvent (edm::Event &event, const edm::EventSetup &eventSetup)
 
virtual void beginStream (const edm::StreamID &id)
 
virtual void endEvent (edm::Event &event, const edm::EventSetup &eventSetup)
 
virtual void endStream ()
 
const TrackerGeometrygetMisalignedGeometry () const
 
const std::string & getName () const
 
const RandomEngineAndDistributiongetRandomEngine () const
 
const std::string & getSelectionString () const
 
const TrackerGeometrygetTrackerGeometry () const
 
const TrackerTopologygetTrackerTopology () const
 
 TrackingRecHitAlgorithm (const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)
 
virtual ~TrackingRecHitAlgorithm ()
 

Additional Inherited Members

- Protected Attributes inherited from PixelTemplateSmearerBase
bool isBarrel
 
bool mergeHitsOn = false
 
const SiPixelTemplateDBObjectpixelTemplateDBObject_ = nullptr
 
int templateId = -1
 
std::string theBigPixelResolutionFileName
 
std::shared_ptr< PixelResolutionHistogramstheBigPixelResolutions
 
std::string theEdgePixelResolutionFileName
 
std::shared_ptr< PixelResolutionHistogramstheEdgePixelResolutions
 
std::unique_ptr< TFile > theMergedPixelResolutionXFile
 
std::string theMergedPixelResolutionXFileName
 
std::unique_ptr< TFile > theMergedPixelResolutionYFile
 
std::string theMergedPixelResolutionYFileName
 
std::unique_ptr< TFile > theMergingProbabilityFile
 
std::string theMergingProbabilityFileName
 
std::vector< SiPixelTemplateStorethePixelTemp_
 
const std::vector< SiPixelTemplateStore > * thePixelTempRef = &thePixelTemp_
 
std::string theRegularPixelResolutionFileName
 
std::shared_ptr< PixelResolutionHistogramstheRegularPixelResolutions
 

Detailed Description

If we ever need to port back to 9X: include "Geometry/CommonDetUnit/interface/GeomDetUnit.h".

Definition at line 19 of file PixelTemplateSmearerPlugin.cc.

Constructor & Destructor Documentation

◆ PixelTemplateSmearerPlugin()

PixelTemplateSmearerPlugin::PixelTemplateSmearerPlugin ( const std::string &  name,
const edm::ParameterSet config,
edm::ConsumesCollector consumesCollector 
)
explicit

Definition at line 27 of file PixelTemplateSmearerPlugin.cc.

30  : PixelTemplateSmearerBase(name, config, consumesCollector) {}
Definition: config.py:1
PixelTemplateSmearerBase(const std::string &name, const edm::ParameterSet &config, edm::ConsumesCollector &consumesCollector)

◆ ~PixelTemplateSmearerPlugin()

PixelTemplateSmearerPlugin::~PixelTemplateSmearerPlugin ( )
override

Definition at line 32 of file PixelTemplateSmearerPlugin.cc.

32 {}