CMS 3D CMS Logo

MultiHitGeneratorFromChi2.h
Go to the documentation of this file.
1 #ifndef MultiHitGeneratorFromChi2_H
2 #define MultiHitGeneratorFromChi2_H
3 
10 
18 
21 
23 
24 #include <utility>
25 #include <vector>
26 
28 
31 
32 public:
34 
35  ~MultiHitGeneratorFromChi2() override;
36 
38  static const char* fillDescriptionsLabel() { return "multiHitFromChi2"; }
39 
40  void initES(const edm::EventSetup& es) override;
41 
42  void hitSets(const TrackingRegion& region,
43  OrderedMultiHits& trs,
44  const edm::Event& ev,
45  const edm::EventSetup& es,
47  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers) override;
48 
49  void hitSets(const TrackingRegion& region,
50  OrderedMultiHits& trs,
51  const edm::Event& ev,
52  const edm::EventSetup& es,
53  const HitDoublets& doublets,
54  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers,
55  LayerCacheType& layerCache,
56  cacheHits& refittedHitStorage);
57 
58  void hitTriplets(const TrackingRegion& region,
60  const edm::EventSetup& es,
61  const HitDoublets& doublets,
62  const RecHitsSortedInPhi** thirdHitMap,
63  const std::vector<const DetLayer*>& thirdLayerDetLayer,
64  const int nThirdLayers) override;
65 
66  void hitSets(const TrackingRegion& region,
68  const edm::EventSetup& es,
69  const HitDoublets& doublets,
70  const RecHitsSortedInPhi** thirdHitMap,
71  const std::vector<const DetLayer*>& thirdLayerDetLayer,
72  const int nThirdLayers,
73  cacheHits& refittedHitStorage);
74 
75 private:
77 
78  void refit2Hits(HitOwnPtr& hit0,
79  HitOwnPtr& hit1,
82  const TrackingRegion& region,
83  float nomField,
84  bool isDebug);
85  /*
86  void refit3Hits(HitOwnPtr & hit0,
87  HitOwnPtr & hit1,
88  HitOwnPtr & hit2,
89  TrajectoryStateOnSurface& tsos0,
90  TrajectoryStateOnSurface& tsos1,
91  TrajectoryStateOnSurface& tsos2,
92  float nomField, bool isDebug);
93  */
94 private:
98 
102  float extraZKDBox;
103  float extraRKDBox;
105  float dphi;
107  UniformMagneticField ufield = 0.;
108  float nomField;
111  double maxChi2;
112  std::vector<double> pt_interv;
113  std::vector<double> chi2_cuts;
114  bool refitHits;
117 
120 
121  std::vector<int> detIdsToDebug;
122 };
123 #endif
MultiHitGeneratorFromChi2::mfName_
std::string mfName_
Definition: MultiHitGeneratorFromChi2.h:119
ClusterShapeHitFilter.h
nSigmaPhi
constexpr float nSigmaPhi
Definition: PixelTripletLargeTipGenerator.cc:44
Visibility.h
CombinedMultiHitGenerator.h
OrderedMultiHits
Definition: OrderedMultiHits.h:8
MultiHitGeneratorFromChi2::extraPhiKDBox
float extraPhiKDBox
Definition: MultiHitGeneratorFromChi2.h:104
MultiHitGeneratorFromChi2::nSigmaRZ
double nSigmaRZ
Definition: MultiHitGeneratorFromChi2.h:109
MultiHitGeneratorFromChi2::chi2VsPtCut
bool chi2VsPtCut
Definition: MultiHitGeneratorFromChi2.h:110
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ClusterShapeHitFilter
Definition: ClusterShapeHitFilter.h:149
mayown_ptr
Definition: mayown_ptr.h:13
MultiHitGeneratorFromChi2::cloner
TkClonerImpl cloner
Definition: MultiHitGeneratorFromChi2.h:97
MultiHitGeneratorFromChi2::builderName_
std::string builderName_
Definition: MultiHitGeneratorFromChi2.h:116
MultiHitGeneratorFromChi2::detIdsToDebug
std::vector< int > detIdsToDebug
Definition: MultiHitGeneratorFromChi2.h:121
MultiHitGenerator.h
TkTransientTrackingRecHitBuilder.h
TkTransientTrackingRecHitBuilder
Definition: TkTransientTrackingRecHitBuilder.h:15
HitPairGeneratorFromLayerPair
Definition: HitPairGeneratorFromLayerPair.h:11
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
HLT_2018_cff.doublets
doublets
Definition: HLT_2018_cff.py:8544
LayerHitMapCache
Definition: LayerHitMapCache.h:14
MultiHitGeneratorFromChi2::nomField
float nomField
Definition: MultiHitGeneratorFromChi2.h:108
MultiHitGeneratorFromChi2
Definition: MultiHitGeneratorFromChi2.h:29
MultiHitGeneratorFromChi2::fillDescriptionsLabel
static const char * fillDescriptionsLabel()
Definition: MultiHitGeneratorFromChi2.h:38
MultiHitGeneratorFromPairAndLayers::initES
virtual void initES(const edm::EventSetup &es)=0
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
MultiHitGeneratorFromChi2::useSimpleMF_
bool useSimpleMF_
Definition: MultiHitGeneratorFromChi2.h:118
MultiHitGeneratorFromChi2::pt_interv
std::vector< double > pt_interv
Definition: MultiHitGeneratorFromChi2.h:112
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MultiHitGeneratorFromChi2::filterName_
std::string filterName_
Definition: MultiHitGeneratorFromChi2.h:115
RecHitsSortedInPhi
Definition: RecHitsSortedInPhi.h:17
MultiHitGeneratorFromChi2::dphi
float dphi
Definition: MultiHitGeneratorFromChi2.h:105
MultiHitGeneratorFromPairAndLayers.h
HitDoublets
Definition: RecHitsSortedInPhi.h:124
edm::ParameterSet
Definition: ParameterSet.h:36
MultiHitGeneratorFromChi2::maxChi2
double maxChi2
Definition: MultiHitGeneratorFromChi2.h:111
edm::EventSetup
Definition: EventSetup.h:57
MultiHitGeneratorFromChi2::LayerCacheType
CombinedMultiHitGenerator::LayerCacheType LayerCacheType
Definition: MultiHitGeneratorFromChi2.h:30
UniformMagneticField.h
MultiHitGeneratorFromChi2::extraZKDBox
float extraZKDBox
Definition: MultiHitGeneratorFromChi2.h:102
MultiHitGeneratorFromChi2::extraHitRPhitolerance
float extraHitRPhitolerance
Definition: MultiHitGeneratorFromChi2.h:101
MultiHitGeneratorFromChi2::filter
const ClusterShapeHitFilter * filter
Definition: MultiHitGeneratorFromChi2.h:95
MultiHitGeneratorFromPairAndLayers
Definition: MultiHitGeneratorFromPairAndLayers.h:24
looper.cfg
cfg
Definition: looper.py:297
BaseTrackerRecHit.h
MultiHitGeneratorFromChi2::extraRKDBox
float extraRKDBox
Definition: MultiHitGeneratorFromChi2.h:103
TkClonerImpl
Definition: TkClonerImpl.h:12
MultiHitGeneratorFromChi2_cfi.MultiHitGeneratorFromChi2
MultiHitGeneratorFromChi2
Definition: MultiHitGeneratorFromChi2_cfi.py:3
mayown_ptr.h
MultiHitGeneratorFromPairAndLayers::hitTriplets
virtual void hitTriplets(const TrackingRegion &region, OrderedMultiHits &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers)=0
MultiHitGeneratorFromChi2::bfield
const MagneticField * bfield
Definition: MultiHitGeneratorFromChi2.h:106
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
SeedingLayerSetsHits::SeedingLayerSet
Definition: SeedingLayerSetsHits.h:65
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
EventSetup.h
fnSigmaRZ
constexpr float fnSigmaRZ
Definition: PixelTripletLargeTipGenerator.cc:45
MultiHitGeneratorFromChi2::builder
TkTransientTrackingRecHitBuilder const * builder
Definition: MultiHitGeneratorFromChi2.h:96
TrackingRegion
Definition: TrackingRegion.h:38
MultiHitGeneratorFromChi2::chi2_cuts
std::vector< double > chi2_cuts
Definition: MultiHitGeneratorFromChi2.h:113
MultiHitGeneratorFromChi2::refitHits
bool refitHits
Definition: MultiHitGeneratorFromChi2.h:114
mps_fire.result
result
Definition: mps_fire.py:303
ParameterSet.h
edm::Event
Definition: Event.h:73
MagneticField
Definition: MagneticField.h:19
MultiHitGeneratorFromChi2::useFixedPreFiltering
bool useFixedPreFiltering
Definition: MultiHitGeneratorFromChi2.h:99
MultiHitGeneratorFromChi2::extraHitRZtolerance
float extraHitRZtolerance
Definition: MultiHitGeneratorFromChi2.h:100
MultiHitGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: MultiHitGeneratorFromPairAndLayers.cc:11
MultiHitGeneratorFromPairAndLayers::hitSets
virtual void hitSets(const TrackingRegion &region, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers)=0
UniformMagneticField
Definition: UniformMagneticField.h:13