CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTSiStripMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 hltESPDummyDetLayerGeometry = DummyDetLayerGeometry.clone(
5 #hltESPDummyDetLayerGeometry = GlobalDetLayerGeometry.clone(
6  ComponentName = cms.string( "hltESPDummyDetLayerGeometry" )
7 )
8 
9 # strip cluster monitor
10 # in order to get the crossing angle through the sensor
11 # the track trajectory is needed
12 # => the track re-fit has to be performed
13 # => some ESProducer have to be defined
14 # hltESPStripCPEfromTrackAngle depends on APV gain
15 # => it has different setting in 25ns and 50ns HLT menu
16 # please, make sure it has the setting in synch w/ HLT menu
17 # current setting is for 50ns menu
18 
19 ## NB: the following ESProducer should be the same used in the HLT menu
20 ## make sure they are not already defined somewhereelse inthe final configuration
22 hltESPPixelCPETemplateReco = templates.clone(
23  DoCosmics = cms.bool( False ),
24  LoadTemplatesFromDB = cms.bool( True ),
25  ComponentName = cms.string( "hltESPPixelCPETemplateReco" ),
26  Alpha2Order = cms.bool( True ),
27  ClusterProbComputationFlag = cms.int32( 0 ),
28  speed = cms.int32( -2 ),
29  UseClusterSplitter = cms.bool( False )
30 )
31 
32 from RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi import PixelCPEGenericESProducer
33 hltESPPixelCPEGeneric = PixelCPEGenericESProducer.clone(
34  EdgeClusterErrorX = cms.double( 50.0 ),
35  DoCosmics = cms.bool( False ),
36  LoadTemplatesFromDB = cms.bool( True ),
37  UseErrorsFromTemplates = cms.bool( True ),
38  eff_charge_cut_highX = cms.double( 1.0 ),
39  TruncatePixelCharge = cms.bool( True ),
40  size_cutY = cms.double( 3.0 ),
41  size_cutX = cms.double( 3.0 ),
42  inflate_all_errors_no_trk_angle = cms.bool( False ),
43  IrradiationBiasCorrection = cms.bool( False ),
44  TanLorentzAnglePerTesla = cms.double( 0.106 ),
45  inflate_errors = cms.bool( False ),
46  eff_charge_cut_lowX = cms.double( 0.0 ),
47  eff_charge_cut_highY = cms.double( 1.0 ),
48  ClusterProbComputationFlag = cms.int32( 0 ),
49  EdgeClusterErrorY = cms.double( 85.0 ),
50  ComponentName = cms.string( "hltESPPixelCPEGeneric" ),
51  eff_charge_cut_lowY = cms.double( 0.0 ),
52  PixelErrorParametrization = cms.string( "NOTcmsim" ),
53  Alpha2Order = cms.bool( True )
54 )
55 
56 from RecoTracker.TransientTrackingRecHit.TTRHBuilderWithTemplate_cfi import TTRHBuilderAngleAndTemplate
57 hltESPTTRHBuilderAngleAndTemplate = TTRHBuilderAngleAndTemplate.clone(
58  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
59  Matcher = cms.string( "StandardMatcher" ),
60  ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
61  PixelCPE = cms.string( "hltESPPixelCPETemplateReco" ),
62  ComponentName = cms.string( "hltESPTTRHBuilderAngleAndTemplate" )
63 )
64 
65 hltESPTTRHBWithTrackAngle = TTRHBuilderAngleAndTemplate.clone(
66  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
67  Matcher = cms.string( "StandardMatcher" ),
68  ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
69  PixelCPE = cms.string( "hltESPPixelCPEGeneric" ),
70  ComponentName = cms.string( "hltESPTTRHBWithTrackAngle" )
71 )
72 
74 hltESPStripCPEfromTrackAngle = stripCPEESProducer.clone(
75  ComponentType = cms.string( "StripCPEfromTrackAngle" ),
76  ComponentName = cms.string( "hltESPStripCPEfromTrackAngle" ),
77  parameters = cms.PSet(
78  mLC_P2 = cms.double( 0.3 ),
79  mLC_P1 = cms.double( 0.618 ),
80  mLC_P0 = cms.double( -0.326 ),
81  useLegacyError = cms.bool( True ), # 50ns menu
82  maxChgOneMIP = cms.double( -6000.0 ), # 50ns menu
83 # useLegacyError = cms.bool( False ), # 25ns menu
84 # maxChgOneMIP = cms.double( 6000.0 ), #25ns menu
85  mTEC_P1 = cms.double( 0.471 ),
86  mTEC_P0 = cms.double( -1.885 ),
87  mTOB_P0 = cms.double( -1.026 ),
88  mTOB_P1 = cms.double( 0.253 ),
89  mTIB_P0 = cms.double( -0.742 ),
90  mTIB_P1 = cms.double( 0.202 ),
91  mTID_P0 = cms.double( -1.427 ),
92  mTID_P1 = cms.double( 0.433 )
93  )
94 )
95 
96 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
97 navigationSchoolESProducer = navigationSchoolESProducer.clone(
98  ComponentName = cms.string( "SimpleNavigationSchool" ),
99  SimpleMagneticField = cms.string( "ParabolicMf" )
100 )
101 
103 hltESPMeasurementTracker = MeasurementTracker.clone(
104  UseStripStripQualityDB = cms.bool( True ),
105  StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
106  UsePixelROCQualityDB = cms.bool( True ),
107  DebugPixelROCQualityDB = cms.untracked.bool( False ),
108  UseStripAPVFiberQualityDB = cms.bool( True ),
109  badStripCuts = cms.PSet(
110  TOB = cms.PSet(
111  maxConsecutiveBad = cms.uint32( 9999 ),
112  maxBad = cms.uint32( 9999 )
113  ),
114  TID = cms.PSet(
115  maxConsecutiveBad = cms.uint32( 9999 ),
116  maxBad = cms.uint32( 9999 )
117  ),
118  TEC = cms.PSet(
119  maxConsecutiveBad = cms.uint32( 9999 ),
120  maxBad = cms.uint32( 9999 )
121  ),
122  TIB = cms.PSet(
123  maxConsecutiveBad = cms.uint32( 9999 ),
124  maxBad = cms.uint32( 9999 )
125  )
126  ),
127  DebugStripModuleQualityDB = cms.untracked.bool( False ),
128  ComponentName = cms.string( "hltESPMeasurementTracker" ),
129  DebugPixelModuleQualityDB = cms.untracked.bool( False ),
130  UsePixelModuleQualityDB = cms.bool( True ),
131  DebugStripAPVFiberQualityDB = cms.untracked.bool( False ),
132  HitMatcher = cms.string( "StandardMatcher" ),
133  DebugStripStripQualityDB = cms.untracked.bool( False ),
134  PixelCPE = cms.string( "hltESPPixelCPEGeneric" ),
135  SiStripQualityLabel = cms.string( "" ),
136  UseStripModuleQualityDB = cms.bool( True ),
137  MaskBadAPVFibers = cms.bool( True )
138 )
139 
140 hltESPRungeKuttaTrackerPropagator = cms.ESProducer( "PropagatorWithMaterialESProducer",
141  SimpleMagneticField = cms.string( "" ),
142  PropagationDirection = cms.string( "alongMomentum" ),
143  ComponentName = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
144  Mass = cms.double( 0.105 ),
145  ptMin = cms.double( -1.0 ),
146  MaxDPhi = cms.double( 1.6 ),
147  useRungeKutta = cms.bool( True )
148 )
149 
150 from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import KFUpdatorESProducer
151 hltESPKFUpdator = KFUpdatorESProducer.clone(
152  ComponentName = cms.string( "hltESPKFUpdator" )
153 )
154 
155 hltESPChi2MeasurementEstimator30 = cms.ESProducer( "Chi2MeasurementEstimatorESProducer",
156  MaxChi2 = cms.double( 30.0 ),
157  nSigma = cms.double( 3.0 ),
158  ComponentName = cms.string( "hltESPChi2MeasurementEstimator30" )
159 )
160 
162 hltESPTrajectoryFitterRK = KFTrajectoryFitter.clone(
163  minHits = cms.int32( 3 ),
164  ComponentName = cms.string( "hltESPTrajectoryFitterRK" ),
165  Estimator = cms.string( "hltESPChi2MeasurementEstimator30" ),
166  Updator = cms.string( "hltESPKFUpdator" ),
167  Propagator = cms.string( "hltESPRungeKuttaTrackerPropagator" ),
168 # RecoGeometry = cms.string( "hltESPDummyDetLayerGeometry" )
169  RecoGeometry = cms.string( "hltESPDummyDetLayerGeometry" )
170 )
171 
172 hltMeasurementTrackerEvent = cms.EDProducer( "MeasurementTrackerEventProducer",
173  inactivePixelDetectorLabels = cms.VInputTag( ),
174  stripClusterProducer = cms.string( "hltSiStripRawToClustersFacility" ),
175  pixelClusterProducer = cms.string( "hltSiPixelClusters" ),
176  switchOffPixelsIfEmpty = cms.bool( True ),
177  inactiveStripDetectorLabels = cms.VInputTag( ),
178  skipClusters = cms.InputTag( "" ),
179  measurementTracker = cms.string( "hltESPMeasurementTracker" )
180 )
181 
183 hltTrackRefitterForSiStripMonitorTrack.TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle')
184 hltTrackRefitterForSiStripMonitorTrack.Propagator = cms.string('hltESPRungeKuttaTrackerPropagator')
185 hltTrackRefitterForSiStripMonitorTrack.Fitter = cms.string('hltESPTrajectoryFitterRK')
186 hltTrackRefitterForSiStripMonitorTrack.MeasurementTracker = cms.string('hltESPMeasurementTracker')
187 hltTrackRefitterForSiStripMonitorTrack.MeasurementTrackerEvent = cms.InputTag('hltMeasurementTrackerEvent')
188 hltTrackRefitterForSiStripMonitorTrack.NavigationSchool = cms.string('')
189 
190 HLTSiStripMonitorTrack.TopFolderName = cms.string('HLT/SiStrip')
191 HLTSiStripMonitorTrack.TrackProducer = 'hltTrackRefitterForSiStripMonitorTrack'
192 HLTSiStripMonitorTrack.TrackLabel = ''
193 HLTSiStripMonitorTrack.Cluster_src = cms.InputTag('hltSiStripRawToClustersFacility')
194 HLTSiStripMonitorTrack.AlgoName = cms.string("HLT")
195 HLTSiStripMonitorTrack.Trend_On = cms.bool(True)
196 HLTSiStripMonitorTrack.Mod_On = cms.bool(False)
197 HLTSiStripMonitorTrack.OffHisto_On = cms.bool(True)
198 HLTSiStripMonitorTrack.HistoFlag_On = cms.bool(False)
199 HLTSiStripMonitorTrack.TkHistoMap_On = cms.bool(False)
200 
201 sistripOnlineMonitorHLTsequence = cms.Sequence(
202  hltMeasurementTrackerEvent
203  * sistripMonitorHLTsequence # strip cluster monitoring
204 )
virtual std::unique_ptr< TrajectoryFitter > clone() const override