Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TkSeedGenerator
plugins
MultiHitGeneratorFromChi2.h
Go to the documentation of this file.
1
#ifndef MultiHitGeneratorFromChi2_H
2
#define MultiHitGeneratorFromChi2_H
3
10
#include "
RecoTracker/TkSeedGenerator/interface/MultiHitGenerator.h
"
11
#include "
CombinedMultiHitGenerator.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
RecoTracker/TkSeedGenerator/interface/MultiHitGeneratorFromPairAndLayers.h
"
15
#include "
RecoPixelVertexing/PixelLowPtUtilities/interface/ClusterShapeHitFilter.h
"
16
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
17
18
#include "
DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h
"
19
#include "
DataFormats/TrackingRecHit/interface/mayown_ptr.h
"
20
21
22
#include <utility>
23
#include <vector>
24
25
class
HitPairGeneratorFromLayerPair
;
26
27
class
dso_hidden
MultiHitGeneratorFromChi2
final :
public
MultiHitGeneratorFromPairAndLayers
{
28
29
typedef
CombinedMultiHitGenerator::LayerCacheType
LayerCacheType
;
30
31
public
:
32
MultiHitGeneratorFromChi2
(
const
edm::ParameterSet
&
cfg
);
33
34
virtual
~
MultiHitGeneratorFromChi2
();
35
36
void
initES
(
const
edm::EventSetup
& es)
override
;
37
38
virtual
void
hitSets
(
const
TrackingRegion
&
region
,
OrderedMultiHits
& trs,
39
const
edm::Event
&
ev
,
const
edm::EventSetup
& es,
40
SeedingLayerSetsHits::SeedingLayerSet
pairLayers,
41
std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers);
42
43
private
:
44
using
HitOwnPtr
=
mayown_ptr<BaseTrackerRecHit>
;
45
46
void
refit2Hits(
HitOwnPtr
& hit0,
47
HitOwnPtr
& hit1,
48
TrajectoryStateOnSurface
& tsos0,
49
TrajectoryStateOnSurface
& tsos1,
50
const
TrackingRegion
&
region
,
float
nomField,
bool
isDebug);
51
/*
52
void refit3Hits(HitOwnPtr & hit0,
53
HitOwnPtr & hit1,
54
HitOwnPtr & hit2,
55
TrajectoryStateOnSurface& tsos0,
56
TrajectoryStateOnSurface& tsos1,
57
TrajectoryStateOnSurface& tsos2,
58
float nomField, bool isDebug);
59
*/
60
private
:
61
const
ClusterShapeHitFilter
*
filter
;
62
TkTransientTrackingRecHitBuilder
const
*
builder
;
63
TkClonerImpl
cloner
;
64
65
bool
useFixedPreFiltering
;
66
float
extraHitRZtolerance
;
67
float
extraHitRPhitolerance
;
68
float
extraZKDBox
;
69
float
extraRKDBox
;
70
float
extraPhiKDBox
;
71
float
dphi
;
72
const
MagneticField
*
bfield
;
73
float
nomField
;
74
double
nSigmaRZ
,
nSigmaPhi
,
fnSigmaRZ
;
75
bool
chi2VsPtCut
;
76
double
maxChi2
;
77
std::vector<double>
pt_interv
;
78
std::vector<double>
chi2_cuts
;
79
bool
refitHits
;
80
std::string
filterName_
;
81
std::string
builderName_
;
82
83
bool
useSimpleMF_
;
84
std::string
mfName_
;
85
86
std::vector<int>
detIdsToDebug
;
87
88
89
90
};
91
#endif
92
93
MultiHitGeneratorFromChi2::dphi
float dphi
Definition:
MultiHitGeneratorFromChi2.h:71
dso_hidden
#define dso_hidden
looper.cfg
tuple cfg
Definition:
looper.py:293
MultiHitGeneratorFromChi2::builder
TkTransientTrackingRecHitBuilder const * builder
Definition:
MultiHitGeneratorFromChi2.h:62
MultiHitGeneratorFromChi2::detIdsToDebug
std::vector< int > detIdsToDebug
Definition:
MultiHitGeneratorFromChi2.h:86
MultiHitGeneratorFromChi2::filter
const ClusterShapeHitFilter * filter
Definition:
MultiHitGeneratorFromChi2.h:61
MultiHitGeneratorFromChi2::useSimpleMF_
bool useSimpleMF_
Definition:
MultiHitGeneratorFromChi2.h:83
EventSetup.h
MagneticField
Definition:
MagneticField.h:17
MultiHitGeneratorFromChi2::extraRKDBox
float extraRKDBox
Definition:
MultiHitGeneratorFromChi2.h:69
mayown_ptr
Definition:
mayown_ptr.h:13
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
HitPairGeneratorFromLayerPair
Definition:
HitPairGeneratorFromLayerPair.h:11
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
TrackingRegion
Definition:
TrackingRegion.h:40
MultiHitGenerator.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HLT_FULL_cff.region
tuple region
Definition:
HLT_FULL_cff.py:75896
ParameterSet.h
fnSigmaRZ
float fnSigmaRZ
Definition:
PixelTripletLargeTipGenerator.cc:45
MultiHitGeneratorFromChi2::extraPhiKDBox
float extraPhiKDBox
Definition:
MultiHitGeneratorFromChi2.h:70
MultiHitGeneratorFromChi2::useFixedPreFiltering
bool useFixedPreFiltering
Definition:
MultiHitGeneratorFromChi2.h:65
MultiHitGeneratorFromChi2::bfield
const MagneticField * bfield
Definition:
MultiHitGeneratorFromChi2.h:72
TkTransientTrackingRecHitBuilder.h
MultiHitGeneratorFromPairAndLayers::initES
virtual void initES(const edm::EventSetup &es)=0
MultiHitGeneratorFromChi2::mfName_
std::string mfName_
Definition:
MultiHitGeneratorFromChi2.h:84
MultiHitGeneratorFromPairAndLayers
Definition:
MultiHitGeneratorFromPairAndLayers.h:19
edm::EventSetup
Definition:
EventSetup.h:45
MultiHitGeneratorFromChi2::cloner
TkClonerImpl cloner
Definition:
MultiHitGeneratorFromChi2.h:63
MultiHitGeneratorFromChi2::LayerCacheType
CombinedMultiHitGenerator::LayerCacheType LayerCacheType
Definition:
MultiHitGeneratorFromChi2.h:29
MultiHitGeneratorFromChi2::filterName_
std::string filterName_
Definition:
MultiHitGeneratorFromChi2.h:80
mayown_ptr.h
MultiHitGeneratorFromChi2::pt_interv
std::vector< double > pt_interv
Definition:
MultiHitGeneratorFromChi2.h:77
MultiHitGeneratorFromChi2::nSigmaRZ
double nSigmaRZ
Definition:
MultiHitGeneratorFromChi2.h:74
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
MultiHitGeneratorFromChi2
Definition:
MultiHitGeneratorFromChi2.h:27
MultiHitGeneratorFromChi2::nomField
float nomField
Definition:
MultiHitGeneratorFromChi2.h:73
BaseTrackerRecHit.h
TkTransientTrackingRecHitBuilder
Definition:
TkTransientTrackingRecHitBuilder.h:15
MultiHitGeneratorFromChi2::extraHitRZtolerance
float extraHitRZtolerance
Definition:
MultiHitGeneratorFromChi2.h:66
MultiHitGeneratorFromChi2_cfi.MultiHitGeneratorFromChi2
tuple MultiHitGeneratorFromChi2
Definition:
MultiHitGeneratorFromChi2_cfi.py:3
MultiHitGeneratorFromPairAndLayers::hitSets
virtual void hitSets(const TrackingRegion ®ion, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers)=0
CombinedMultiHitGenerator.h
MultiHitGeneratorFromChi2::maxChi2
double maxChi2
Definition:
MultiHitGeneratorFromChi2.h:76
MultiHitGeneratorFromChi2::extraHitRPhitolerance
float extraHitRPhitolerance
Definition:
MultiHitGeneratorFromChi2.h:67
MultiHitGeneratorFromChi2::chi2_cuts
std::vector< double > chi2_cuts
Definition:
MultiHitGeneratorFromChi2.h:78
MultiHitGeneratorFromChi2::refitHits
bool refitHits
Definition:
MultiHitGeneratorFromChi2.h:79
MultiHitGeneratorFromChi2::chi2VsPtCut
bool chi2VsPtCut
Definition:
MultiHitGeneratorFromChi2.h:75
edm::ParameterSet
Definition:
ParameterSet.h:36
SeedingLayerSetsHits::SeedingLayerSet
Definition:
SeedingLayerSetsHits.h:75
TkClonerImpl
Definition:
TkClonerImpl.h:12
MultiHitGeneratorFromPairAndLayers.h
edm::Event
Definition:
Event.h:65
ClusterShapeHitFilter.h
ClusterShapeHitFilter
Definition:
ClusterShapeHitFilter.h:151
nSigmaPhi
double nSigmaPhi
Definition:
PixelTripletLargeTipGenerator.cc:44
MultiHitGeneratorFromChi2::extraZKDBox
float extraZKDBox
Definition:
MultiHitGeneratorFromChi2.h:68
MultiHitGeneratorFromChi2::builderName_
std::string builderName_
Definition:
MultiHitGeneratorFromChi2.h:81
Generated for CMSSW Reference Manual by
1.8.5