CMS 3D CMS Logo

HLTSiStripMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 hltESPDummyDetLayerGeometry = DummyDetLayerGeometry.clone(
5  ComponentName = cms.string( "hltESPDummyDetLayerGeometry" )
6 )
7 
8 # strip cluster monitor
9 # in order to get the crossing angle through the sensor
10 # the track trajectory is needed
11 # => the track re-fit has to be performed
12 # => some ESProducer have to be defined
13 
14 ## NB: the following ESProducer should be the same used in the HLT menu
15 ## make sure they are not already defined somewhereelse in the final configuration
17 hltESPPixelCPETemplateReco = templates.clone(
18  LoadTemplatesFromDB = cms.bool( True ),
19  ComponentName = cms.string( "hltESPPixelCPETemplateReco" ),
20  Alpha2Order = cms.bool( True ),
21  ClusterProbComputationFlag = cms.int32( 0 ),
22  speed = cms.int32( -2 ),
23  UseClusterSplitter = cms.bool( False )
24 )
25 
26 from RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi import PixelCPEGenericESProducer
27 hltESPPixelCPEGeneric = PixelCPEGenericESProducer.clone(
28  EdgeClusterErrorX = cms.double( 50.0 ),
29  DoCosmics = cms.bool( False ),
30  LoadTemplatesFromDB = cms.bool( True ),
31  UseErrorsFromTemplates = cms.bool( True ),
32  eff_charge_cut_highX = cms.double( 1.0 ),
33  TruncatePixelCharge = cms.bool( True ),
34  size_cutY = cms.double( 3.0 ),
35  size_cutX = cms.double( 3.0 ),
36  inflate_all_errors_no_trk_angle = cms.bool( False ),
37  IrradiationBiasCorrection = cms.bool( False ),
38  inflate_errors = cms.bool( False ),
39  eff_charge_cut_lowX = cms.double( 0.0 ),
40  eff_charge_cut_highY = cms.double( 1.0 ),
41  ClusterProbComputationFlag = cms.int32( 0 ),
42  EdgeClusterErrorY = cms.double( 85.0 ),
43  ComponentName = cms.string( "hltESPPixelCPEGeneric" ),
44  eff_charge_cut_lowY = cms.double( 0.0 ),
45  Alpha2Order = cms.bool( True )
46 )
47 
48 from RecoTracker.TransientTrackingRecHit.TTRHBuilderWithTemplate_cfi import TTRHBuilderAngleAndTemplate
49 hltESPTTRHBuilderAngleAndTemplate = TTRHBuilderAngleAndTemplate.clone(
50  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
51  Matcher = cms.string( "StandardMatcher" ),
52  ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
53  PixelCPE = cms.string( "hltESPPixelCPETemplateReco" ),
54  ComponentName = cms.string( "hltESPTTRHBuilderAngleAndTemplate" )
55 )
56 hltESPTTRHBWithTrackAngle = TTRHBuilderAngleAndTemplate.clone(
57  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
58  Matcher = cms.string( "StandardMatcher" ),
59  ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
60  PixelCPE = cms.string( "hltESPPixelCPEGeneric" ),
61  ComponentName = cms.string( "hltESPTTRHBWithTrackAngle" )
62 )
63 
65 hltESPStripCPEfromTrackAngle = stripCPEESProducer.clone(
66  ComponentType = cms.string( "StripCPEfromTrackAngle" ),
67  ComponentName = cms.string( "hltESPStripCPEfromTrackAngle" ),
68  parameters = cms.PSet(
69  mLC_P2 = cms.double( 0.3 ),
70  mLC_P1 = cms.double( 0.618 ),
71  mLC_P0 = cms.double( -0.326 ),
72 # useLegacyError = cms.bool( True ), # 50ns menu
73 # maxChgOneMIP = cms.double( -6000.0 ), # 50ns menu
74  useLegacyError = cms.bool( False ), # 25ns menu
75  maxChgOneMIP = cms.double( 6000.0 ), #25ns menu
76  mTEC_P1 = cms.double( 0.471 ),
77  mTEC_P0 = cms.double( -1.885 ),
78  mTOB_P0 = cms.double( -1.026 ),
79  mTOB_P1 = cms.double( 0.253 ),
80  mTIB_P0 = cms.double( -0.742 ),
81  mTIB_P1 = cms.double( 0.202 ),
82  mTID_P0 = cms.double( -1.427 ),
83  mTID_P1 = cms.double( 0.433 )
84  )
85 )
86 
87 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
88 navigationSchoolESProducer = navigationSchoolESProducer.clone(
89  ComponentName = cms.string( "SimpleNavigationSchool" ),
90  SimpleMagneticField = cms.string( "ParabolicMf" )
91 )
92 
94 hltESPMeasurementTracker = MeasurementTracker.clone(
95  UseStripStripQualityDB = cms.bool( True ),
96  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
97  UsePixelROCQualityDB = cms.bool( True ),
98  DebugPixelROCQualityDB = cms.untracked.bool( False ),
99  UseStripAPVFiberQualityDB = cms.bool( True ),
100  badStripCuts = cms.PSet(
101  TOB = cms.PSet(
102  maxConsecutiveBad = cms.uint32( 9999 ),
103  maxBad = cms.uint32( 9999 )
104  ),
105  TID = cms.PSet(
106  maxConsecutiveBad = cms.uint32( 9999 ),
107  maxBad = cms.uint32( 9999 )
108  ),
109  TEC = cms.PSet(
110  maxConsecutiveBad = cms.uint32( 9999 ),
111  maxBad = cms.uint32( 9999 )
112  ),
113  TIB = cms.PSet(
114  maxConsecutiveBad = cms.uint32( 9999 ),
115  maxBad = cms.uint32( 9999 )
116  )
117  ),
118  DebugStripModuleQualityDB = cms.untracked.bool( False ),
119  ComponentName = cms.string( "hltESPMeasurementTracker" ),
120  DebugPixelModuleQualityDB = cms.untracked.bool( False ),
121  UsePixelModuleQualityDB = cms.bool( True ),
122  DebugStripAPVFiberQualityDB = cms.untracked.bool( False ),
123  HitMatcher = cms.string( "StandardMatcher" ),
124  DebugStripStripQualityDB = cms.untracked.bool( False ),
125  PixelCPE = cms.string( "hltESPPixelCPEGeneric" ),
126  SiStripQualityLabel = cms.string( "" ),
127  UseStripModuleQualityDB = cms.bool( True ),
128  MaskBadAPVFibers = cms.bool( True )
129 )
130 
131 hltESPRungeKuttaTrackerPropagator = cms.ESProducer( "PropagatorWithMaterialESProducer",
132  SimpleMagneticField = cms.string( "" ),
133  PropagationDirection = cms.string( "alongMomentum" ),
134  ComponentName = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
135  Mass = cms.double( 0.105 ),
136  ptMin = cms.double( -1.0 ),
137  MaxDPhi = cms.double( 1.6 ),
138  useRungeKutta = cms.bool( True )
139 )
140 
141 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import KFUpdatorESProducer
142 hltESPKFUpdator = KFUpdatorESProducer.clone(
143  ComponentName = cms.string( "hltESPKFUpdator" )
144 )
145 
146 hltESPChi2MeasurementEstimator30 = cms.ESProducer( "Chi2MeasurementEstimatorESProducer",
147  appendToDataLabel = cms.string( "" ),
148  MinimalTolerance = cms.double( 10.0 ),
149  MaxDisplacement = cms.double( 100.0 ),
150  ComponentName = cms.string( "hltESPChi2MeasurementEstimator30" ),
151  nSigma = cms.double( 3.0 ),
152  MaxSagitta = cms.double( -1.0 ),
153  MaxChi2 = cms.double( 30.0 ),
154  MinPtForHitRecoveryInGluedDet = cms.double( 1000000.0 )
155 )
156 
157 from TrackingTools.TrackFitters.KFTrajectoryFitter_cfi import KFTrajectoryFitter
158 hltESPTrajectoryFitterRK = KFTrajectoryFitter.clone(
159  minHits = cms.int32( 3 ),
160  ComponentName = cms.string( "hltESPTrajectoryFitterRK" ),
161  Estimator = cms.string( "hltESPChi2MeasurementEstimator30" ),
162  Updator = cms.string( "hltESPKFUpdator" ),
163  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
164  RecoGeometry = cms.string( "hltESPDummyDetLayerGeometry" )
165 )
166 
167 hltSiStripExcludedFEDListProducer = cms.EDProducer( "SiStripExcludedFEDListProducer",
168  ProductLabel = cms.InputTag( "rawDataCollector" )
169 )
170 
171 hltMeasurementTrackerEvent = cms.EDProducer( "MeasurementTrackerEventProducer",
172  inactivePixelDetectorLabels = cms.VInputTag( ),
173  stripClusterProducer = cms.string( "hltSiStripRawToClustersFacility" ),
174  pixelClusterProducer = cms.string( "hltSiPixelClusters" ),
175  switchOffPixelsIfEmpty = cms.bool( True ),
176  inactiveStripDetectorLabels = cms.VInputTag( ),
177  skipClusters = cms.InputTag( "" ),
178  measurementTracker = cms.string( "hltESPMeasurementTracker" )
179 )
180 
181 #####
182 hltESPTrajectoryFitterRK = cms.ESProducer( "KFTrajectoryFitterESProducer",
183  appendToDataLabel = cms.string( "" ),
184  minHits = cms.int32( 3 ),
185  ComponentName = cms.string( "hltESPTrajectoryFitterRK" ),
186  Estimator = cms.string( "hltESPChi2MeasurementEstimator30" ),
187  Updator = cms.string( "hltESPKFUpdator" ),
188  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
189  RecoGeometry = cms.string( "hltESPDummyDetLayerGeometry" )
190 )
191 hltESPTrajectorySmootherRK = cms.ESProducer( "KFTrajectorySmootherESProducer",
192  errorRescaling = cms.double( 100.0 ),
193  minHits = cms.int32( 3 ),
194  ComponentName = cms.string( "hltESPTrajectorySmootherRK" ),
195  appendToDataLabel = cms.string( "" ),
196  Estimator = cms.string( "hltESPChi2MeasurementEstimator30" ),
197  Updator = cms.string( "hltESPKFUpdator" ),
198  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
199  RecoGeometry = cms.string( "hltESPDummyDetLayerGeometry" )
200 )
201 hltESPFittingSmootherIT = cms.ESProducer( "KFFittingSmootherESProducer",
202  EstimateCut = cms.double( -1.0 ),
203  appendToDataLabel = cms.string( "" ),
204  LogPixelProbabilityCut = cms.double( -16.0 ),
205  MinDof = cms.int32( 2 ),
206  NoOutliersBeginEnd = cms.bool( False ),
207  Fitter = cms.string( "hltESPTrajectoryFitterRK" ),
208  MinNumberOfHits = cms.int32( 3 ),
209  Smoother = cms.string( "hltESPTrajectorySmootherRK" ),
210  MaxNumberOfOutliers = cms.int32( 3 ),
211  BreakTrajWith2ConsecutiveMissing = cms.bool( True ),
212  MaxFractionOutliers = cms.double( 0.3 ),
213  NoInvalidHitsBeginEnd = cms.bool( True ),
214  ComponentName = cms.string( "hltESPFittingSmootherIT" ),
215  RejectTracks = cms.bool( True )
216 )
217 
218 
219 
221 hltTrackRefitterForSiStripMonitorTrack.TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle')
222 hltTrackRefitterForSiStripMonitorTrack.Propagator = cms.string('hltESPRungeKuttaTrackerPropagator')
223 hltTrackRefitterForSiStripMonitorTrack.Fitter = cms.string('hltESPFittingSmootherIT')
224 hltTrackRefitterForSiStripMonitorTrack.MeasurementTrackerEvent = cms.InputTag('hltMeasurementTrackerEvent')
225 hltTrackRefitterForSiStripMonitorTrack.NavigationSchool = cms.string('navigationSchoolESProducer')
226 hltTrackRefitterForSiStripMonitorTrack.src = cms.InputTag("hltTracksMerged") # hltIter2Merged
227 
228 HLTSiStripMonitorTrack.TopFolderName = cms.string('HLT/SiStrip')
229 HLTSiStripMonitorTrack.TrackProducer = 'hltTrackRefitterForSiStripMonitorTrack'
230 HLTSiStripMonitorTrack.TrackLabel = ''
231 HLTSiStripMonitorTrack.Cluster_src = cms.InputTag('hltSiStripRawToClustersFacility')
232 HLTSiStripMonitorTrack.AlgoName = cms.string("HLT")
233 HLTSiStripMonitorTrack.Trend_On = cms.bool(True)
234 HLTSiStripMonitorTrack.Mod_On = cms.bool(False)
235 HLTSiStripMonitorTrack.OffHisto_On = cms.bool(True)
236 HLTSiStripMonitorTrack.HistoFlag_On = cms.bool(False)
237 HLTSiStripMonitorTrack.TkHistoMap_On = cms.bool(False)
238 
239 HLTSiStripMonitorClusterAPVgainCalibration = HLTSiStripMonitorCluster.clone()
241 #HLTSiStripMonitorClusterAPVgainCalibration.BPTXfilter = genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb # HLT_ZeroBias_FirstCollisionAfterAbortGap_*
242 HLTSiStripMonitorClusterAPVgainCalibration.BPTXfilter = cms.PSet(
243  andOr = cms.bool( False ),
244 ### DCS selection
245  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
246  dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
247  andOrDcs = cms.bool( False ),
248  errorReplyDcs = cms.bool( True ),
249 ### HLT selection
250  andOrHlt = cms.bool(True),# True:=OR; False:=AND
251  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
252  hltPaths = cms.vstring("HLT_ZeroBias_FirstCollisionAfterAbortGap_v*"),
253  errorReplyHlt = cms.bool( False ),
254 # errorReplyHlt = cms.bool( True ),
255 ### L1 selection
256 # andOrL1 = cms.bool( True ),
257 # l1Algorithms = cms.vstring("L1_ZeroBias_FirstCollidingBunch"),
258 ## l1BeforeMask = cms.bool( True ), # specifies, if the L1 algorithm decision should be read as before (true) or after (false) masking is applied.
259 # l1BeforeMask = cms.bool( False ), # specifies, if the L1 algorithm decision should be read as before (true) or after (false) masking is applied.
260 # errorReplyL1 = cms.bool( False ),
261  verbosityLevel = cms.uint32(1)
262 )
263 HLTSiStripMonitorClusterAPVgainCalibration.TopFolderName = cms.string('HLT/SiStrip/ZeroBias_FirstCollisionAfterAbortGap')
264 
265 sistripOnlineMonitorHLTsequence = cms.Sequence(
266  hltMeasurementTrackerEvent
267  * sistripMonitorHLTsequence # strip cluster monitoring
268  * HLTSiStripMonitorClusterAPVgainCalibration
269 )
std::unique_ptr< TrajectoryFitter > clone() const override