CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes
PixelClusterParameterEstimator Class Referenceabstract

#include <PixelClusterParameterEstimator.h>

Inheritance diagram for PixelClusterParameterEstimator:
PixelCPEBase PixelFakeCPE PixelCPEClusterRepair PixelCPEGenericBase PixelCPETemplateReco PixelCPEFast PixelCPEGeneric PixelCPEGenericForBricked

Public Types

typedef std::pair< LocalPoint, LocalErrorLocalValues
 
using ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType >
 
typedef std::vector< LocalValuesVLocalValues
 

Public Member Functions

unsigned int clusterProbComputationFlag () const
 
virtual ReturnType getParameters (const SiPixelCluster &cl, const GeomDetUnit &det) const =0
 
virtual ReturnType getParameters (const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters &ltp) const =0
 
virtual ReturnType getParameters (const SiPixelCluster &cl, const GeomDetUnit &det, const TrajectoryStateOnSurface &tsos) const
 
virtual VLocalValues localParametersV (const SiPixelCluster &cluster, const GeomDetUnit &gd) const
 
virtual VLocalValues localParametersV (const SiPixelCluster &cluster, const GeomDetUnit &gd, TrajectoryStateOnSurface &tsos) const
 
 PixelClusterParameterEstimator ()
 
virtual ~PixelClusterParameterEstimator ()
 

Protected Attributes

unsigned int clusterProbComputationFlag_
 

Detailed Description

Definition at line 15 of file PixelClusterParameterEstimator.h.

Member Typedef Documentation

◆ LocalValues

Definition at line 19 of file PixelClusterParameterEstimator.h.

◆ ReturnType

Definition at line 22 of file PixelClusterParameterEstimator.h.

◆ VLocalValues

Definition at line 20 of file PixelClusterParameterEstimator.h.

Constructor & Destructor Documentation

◆ ~PixelClusterParameterEstimator()

virtual PixelClusterParameterEstimator::~PixelClusterParameterEstimator ( )
inlinevirtual

Definition at line 17 of file PixelClusterParameterEstimator.h.

17 {}

◆ PixelClusterParameterEstimator()

PixelClusterParameterEstimator::PixelClusterParameterEstimator ( )
inline

Member Function Documentation

◆ clusterProbComputationFlag()

unsigned int PixelClusterParameterEstimator::clusterProbComputationFlag ( ) const
inline

◆ getParameters() [1/3]

virtual ReturnType PixelClusterParameterEstimator::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det 
) const
pure virtual

◆ getParameters() [2/3]

virtual ReturnType PixelClusterParameterEstimator::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det,
const LocalTrajectoryParameters ltp 
) const
pure virtual

Implemented in PixelCPEBase, and PixelFakeCPE.

◆ getParameters() [3/3]

virtual ReturnType PixelClusterParameterEstimator::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det,
const TrajectoryStateOnSurface tsos 
) const
inlinevirtual

Definition at line 33 of file PixelClusterParameterEstimator.h.

References haddnano::cl, getParameters(), and TrajectoryStateOnSurface::localParameters().

35  {
36  return getParameters(cl, det, tsos.localParameters());
37  }
const LocalTrajectoryParameters & localParameters() const
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0

◆ localParametersV() [1/2]

virtual VLocalValues PixelClusterParameterEstimator::localParametersV ( const SiPixelCluster cluster,
const GeomDetUnit gd 
) const
inlinevirtual

Definition at line 39 of file PixelClusterParameterEstimator.h.

References getParameters().

39  {
40  VLocalValues vlp;
41  ReturnType tuple = getParameters(cluster, gd);
42  vlp.push_back(std::make_pair(std::get<0>(tuple), std::get<1>(tuple)));
43  return vlp;
44  }
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType

◆ localParametersV() [2/2]

virtual VLocalValues PixelClusterParameterEstimator::localParametersV ( const SiPixelCluster cluster,
const GeomDetUnit gd,
TrajectoryStateOnSurface tsos 
) const
inlinevirtual

Definition at line 45 of file PixelClusterParameterEstimator.h.

References getParameters().

47  {
48  VLocalValues vlp;
49  ReturnType tuple = getParameters(cluster, gd, tsos);
50  vlp.push_back(std::make_pair(std::get<0>(tuple), std::get<1>(tuple)));
51  return vlp;
52  }
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType

Member Data Documentation

◆ clusterProbComputationFlag_

unsigned int PixelClusterParameterEstimator::clusterProbComputationFlag_
protected