CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOSiStripCalZeroBiasHI_cff.py
Go to the documentation of this file.
2 
3 # Set the HLT paths
5 ALCARECOSiStripCalZeroBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, # choose logical OR between Triggerbits
7 # HLTPaths = [
8 # #SiStripCalZeroBias
9 # "HLT_ZeroBias",
10 # #Random Trigger for Cosmic Runs
11 # 'RandomPath'
12 # ],
13  eventSetupPathsKey='SiStripCalZeroBiasHI',
14  throw = False # tolerate triggers stated above, but not available
15 )
16 
17 # Select only events where tracker had HV on (according to DCS bit information)
18 # AND respective partition is in the run (according to FED information)
19 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
20 DCSStatusForSiStripCalZeroBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
21 
22 # Select pp-like events based on the pixel cluster multiplicity
23 import HLTrigger.special.hltPixelActivityFilter_cfi
24 HLTPixelActivityFilterForSiStripCalZeroBias = HLTrigger.special.hltPixelActivityFilter_cfi.hltPixelActivityFilter.clone()
25 HLTPixelActivityFilterForSiStripCalZeroBias.maxClusters = 500
26 HLTPixelActivityFilterForSiStripCalZeroBias.inputTag = 'siPixelClusters'
27 
28 # Include masking only from Cabling and O2O
30 siStripQualityESProducerUnbiased = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
31 siStripQualityESProducerUnbiased.appendToDataLabel = 'unbiased'
32 siStripQualityESProducerUnbiased.ListOfRecordToMerge = cms.VPSet(
33  cms.PSet(
34  record = cms.string( 'SiStripDetCablingRcd' ), # bad components from cabling
35  tag = cms.string( '' )
36  ),
37  cms.PSet(
38  record = cms.string( 'SiStripBadChannelRcd' ), # bad components from O2O
39  tag = cms.string( '' )
40  )
41 )
42 
43 
44 # Clusterizer #
46 
47 ZeroBiasClusterizer = cms.PSet(
48  Algorithm = cms.string('ThreeThresholdAlgorithm'),
49  ChannelThreshold = cms.double(2.0),
50  SeedThreshold = cms.double(3.0),
51  ClusterThreshold = cms.double(5.0),
52  MaxSequentialHoles = cms.uint32(0),
53  MaxSequentialBad = cms.uint32(1),
54  MaxAdjacentBad = cms.uint32(0),
55  QualityLabel = cms.string('unbiased'),
56  RemoveApvShots = cms.bool(True)
57  )
58 
59 
60 calZeroBiasClusters = RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi.siStripClusters.clone()
61 calZeroBiasClusters.Clusterizer = ZeroBiasClusterizer
62 
63 # Not persistent collections needed by the filters in the AlCaReco DQM
66 
67 # SiStripQuality (only to test the different data labels)#
68 qualityStatistics = cms.EDAnalyzer("SiStripQualityStatistics",
69  TkMapFileName = cms.untracked.string(''),
70  dataLabel = cms.untracked.string('unbiased')
71 )
72 
73 # Sequence #
74 seqALCARECOSiStripCalZeroBias = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*HLTPixelActivityFilterForSiStripCalZeroBias*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)