RecoTracker
TransientTrackingRecHit
src
TkTransientTrackingRecHitBuilder.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
2
//
3
// include all the concrete ones
4
//
5
#include "
FWCore/Utilities/interface/Exception.h
"
6
7
#include "
DataFormats/TrackingRecHit/interface/InvalidTrackingRecHit.h
"
8
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
9
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
10
#include "
RecoTracker/TransientTrackingRecHit/interface/ProjectedRecHit2D.h
"
11
//
12
// For FAMOS
13
//
14
#include "
Utilities/General/interface/ClassName.h
"
15
#include <typeinfo>
16
17
TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder
(
const
TrackingGeometry
* trackingGeometry,
18
const
PixelClusterParameterEstimator
* pCPE,
19
const
StripClusterParameterEstimator
* sCPE,
20
const
SiStripRecHitMatcher
* matcher,
21
bool
computeCoarseLocalPositionFromDisk)
22
: tGeometry_(trackingGeometry),
23
pixelCPE
(pCPE),
24
stripCPE(sCPE),
25
theMatcher(matcher),
26
theComputeCoarseLocalPosition(computeCoarseLocalPositionFromDisk),
27
phase2OTCPE(nullptr) {}
28
29
TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder
(
30
const
TrackingGeometry
* trackingGeometry,
31
const
PixelClusterParameterEstimator
* pCPE,
32
const
ClusterParameterEstimator<Phase2TrackerCluster1D>
* ph2StripCPE)
33
: tGeometry_(trackingGeometry),
34
pixelCPE
(pCPE),
35
stripCPE(nullptr),
36
theMatcher(nullptr),
37
theComputeCoarseLocalPosition(
false
),
38
phase2OTCPE(ph2StripCPE) {}
39
40
TransientTrackingRecHit::RecHitPointer
TkTransientTrackingRecHitBuilder::build
(
const
TrackingRecHit
*
p
)
const
{
41
// assert("TkTransientTrackingRecHitBuilder::build"==nullptr);
42
43
return
(*p).cloneSH();
44
}
PixelClusterParameterEstimator
Definition:
PixelClusterParameterEstimator.h:15
HLT_2018_cff.pixelCPE
pixelCPE
Definition:
HLT_2018_cff.py:49268
TkTransientTrackingRecHitBuilder::build
TransientTrackingRecHit::RecHitPointer build(const TrackingRecHit *p) const override
build a tracking rechit from an existing rechit
Definition:
TkTransientTrackingRecHitBuilder.cc:40
funct::false
false
Definition:
Factorize.h:34
TrackingGeometry
Definition:
TrackingGeometry.h:26
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition:
TrackingRecHit.h:24
TkTransientTrackingRecHitBuilder.h
TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder
TkTransientTrackingRecHitBuilder(const TrackingGeometry *trackingGeometry, const PixelClusterParameterEstimator *, const StripClusterParameterEstimator *, const SiStripRecHitMatcher *, bool computeCoarseLocalPositionFromDisk)
Definition:
TkTransientTrackingRecHitBuilder.cc:17
StripClusterParameterEstimator
Definition:
StripClusterParameterEstimator.h:25
ProjectedRecHit2D.h
ClusterParameterEstimator< Phase2TrackerCluster1D >
ProjectedSiStripRecHit2D.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
ClassName.h
Exception.h
SiStripMatchedRecHit2D.h
SiStripRecHitMatcher
Definition:
SiStripRecHitMatcher.h:25
InvalidTrackingRecHit.h
Generated for CMSSW Reference Manual by
1.8.16