CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
LocalError
LocalValues
 
using ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType >
 
typedef std::vector< LocalValuesVLocalValues
 
- Public Types inherited from PixelClusterParameterEstimator
typedef std::pair< LocalPoint,
LocalError
LocalValues
 
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 () override=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 = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from PixelClusterParameterEstimator
unsigned int clusterProbComputationFlag_
 

Detailed Description

Definition at line 18 of file PixelFakeCPE.h.

Member Typedef Documentation

Definition at line 23 of file PixelFakeCPE.h.

Definition at line 26 of file PixelFakeCPE.h.

Definition at line 24 of file PixelFakeCPE.h.

Constructor & Destructor Documentation

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

Member Function Documentation

FakeCPE const& PixelFakeCPE::fakeCPE ( ) const
inline

Definition at line 43 of file PixelFakeCPE.h.

References m_fakeCPE.

Referenced by getParameters().

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

Implements PixelClusterParameterEstimator.

Definition at line 31 of file PixelFakeCPE.h.

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

Referenced by getParameters().

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

Implements PixelClusterParameterEstimator.

Definition at line 36 of file PixelFakeCPE.h.

References getParameters().

38  {
39  return getParameters(cl, det);
40  }
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
Definition: PixelFakeCPE.h:31
void PixelFakeCPE::setFakeCPE ( FakeCPE iFakeCPE)
inline

Definition at line 42 of file PixelFakeCPE.h.

References m_fakeCPE.

42 { m_fakeCPE = iFakeCPE; }
FakeCPE const * m_fakeCPE
Definition: PixelFakeCPE.h:46

Member Data Documentation

FakeCPE const* PixelFakeCPE::m_fakeCPE = nullptr
private

Definition at line 46 of file PixelFakeCPE.h.

Referenced by fakeCPE(), and setFakeCPE().