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 = "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 
17 hltESPPixelCPETemplateReco = templates.clone(
18  LoadTemplatesFromDB = True ,
19  ComponentName = "hltESPPixelCPETemplateReco" ,
20  Alpha2Order = True ,
21  ClusterProbComputationFlag = 0 ,
22  speed = -2 ,
23  UseClusterSplitter = False
24 )
25 
26 from RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi import PixelCPEGenericESProducer
27 hltESPPixelCPEGeneric = PixelCPEGenericESProducer.clone(
28  EdgeClusterErrorX = 50.0 ,
29  DoCosmics = False ,
30  LoadTemplatesFromDB = True ,
31  UseErrorsFromTemplates = True ,
32  eff_charge_cut_highX = 1.0 ,
33  TruncatePixelCharge = True ,
34  size_cutY = 3.0 ,
35  size_cutX = 3.0 ,
36  inflate_all_errors_no_trk_angle = False ,
37  IrradiationBiasCorrection = False ,
38  inflate_errors = False ,
39  eff_charge_cut_lowX = 0.0 ,
40  eff_charge_cut_highY = 1.0 ,
41  ClusterProbComputationFlag = 0 ,
42  EdgeClusterErrorY = 85.0 ,
43  ComponentName = "hltESPPixelCPEGeneric" ,
44  eff_charge_cut_lowY = 0.0 ,
45  Alpha2Order = True
46 )
47 
48 from RecoTracker.TransientTrackingRecHit.TTRHBuilderWithTemplate_cfi import TTRHBuilderAngleAndTemplate
49 hltESPTTRHBuilderAngleAndTemplate = TTRHBuilderAngleAndTemplate.clone(
50  StripCPE = "hltESPStripCPEfromTrackAngle" ,
51  Matcher = "StandardMatcher" ,
52  ComputeCoarseLocalPositionFromDisk = False ,
53  PixelCPE = "hltESPPixelCPETemplateReco",
54  ComponentName ="hltESPTTRHBuilderAngleAndTemplate"
55 )
56 hltESPTTRHBWithTrackAngle = TTRHBuilderAngleAndTemplate.clone(
57  StripCPE = "hltESPStripCPEfromTrackAngle",
58  Matcher = "StandardMatcher",
59  ComputeCoarseLocalPositionFromDisk = False,
60  PixelCPE = "hltESPPixelCPEGeneric",
61  ComponentName = "hltESPTTRHBWithTrackAngle"
62 )
63 
65 hltESPStripCPEfromTrackAngle = stripCPEESProducer.clone(
66  ComponentType = "StripCPEfromTrackAngle" ,
67  ComponentName = "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 = "SimpleNavigationSchool" ,
90  SimpleMagneticField ="ParabolicMf"
91 )
92 
94 hltESPMeasurementTracker = MeasurementTracker.clone(
95  UseStripStripQualityDB = True ,
96  StripCPE = "hltESPStripCPEfromTrackAngle",
97  UsePixelROCQualityDB = True ,
98  DebugPixelROCQualityDB = False,
99  UseStripAPVFiberQualityDB = 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 = False ,
119  ComponentName ="hltESPMeasurementTracker",
120  DebugPixelModuleQualityDB = False,
121  UsePixelModuleQualityDB = True,
122  DebugStripAPVFiberQualityDB = False,
123  HitMatcher = "StandardMatcher",
124  DebugStripStripQualityDB = False,
125  PixelCPE = "hltESPPixelCPEGeneric",
126  SiStripQualityLabel = "" ,
127  UseStripModuleQualityDB = True,
128  MaskBadAPVFibers = 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 = "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 
219 hltTrackRefitterForSiStripMonitorTrack.TTRHBuilder = 'hltESPTTRHBWithTrackAngle'
220 hltTrackRefitterForSiStripMonitorTrack.Propagator = 'hltESPRungeKuttaTrackerPropagator'
221 hltTrackRefitterForSiStripMonitorTrack.Fitter = 'hltESPFittingSmootherIT'
222 hltTrackRefitterForSiStripMonitorTrack.MeasurementTrackerEvent = 'hltMeasurementTrackerEvent'
223 hltTrackRefitterForSiStripMonitorTrack.NavigationSchool = 'navigationSchoolESProducer'
224 hltTrackRefitterForSiStripMonitorTrack.src = 'hltMergedTracks' # hltIter2Merged
225 
226 HLTSiStripMonitorTrack.TopFolderName = 'HLT/SiStrip'
227 HLTSiStripMonitorTrack.TrackProducer = 'hltTrackRefitterForSiStripMonitorTrack'
228 HLTSiStripMonitorTrack.TrackLabel = ''
229 HLTSiStripMonitorTrack.Cluster_src = 'hltSiStripRawToClustersFacility'
230 HLTSiStripMonitorTrack.AlgoName = 'HLT'
231 HLTSiStripMonitorTrack.Trend_On = True
232 HLTSiStripMonitorTrack.Mod_On = False
233 HLTSiStripMonitorTrack.OffHisto_On = True
234 HLTSiStripMonitorTrack.HistoFlag_On = False
235 HLTSiStripMonitorTrack.TkHistoMap_On = False
236 
237 HLTSiStripMonitorClusterAPVgainCalibration = HLTSiStripMonitorCluster.clone()
239 #HLTSiStripMonitorClusterAPVgainCalibration.BPTXfilter = genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb # HLT_ZeroBias_FirstCollisionAfterAbortGap_*
240 HLTSiStripMonitorClusterAPVgainCalibration.BPTXfilter = cms.PSet(
241  andOr = cms.bool( False ),
242 
243  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
244  dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
245  dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
246  andOrDcs = cms.bool( False ),
247  errorReplyDcs = cms.bool( True ),
248 
249  andOrHlt = cms.bool(True),# True:=OR; False:=AND
250  hltInputTag = cms.InputTag( "TriggerResults::HLT" ),
251  hltPaths = cms.vstring("HLT_ZeroBias_FirstCollisionAfterAbortGap_v*"),
252  errorReplyHlt = cms.bool( False ),
253 # errorReplyHlt = cms.bool( True ),
254 
260  verbosityLevel = cms.uint32(1)
261 )
262 HLTSiStripMonitorClusterAPVgainCalibration.TopFolderName = cms.string('HLT/SiStrip/ZeroBias_FirstCollisionAfterAbortGap')
263 
264 sistripOnlineMonitorHLTsequence = cms.Sequence(
265  hltMeasurementTrackerEvent
266  * sistripMonitorHLTsequence # strip cluster monitoring
267  * HLTSiStripMonitorClusterAPVgainCalibration
268 )
std::unique_ptr< TrajectoryFitter > clone() const override