CMS 3D CMS Logo

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

#include <PixelFakeCPE.h>

Inheritance diagram for PixelFakeCPE:
PixelClusterParameterEstimator

Public Types

typedef std::pair< LocalPoint, LocalErrorLocalValues
 
using ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType >
 
typedef std::vector< LocalValuesVLocalValues
 
- Public Types inherited from PixelClusterParameterEstimator
typedef std::pair< LocalPoint, LocalErrorLocalValues
 
using ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType >
 
typedef std::vector< LocalValuesVLocalValues
 

Public Member Functions

FakeCPE const & fakeCPE () const
 
ReturnType getParameters (const SiPixelCluster &cl, const GeomDetUnit &det) const override
 
ReturnType getParameters (const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters &) const override
 
 PixelFakeCPE ()=default
 
void setFakeCPE (FakeCPE *iFakeCPE)
 
 ~PixelFakeCPE ()=default
 
- Public Member Functions inherited from PixelClusterParameterEstimator
unsigned int clusterProbComputationFlag () const
 
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 ()
 

Private Attributes

FakeCPE const * m_fakeCPE = 0
 

Additional Inherited Members

- Protected Attributes inherited from PixelClusterParameterEstimator
unsigned int clusterProbComputationFlag_
 

Detailed Description

Definition at line 19 of file PixelFakeCPE.h.

Member Typedef Documentation

Definition at line 25 of file PixelFakeCPE.h.

Definition at line 28 of file PixelFakeCPE.h.

Definition at line 26 of file PixelFakeCPE.h.

Constructor & Destructor Documentation

PixelFakeCPE::PixelFakeCPE ( )
default
PixelFakeCPE::~PixelFakeCPE ( )
default

Member Function Documentation

FakeCPE const& PixelFakeCPE::fakeCPE ( ) const
inline

Definition at line 46 of file PixelFakeCPE.h.

References m_fakeCPE.

Referenced by getParameters().

46 { return *m_fakeCPE; }
FakeCPE const * m_fakeCPE
Definition: PixelFakeCPE.h:49
ReturnType PixelFakeCPE::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det 
) const
inlineoverridevirtual

Implements PixelClusterParameterEstimator.

Definition at line 33 of file PixelFakeCPE.h.

References fakeCPE(), FakeCPE::Map::get(), and FakeCPE::map().

Referenced by getParameters().

34  {
35  auto const & lv = fakeCPE().map().get(cl,det);
36  return {lv.first,lv.second,0};
37  }
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition: FakeCPE.h:33
Map & map()
Definition: FakeCPE.h:58
FakeCPE const & fakeCPE() const
Definition: PixelFakeCPE.h:46
ReturnType PixelFakeCPE::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det,
const LocalTrajectoryParameters  
) const
inlineoverridevirtual

Implements PixelClusterParameterEstimator.

Definition at line 39 of file PixelFakeCPE.h.

References getParameters().

41  {
42  return getParameters(cl,det);
43  }
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
Definition: PixelFakeCPE.h:33
void PixelFakeCPE::setFakeCPE ( FakeCPE iFakeCPE)
inline

Definition at line 45 of file PixelFakeCPE.h.

References m_fakeCPE.

45 { m_fakeCPE = iFakeCPE;}
FakeCPE const * m_fakeCPE
Definition: PixelFakeCPE.h:49

Member Data Documentation

FakeCPE const* PixelFakeCPE::m_fakeCPE = 0
private

Definition at line 49 of file PixelFakeCPE.h.

Referenced by fakeCPE(), and setFakeCPE().