CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Calibration/TkAlCaRecoProducers/python/ALCARECOSiStripCalZeroBiasHI_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Set the HLT paths
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 ALCARECOSiStripCalZeroBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00006     andOr = True, # choose logical OR between Triggerbits
00007 #    HLTPaths = [
00008 #        #SiStripCalZeroBias
00009 #        "HLT_ZeroBias",
00010 #        #Random Trigger for Cosmic Runs
00011 #        'RandomPath'
00012 #        ],
00013     eventSetupPathsKey='SiStripCalZeroBiasHI',
00014     throw = False # tolerate triggers stated above, but not available
00015 )
00016 
00017 # Select only events where tracker had HV on (according to DCS bit information)
00018 # AND respective partition is in the run (according to FED information)
00019 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
00020 DCSStatusForSiStripCalZeroBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
00021 
00022 # Select pp-like events based on the pixel cluster multiplicity
00023 import HLTrigger.special.hltPixelActivityFilter_cfi
00024 HLTPixelActivityFilterForSiStripCalZeroBias = HLTrigger.special.hltPixelActivityFilter_cfi.hltPixelActivityFilter.clone()
00025 HLTPixelActivityFilterForSiStripCalZeroBias.maxClusters = 500
00026 HLTPixelActivityFilterForSiStripCalZeroBias.inputTag    = 'siPixelClusters'
00027 
00028 # Include masking only from Cabling and O2O
00029 import CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi
00030 siStripQualityESProducerUnbiased = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00031 siStripQualityESProducerUnbiased.appendToDataLabel = 'unbiased'
00032 siStripQualityESProducerUnbiased.ListOfRecordToMerge = cms.VPSet(
00033     cms.PSet(
00034         record = cms.string( 'SiStripDetCablingRcd' ), # bad components from cabling
00035         tag = cms.string( '' )
00036     ),
00037     cms.PSet(
00038         record = cms.string( 'SiStripBadChannelRcd' ), # bad components from O2O
00039         tag = cms.string( '' )
00040     )
00041 )
00042 
00043 
00044 # Clusterizer #
00045 import RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi 
00046 
00047 ZeroBiasClusterizer = cms.PSet(
00048     Algorithm = cms.string('ThreeThresholdAlgorithm'),
00049     ChannelThreshold = cms.double(2.0),
00050     SeedThreshold = cms.double(3.0),
00051     ClusterThreshold = cms.double(5.0),
00052     MaxSequentialHoles = cms.uint32(0),
00053     MaxSequentialBad = cms.uint32(1),
00054     MaxAdjacentBad = cms.uint32(0),
00055     QualityLabel = cms.string('unbiased'),
00056     RemoveApvShots     = cms.bool(True) 
00057     )
00058 
00059 
00060 calZeroBiasClusters = RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi.siStripClusters.clone()
00061 calZeroBiasClusters.Clusterizer = ZeroBiasClusterizer
00062 
00063 # Not persistent collections needed by the filters in the AlCaReco DQM
00064 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
00065 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1ts2011_cfi import *
00066 
00067 # SiStripQuality (only to test the different data labels)#
00068 qualityStatistics = cms.EDAnalyzer("SiStripQualityStatistics",
00069     TkMapFileName = cms.untracked.string(''),
00070     dataLabel = cms.untracked.string('unbiased')
00071 )
00072 
00073 # Sequence #
00074 seqALCARECOSiStripCalZeroBias = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*HLTPixelActivityFilterForSiStripCalZeroBias*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)