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