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 PixelCPEGeneric PixelCPETemplateReco

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

Definition at line 21 of file PixelClusterParameterEstimator.h.

Definition at line 24 of file PixelClusterParameterEstimator.h.

Definition at line 22 of file PixelClusterParameterEstimator.h.

Constructor & Destructor Documentation

virtual PixelClusterParameterEstimator::~PixelClusterParameterEstimator ( )
inlinevirtual

Definition at line 19 of file PixelClusterParameterEstimator.h.

19 {}
PixelClusterParameterEstimator::PixelClusterParameterEstimator ( )
inline

Member Function Documentation

unsigned int PixelClusterParameterEstimator::clusterProbComputationFlag ( ) const
inline

Definition at line 61 of file PixelClusterParameterEstimator.h.

References clusterProbComputationFlag_.

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

Implemented in PixelCPEBase.

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

Definition at line 36 of file PixelClusterParameterEstimator.h.

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

38  {
39  return getParameters(cl,det,tsos.localParameters());
40  }
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
const LocalTrajectoryParameters & localParameters() const
virtual VLocalValues PixelClusterParameterEstimator::localParametersV ( const SiPixelCluster cluster,
const GeomDetUnit gd 
) const
inlinevirtual

Definition at line 42 of file PixelClusterParameterEstimator.h.

References getParameters().

Referenced by JetCoreClusterSplitter::produce(), FastPrimaryVertexWithWeightsProducer::produce(), and FastPrimaryVertexProducer::produce().

42  {
43  VLocalValues vlp;
44  ReturnType tuple = getParameters(cluster, gd);
45  vlp.push_back(std::make_pair(std::get<0>(tuple), std::get<1>(tuple)));
46  return vlp;
47  }
virtual ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType
virtual VLocalValues PixelClusterParameterEstimator::localParametersV ( const SiPixelCluster cluster,
const GeomDetUnit gd,
TrajectoryStateOnSurface tsos 
) const
inlinevirtual

Definition at line 48 of file PixelClusterParameterEstimator.h.

References getParameters().

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

Member Data Documentation

unsigned int PixelClusterParameterEstimator::clusterProbComputationFlag_
protected