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

const FakeCPEfakeCPE () 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

const FakeCPEm_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

◆ LocalValues

Definition at line 23 of file PixelFakeCPE.h.

◆ ReturnType

Definition at line 26 of file PixelFakeCPE.h.

◆ VLocalValues

Definition at line 24 of file PixelFakeCPE.h.

Constructor & Destructor Documentation

◆ PixelFakeCPE()

PixelFakeCPE::PixelFakeCPE ( )
default

◆ ~PixelFakeCPE()

PixelFakeCPE::~PixelFakeCPE ( )
overridedefault

Member Function Documentation

◆ fakeCPE()

const FakeCPE& PixelFakeCPE::fakeCPE ( ) const
inline

Definition at line 43 of file PixelFakeCPE.h.

43 { return *m_fakeCPE; }

References m_fakeCPE.

Referenced by getParameters().

◆ getParameters() [1/2]

ReturnType PixelFakeCPE::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det 
) const
inlineoverridevirtual

Implements PixelClusterParameterEstimator.

Definition at line 31 of file PixelFakeCPE.h.

31  {
32  auto const &lv = fakeCPE().map().get(cl, det);
33  return {lv.first, lv.second, 0};
34  }

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

Referenced by getParameters().

◆ getParameters() [2/2]

ReturnType PixelFakeCPE::getParameters ( const SiPixelCluster cl,
const GeomDetUnit det,
const LocalTrajectoryParameters  
) const
inlineoverridevirtual

Implements PixelClusterParameterEstimator.

Definition at line 36 of file PixelFakeCPE.h.

38  {
39  return getParameters(cl, det);
40  }

References GetRecoTauVFromDQM_MC_cff::cl, and getParameters().

◆ setFakeCPE()

void PixelFakeCPE::setFakeCPE ( FakeCPE iFakeCPE)
inline

Definition at line 42 of file PixelFakeCPE.h.

42 { m_fakeCPE = iFakeCPE; }

References m_fakeCPE.

Member Data Documentation

◆ m_fakeCPE

const FakeCPE* PixelFakeCPE::m_fakeCPE = nullptr
private

Definition at line 46 of file PixelFakeCPE.h.

Referenced by fakeCPE(), and setFakeCPE().

GetRecoTauVFromDQM_MC_cff.cl
cl
Definition: GetRecoTauVFromDQM_MC_cff.py:38
PixelFakeCPE::m_fakeCPE
const FakeCPE * m_fakeCPE
Definition: PixelFakeCPE.h:46
PixelFakeCPE::fakeCPE
const FakeCPE & fakeCPE() const
Definition: PixelFakeCPE.h:43
FakeCPE::Map::get
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition: FakeCPE.h:35
FakeCPE::map
Map & map()
Definition: FakeCPE.h:61
PixelFakeCPE::getParameters
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
Definition: PixelFakeCPE.h:31