CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelRecHitConverter Class Reference

EDProducer to covert SiPixelClusters into SiPixelRecHits. More...

#include <SiPixelRecHitConverter.h>

Detailed Description

EDProducer to covert SiPixelClusters into SiPixelRecHits.

SiPixelRecHitConverter is an EDProducer subclass (i.e., a module) which orchestrates the conversion of SiPixelClusters into SiPixelRecHits. Consequently, the input is a edm::DetSetVector<SiPixelCluster> and the output is SiPixelRecHitCollection.

SiPixelRecHitConverter invokes one of descendents from ClusterParameterEstimator (templated on SiPixelCluster), e.g. CPEFromDetPosition (which is the only available option right now). SiPixelRecHitConverter loads the SiPixelClusterCollection, and then iterates over DetIds, invoking the chosen CPE's methods localPosition() and localError() to perform the correction (some of which may be rather involved). A RecHit is made on the spot, and appended to the output collection.

The calibrations are not loaded at the moment, although that is being planned for the near future.

Author
Porting from ORCA by Petar Maksimovic (JHU). Implementation of the DetSetVector by V.Chiochia (Zurich University).
Version
v2, May 30, 2006 change to use Lorentz angle from DB Lotte Wilke, Jan. 31st, 2008