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
#include "
CondFormats/SiPhase2TrackerObjects/interface/SiPhase2OuterTrackerLorentzAngle.h
"
11
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
14
class
Phase2StripCPE
final :
public
ClusterParameterEstimator
<Phase2TrackerCluster1D> {
15
public
:
16
// currently (?) use Pixel classes for GeomDetUnit and Topology
17
using
Phase2TrackerGeomDetUnit
=
PixelGeomDetUnit
;
18
using
Phase2TrackerTopology
=
PixelTopology
;
19
20
struct
Param
{
21
Param
() :
topology
(nullptr) {}
22
Phase2TrackerTopology
const
*
topology
;
23
LocalError
localErr
;
24
float
coveredStrips
;
25
};
26
27
public
:
28
Phase2StripCPE
(
edm::ParameterSet
& conf,
29
const
MagneticField
&,
30
const
TrackerGeometry
&,
31
const
SiPhase2OuterTrackerLorentzAngle
&);
32
LocalValues
localParameters
(
const
Phase2TrackerCluster1D
& cluster,
const
GeomDetUnit
& det)
const override
;
33
LocalVector
driftDirection
(
const
Phase2TrackerGeomDetUnit
& det)
const
;
34
35
private
:
36
void
fillParam
();
37
std::vector<Param>
m_Params
;
38
39
const
MagneticField
&
magfield_
;
40
const
TrackerGeometry
&
geom_
;
41
const
SiPhase2OuterTrackerLorentzAngle
&
lorentzAngleMap_
;
42
43
float
tanLorentzAnglePerTesla_
;
44
unsigned
int
m_off
;
45
46
bool
use_LorentzAngle_DB_
;
47
};
48
49
#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:17
ClusterParameterEstimator< Phase2TrackerCluster1D >::LocalValues
std::pair< LocalPoint, LocalError > LocalValues
Definition:
ClusterParameterEstimator.h:14
Phase2StripCPE::tanLorentzAnglePerTesla_
float tanLorentzAnglePerTesla_
Definition:
Phase2StripCPE.h:43
Phase2StripCPE::Phase2StripCPE
Phase2StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiPhase2OuterTrackerLorentzAngle &)
Definition:
Phase2StripCPE.cc:5
Phase2StripCPE::Param::Param
Param()
Definition:
Phase2StripCPE.h:21
Phase2StripCPE::Param
Definition:
Phase2StripCPE.h:20
Phase2StripCPE
Definition:
Phase2StripCPE.h:14
SiPhase2OuterTrackerLorentzAngle
Definition:
SiPhase2OuterTrackerLorentzAngle.h:26
Phase2StripCPE::Param::coveredStrips
float coveredStrips
Definition:
Phase2StripCPE.h:24
PixelGeomDetUnit
Definition:
PixelGeomDetUnit.h:15
PixelTopology
Definition:
PixelTopology.h:10
Phase2StripCPE::Param::localErr
LocalError localErr
Definition:
Phase2StripCPE.h:23
ClusterParameterEstimator
Definition:
ClusterParameterEstimator.h:12
Phase2StripCPE::m_off
unsigned int m_off
Definition:
Phase2StripCPE.h:44
edm::ParameterSet
Definition:
ParameterSet.h:47
Phase2StripCPE::Param::topology
Phase2TrackerTopology const * topology
Definition:
Phase2StripCPE.h:22
LocalError
Definition:
LocalError.h:12
Phase2StripCPE::lorentzAngleMap_
const SiPhase2OuterTrackerLorentzAngle & lorentzAngleMap_
Definition:
Phase2StripCPE.h:41
MagneticField.h
Phase2StripCPE::geom_
const TrackerGeometry & geom_
Definition:
Phase2StripCPE.h:40
Phase2StripCPE::fillParam
void fillParam()
Definition:
Phase2StripCPE.cc:42
GeomDet.h
Phase2TrackerCluster1D.h
Phase2StripCPE::driftDirection
LocalVector driftDirection(const Phase2TrackerGeomDetUnit &det) const
Definition:
Phase2StripCPE.cc:29
PixelGeomDetUnit.h
Phase2StripCPE::m_Params
std::vector< Param > m_Params
Definition:
Phase2StripCPE.h:37
ClusterParameterEstimator.h
ParameterSet.h
MagneticField
Definition:
MagneticField.h:19
Phase2StripCPE::magfield_
const MagneticField & magfield_
Definition:
Phase2StripCPE.h:39
SiPhase2OuterTrackerLorentzAngle.h
Phase2StripCPE::use_LorentzAngle_DB_
bool use_LorentzAngle_DB_
Definition:
Phase2StripCPE.h:46
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16