CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Calibration/TkAlCaRecoProducers/python/ALCARECOSiStripCalZeroBias_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='SiStripCalZeroBias',
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 # Include masking only from Cabling and O2O
00023 import CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi
00024 siStripQualityESProducerUnbiased = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00025 siStripQualityESProducerUnbiased.appendToDataLabel = 'unbiased'
00026 siStripQualityESProducerUnbiased.ListOfRecordToMerge = cms.VPSet(
00027     cms.PSet(
00028         record = cms.string( 'SiStripDetCablingRcd' ), # bad components from cabling
00029         tag = cms.string( '' )
00030     ),
00031     cms.PSet(
00032         record = cms.string( 'SiStripBadChannelRcd' ), # bad components from O2O
00033         tag = cms.string( '' )
00034     )
00035 )
00036 
00037 
00038 # Clusterizer #
00039 import RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi 
00040 
00041 ZeroBiasClusterizer = cms.PSet(
00042     Algorithm = cms.string('ThreeThresholdAlgorithm'),
00043     ChannelThreshold = cms.double(2.0),
00044     SeedThreshold = cms.double(3.0),
00045     ClusterThreshold = cms.double(5.0),
00046     MaxSequentialHoles = cms.uint32(0),
00047     MaxSequentialBad = cms.uint32(1),
00048     MaxAdjacentBad = cms.uint32(0),
00049     QualityLabel = cms.string('unbiased'),
00050     RemoveApvShots     = cms.bool(True) 
00051     )
00052 
00053 
00054 calZeroBiasClusters = RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi.siStripClusters.clone()
00055 calZeroBiasClusters.Clusterizer = ZeroBiasClusterizer
00056 
00057 # Not persistent collections needed by the filters in the AlCaReco DQM
00058 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
00059 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1ts2011_cfi import *
00060 
00061 # SiStripQuality (only to test the different data labels)#
00062 qualityStatistics = cms.EDAnalyzer("SiStripQualityStatistics",
00063     TkMapFileName = cms.untracked.string(''),
00064     dataLabel = cms.untracked.string('unbiased')
00065 )
00066 
00067 # Sequence #
00068 seqALCARECOSiStripCalZeroBias = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)