RecoLocalTracker
ClusterParameterEstimator
interface
StripFakeCPE.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_Fake_StripCluster_Parameter_Estimator_H
2
#define RecoLocalTracker_Fake_StripCluster_Parameter_Estimator_H
3
4
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
5
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
6
7
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
8
#include "
DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h
"
9
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
10
11
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
12
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
13
#include "
DataFormats/GeometryCommonDetAlgo/interface/MeasurementPoint.h
"
14
#include "
DataFormats/GeometryCommonDetAlgo/interface/MeasurementError.h
"
15
16
#include "
CommonTools/Utils/interface/DynArray.h
"
17
#include "
FWCore/Utilities/interface/Exception.h
"
18
19
#include "
RecoLocalTracker/ClusterParameterEstimator/interface/FakeCPE.h
"
20
#include "
RecoLocalTracker/ClusterParameterEstimator/interface/StripClusterParameterEstimator.h
"
21
22
class
StripFakeCPE
final :
public
StripClusterParameterEstimator
{
23
public
:
24
StripFakeCPE
() =
default
;
25
~StripFakeCPE
()
override
=
default
;
26
27
using
LocalValues
= std::pair<LocalPoint, LocalError>;
28
29
LocalValues
localParameters
(
const
SiStripCluster
&
cl
,
const
GeomDetUnit
& gd)
const override
{
30
return
fakeCPE
().
map
().
get
(
cl
, gd);
31
}
32
33
// used by Validation....
34
LocalVector
driftDirection
(
const
StripGeomDetUnit
*)
const override
{
return
LocalVector
(); }
35
36
void
setFakeCPE
(
FakeCPE
* iFakeCPE) {
m_fakeCPE
= iFakeCPE; }
37
FakeCPE
const
&
fakeCPE
()
const
{
return
*
m_fakeCPE
; }
38
39
private
:
40
FakeCPE
const
*
m_fakeCPE
=
nullptr
;
41
};
42
43
#endif
Vector3DBase< float, LocalTag >
TrajectoryStateOnSurface.h
StripGeomDetUnit.h
GeomDet
Definition:
GeomDet.h:27
StripFakeCPE::setFakeCPE
void setFakeCPE(FakeCPE *iFakeCPE)
Definition:
StripFakeCPE.h:36
StripFakeCPE::localParameters
LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &gd) const override
Definition:
StripFakeCPE.h:29
MeasurementError.h
StripFakeCPE::driftDirection
LocalVector driftDirection(const StripGeomDetUnit *) const override
Definition:
StripFakeCPE.h:34
FakeCPE.h
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition:
GetRecoTauVFromDQM_MC_cff.py:38
StripClusterParameterEstimator
Definition:
StripClusterParameterEstimator.h:25
LocalTrajectoryParameters.h
LocalError.h
StripFakeCPE::~StripFakeCPE
~StripFakeCPE() override=default
SiStripCluster.h
FakeCPE
Definition:
FakeCPE.h:17
StripFakeCPE::StripFakeCPE
StripFakeCPE()=default
StripFakeCPE
Definition:
StripFakeCPE.h:22
LocalVector
Local3DVector LocalVector
Definition:
LocalVector.h:12
MeasurementPoint.h
FakeCPE::Map::get
LocalValues const & get(const Cluster &cluster, const GeomDetUnit &gd) const
Definition:
FakeCPE.h:35
StripFakeCPE::fakeCPE
FakeCPE const & fakeCPE() const
Definition:
StripFakeCPE.h:37
DynArray.h
FakeCPE::map
Map & map()
Definition:
FakeCPE.h:61
GeomDet.h
StripFakeCPE::m_fakeCPE
FakeCPE const * m_fakeCPE
Definition:
StripFakeCPE.h:40
LocalPoint.h
StripClusterParameterEstimator.h
Exception.h
StripClusterParameterEstimator::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition:
StripClusterParameterEstimator.h:27
SiStripCluster
Definition:
SiStripCluster.h:8
StripGeomDetUnit
Definition:
StripGeomDetUnit.h:15
Generated for CMSSW Reference Manual by
1.8.16