test
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
bool
checkPhiInRange(
float
phi
,
float
phi1,
float
phi2)
const
;
47
std::pair<float,float> mergePhiRanges(
48
const
std::pair<float,float> &
r1
,
const
std::pair<float,float> &
r2
)
const
;
49
50
void
refit2Hits(
HitOwnPtr
& hit0,
51
HitOwnPtr
& hit1,
52
TrajectoryStateOnSurface
& tsos0,
53
TrajectoryStateOnSurface
& tsos1,
54
const
TrackingRegion
&
region
,
float
nomField,
bool
isDebug);
55
/*
56
void refit3Hits(HitOwnPtr & hit0,
57
HitOwnPtr & hit1,
58
HitOwnPtr & hit2,
59
TrajectoryStateOnSurface& tsos0,
60
TrajectoryStateOnSurface& tsos1,
61
TrajectoryStateOnSurface& tsos2,
62
float nomField, bool isDebug);
63
*/
64
private
:
65
const
ClusterShapeHitFilter
*
filter
;
66
TkTransientTrackingRecHitBuilder
const
*
builder
;
67
TkClonerImpl
cloner
;
68
69
bool
useFixedPreFiltering
;
70
float
extraHitRZtolerance
;
71
float
extraHitRPhitolerance
;
72
float
extraZKDBox
;
73
float
extraRKDBox
;
74
float
extraPhiKDBox
;
75
float
dphi
;
76
const
MagneticField
*
bfield
;
77
float
nomField
;
78
double
nSigmaRZ
,
nSigmaPhi
,
fnSigmaRZ
;
79
bool
chi2VsPtCut
;
80
double
maxChi2
;
81
std::vector<double>
pt_interv
;
82
std::vector<double>
chi2_cuts
;
83
bool
refitHits
;
84
std::string
filterName_
;
85
std::string
builderName_
;
86
87
bool
useSimpleMF_
;
88
std::string
mfName_
;
89
90
std::vector<int>
detIdsToDebug
;
91
92
93
94
};
95
#endif
96
97
MultiHitGeneratorFromChi2::dphi
float dphi
Definition:
MultiHitGeneratorFromChi2.h:75
dso_hidden
#define dso_hidden
looper.cfg
tuple cfg
Definition:
looper.py:293
MultiHitGeneratorFromChi2::builder
TkTransientTrackingRecHitBuilder const * builder
Definition:
MultiHitGeneratorFromChi2.h:66
MultiHitGeneratorFromChi2::detIdsToDebug
std::vector< int > detIdsToDebug
Definition:
MultiHitGeneratorFromChi2.h:90
MultiHitGeneratorFromChi2::filter
const ClusterShapeHitFilter * filter
Definition:
MultiHitGeneratorFromChi2.h:65
MultiHitGeneratorFromChi2::useSimpleMF_
bool useSimpleMF_
Definition:
MultiHitGeneratorFromChi2.h:87
EventSetup.h
diffTwoXMLs.r2
r2
Definition:
diffTwoXMLs.py:72
MagneticField
Definition:
MagneticField.h:17
MultiHitGeneratorFromChi2::extraRKDBox
float extraRKDBox
Definition:
MultiHitGeneratorFromChi2.h:73
mayown_ptr
Definition:
mayown_ptr.h:14
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
DDAxes::phi
MultiHitGenerator.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HLT_25ns14e33_v3_cff.region
tuple region
Definition:
HLT_25ns14e33_v3_cff.py:52859
ParameterSet.h
MultiHitGeneratorFromChi2::extraPhiKDBox
float extraPhiKDBox
Definition:
MultiHitGeneratorFromChi2.h:74
MultiHitGeneratorFromChi2::useFixedPreFiltering
bool useFixedPreFiltering
Definition:
MultiHitGeneratorFromChi2.h:69
MultiHitGeneratorFromChi2::bfield
const MagneticField * bfield
Definition:
MultiHitGeneratorFromChi2.h:76
TkTransientTrackingRecHitBuilder.h
MultiHitGeneratorFromPairAndLayers::initES
virtual void initES(const edm::EventSetup &es)=0
MultiHitGeneratorFromChi2::mfName_
std::string mfName_
Definition:
MultiHitGeneratorFromChi2.h:88
MultiHitGeneratorFromPairAndLayers
Definition:
MultiHitGeneratorFromPairAndLayers.h:19
edm::EventSetup
Definition:
EventSetup.h:45
MultiHitGeneratorFromChi2::cloner
TkClonerImpl cloner
Definition:
MultiHitGeneratorFromChi2.h:67
MultiHitGeneratorFromChi2::LayerCacheType
CombinedMultiHitGenerator::LayerCacheType LayerCacheType
Definition:
MultiHitGeneratorFromChi2.h:29
MultiHitGeneratorFromChi2::filterName_
std::string filterName_
Definition:
MultiHitGeneratorFromChi2.h:84
mayown_ptr.h
MultiHitGeneratorFromChi2::pt_interv
std::vector< double > pt_interv
Definition:
MultiHitGeneratorFromChi2.h:81
MultiHitGeneratorFromChi2::nSigmaRZ
double nSigmaRZ
Definition:
MultiHitGeneratorFromChi2.h:78
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
MultiHitGeneratorFromChi2
Definition:
MultiHitGeneratorFromChi2.h:27
MultiHitGeneratorFromChi2::nomField
float nomField
Definition:
MultiHitGeneratorFromChi2.h:77
BaseTrackerRecHit.h
TkTransientTrackingRecHitBuilder
Definition:
TkTransientTrackingRecHitBuilder.h:15
MultiHitGeneratorFromChi2::extraHitRZtolerance
float extraHitRZtolerance
Definition:
MultiHitGeneratorFromChi2.h:70
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:80
MultiHitGeneratorFromChi2::extraHitRPhitolerance
float extraHitRPhitolerance
Definition:
MultiHitGeneratorFromChi2.h:71
MultiHitGeneratorFromChi2::chi2_cuts
std::vector< double > chi2_cuts
Definition:
MultiHitGeneratorFromChi2.h:82
MultiHitGeneratorFromChi2::refitHits
bool refitHits
Definition:
MultiHitGeneratorFromChi2.h:83
MultiHitGeneratorFromChi2::chi2VsPtCut
bool chi2VsPtCut
Definition:
MultiHitGeneratorFromChi2.h:79
edm::ParameterSet
Definition:
ParameterSet.h:36
SeedingLayerSetsHits::SeedingLayerSet
Definition:
SeedingLayerSetsHits.h:75
TkClonerImpl
Definition:
TkClonerImpl.h:12
MultiHitGeneratorFromPairAndLayers.h
edm::Event
Definition:
Event.h:64
ClusterShapeHitFilter.h
fnSigmaRZ
static const float fnSigmaRZ
Definition:
PixelTripletLargeTipGenerator.cc:43
ClusterShapeHitFilter
Definition:
ClusterShapeHitFilter.h:151
nSigmaPhi
double nSigmaPhi
Definition:
PixelTripletLargeTipGenerator.cc:42
MultiHitGeneratorFromChi2::extraZKDBox
float extraZKDBox
Definition:
MultiHitGeneratorFromChi2.h:72
MultiHitGeneratorFromChi2::builderName_
std::string builderName_
Definition:
MultiHitGeneratorFromChi2.h:85
diffTwoXMLs.r1
r1
Definition:
diffTwoXMLs.py:52
Generated for CMSSW Reference Manual by
1.8.5