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
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:29
TrackingGeometry
Definition:
TrackingGeometry.h:26
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
HLT_FULL_cff.pixelCPE
pixelCPE
Definition:
HLT_FULL_cff.py:50744
ProjectedRecHit2D.h
ClusterParameterEstimator< Phase2TrackerCluster1D >
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
ProjectedSiStripRecHit2D.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
ClassName.h
Exception.h
SiStripMatchedRecHit2D.h
SiStripRecHitMatcher
Definition:
SiStripRecHitMatcher.h:24
InvalidTrackingRecHit.h
Generated for CMSSW Reference Manual by
1.8.16