RecoLocalTracker
Phase2TrackerRecHits
interface
Phase2StripCPE.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_Phase2TrackerRecHits_Phase2StripCPE_H
2
#define RecoLocalTracker_Phase2TrackerRecHits_Phase2StripCPE_H
3
4
#include "
RecoLocalTracker/ClusterParameterEstimator/interface/ClusterParameterEstimator.h
"
5
#include "
MagneticField/Engine/interface/MagneticField.h
"
6
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
7
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
8
#include "
Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
"
9
#include "
DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
class
Phase2StripCPE
final :
public
ClusterParameterEstimator
<Phase2TrackerCluster1D> {
14
public
:
15
// currently (?) use Pixel classes for GeomDetUnit and Topology
16
using
Phase2TrackerGeomDetUnit
=
PixelGeomDetUnit
;
17
using
Phase2TrackerTopology
=
PixelTopology
;
18
19
struct
Param
{
20
Param
() :
topology
(nullptr) {}
21
Phase2TrackerTopology
const
*
topology
;
22
LocalError
localErr
;
23
float
coveredStrips
;
24
};
25
26
public
:
27
Phase2StripCPE
(
edm::ParameterSet
& conf,
const
MagneticField
&,
const
TrackerGeometry
&);
28
LocalValues
localParameters
(
const
Phase2TrackerCluster1D
& cluster,
const
GeomDetUnit
& det)
const override
;
29
LocalVector
driftDirection
(
const
Phase2TrackerGeomDetUnit
& det)
const
;
30
31
private
:
32
void
fillParam
();
33
std::vector<Param>
m_Params
;
34
35
const
MagneticField
&
magfield_
;
36
const
TrackerGeometry
&
geom_
;
37
float
tanLorentzAnglePerTesla_
;
38
unsigned
int
m_off
;
39
40
bool
use_LorentzAngle_DB_
;
41
};
42
43
#endif
Vector3DBase< float, LocalTag >
TrackerGeometry.h
GeomDet
Definition:
GeomDet.h:27
Phase2TrackerCluster1D
Definition:
Phase2TrackerCluster1D.h:10
Phase2StripCPE::localParameters
LocalValues localParameters(const Phase2TrackerCluster1D &cluster, const GeomDetUnit &det) const override
Definition:
Phase2StripCPE.cc:16
ClusterParameterEstimator< Phase2TrackerCluster1D >::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition:
ClusterParameterEstimator.h:14
Phase2StripCPE::tanLorentzAnglePerTesla_
float tanLorentzAnglePerTesla_
Definition:
Phase2StripCPE.h:37
Phase2StripCPE::Param::Param
Param()
Definition:
Phase2StripCPE.h:20
Phase2StripCPE::Param
Definition:
Phase2StripCPE.h:19
Phase2StripCPE
Definition:
Phase2StripCPE.h:13
Phase2StripCPE::Param::coveredStrips
float coveredStrips
Definition:
Phase2StripCPE.h:23
PixelGeomDetUnit
Definition:
PixelGeomDetUnit.h:15
PixelTopology
Definition:
PixelTopology.h:10
Phase2StripCPE::Param::localErr
LocalError localErr
Definition:
Phase2StripCPE.h:22
ClusterParameterEstimator
Definition:
ClusterParameterEstimator.h:12
Phase2StripCPE::m_off
unsigned int m_off
Definition:
Phase2StripCPE.h:38
edm::ParameterSet
Definition:
ParameterSet.h:36
Phase2StripCPE::Param::topology
Phase2TrackerTopology const * topology
Definition:
Phase2StripCPE.h:21
LocalError
Definition:
LocalError.h:12
MagneticField.h
Phase2StripCPE::geom_
const TrackerGeometry & geom_
Definition:
Phase2StripCPE.h:36
Phase2StripCPE::fillParam
void fillParam()
Definition:
Phase2StripCPE.cc:38
GeomDet.h
Phase2TrackerCluster1D.h
Phase2StripCPE::driftDirection
LocalVector driftDirection(const Phase2TrackerGeomDetUnit &det) const
Definition:
Phase2StripCPE.cc:28
PixelGeomDetUnit.h
Phase2StripCPE::m_Params
std::vector< Param > m_Params
Definition:
Phase2StripCPE.h:33
ClusterParameterEstimator.h
ParameterSet.h
Phase2StripCPE::Phase2StripCPE
Phase2StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &)
Definition:
Phase2StripCPE.cc:5
MagneticField
Definition:
MagneticField.h:19
Phase2StripCPE::magfield_
const MagneticField & magfield_
Definition:
Phase2StripCPE.h:35
Phase2StripCPE::use_LorentzAngle_DB_
bool use_LorentzAngle_DB_
Definition:
Phase2StripCPE.h:40
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16