File indexing completed on 2024-04-06 12:06:45
0001 import FWCore.ParameterSet.Config as cms
0002 import FWCore.ParameterSet.VarParsing as VarParsing
0003
0004 process = cms.Process("SeedMultiplicity")
0005
0006
0007
0008 options = VarParsing.VarParsing("analysis")
0009
0010 options.register ('globalTag',
0011 "DONOTEXIST",
0012 VarParsing.VarParsing.multiplicity.singleton,
0013 VarParsing.VarParsing.varType.string,
0014 "GlobalTag")
0015
0016
0017 options.parseArguments()
0018
0019
0020 process.options = cms.untracked.PSet(
0021 wantSummary = cms.untracked.bool(True),
0022 fileMode = cms.untracked.string("FULLMERGE")
0023 )
0024
0025 process.load("FWCore.MessageService.MessageLogger_cfi")
0026
0027 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0028 process.MessageLogger.cout.threshold = cms.untracked.string("WARNING")
0029 process.MessageLogger.cout.default = cms.untracked.PSet(
0030 limit = cms.untracked.int32(10000000)
0031 )
0032 process.MessageLogger.cout.FwkReport = cms.untracked.PSet(
0033 reportEvery = cms.untracked.int32(10000)
0034 )
0035
0036 process.MessageLogger.cerr.enable = cms.untracked.bool(True)
0037 process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING")
0038 process.MessageLogger.cerr.default = cms.untracked.PSet(
0039 limit = cms.untracked.int32(10000000)
0040 )
0041 process.MessageLogger.cerr.FwkReport = cms.untracked.PSet(
0042 reportEvery = cms.untracked.int32(100000)
0043 )
0044
0045
0046
0047 process.MessageLogger.suppressInfo.append("pixelVerticesAdaptive")
0048 process.MessageLogger.suppressInfo.append("pixelVerticesAdaptiveNoBS")
0049
0050
0051
0052 process.MessageLogger.suppressInfo.append("testBeamSpot")
0053 process.MessageLogger.suppressInfo.append("onlineBeamSpot")
0054 process.MessageLogger.suppressWarning.append("testBeamSpot")
0055 process.MessageLogger.suppressWarning.append("onlineBeamSpot")
0056
0057
0058
0059 process.MessageLogger.suppressInfo.append("newTracksFromV0")
0060 process.MessageLogger.suppressInfo.append("newTracksFromOtobV0")
0061
0062
0063
0064
0065 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0066
0067 process.source = cms.Source("PoolSource",
0068 fileNames = cms.untracked.vstring(options.inputFiles),
0069
0070 inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0071 )
0072
0073
0074 process.load("Configuration.StandardSequences.MagneticField_cff")
0075 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0076 process.load("Configuration.StandardSequences.Reconstruction_cff")
0077
0078 from Configuration.GlobalRuns.reco_TLR_42X import customisePPData
0079 process=customisePPData(process)
0080
0081
0082
0083
0084 process.load("DPGAnalysis.SiStripTools.largesipixelclusterevents_cfi")
0085 process.largeSiPixelClusterEvents.absoluteThreshold = cms.untracked.int32(3000)
0086 process.largeSiPixelClusterEvents.moduleThreshold = cms.untracked.int32(10000)
0087
0088 process.load("DPGAnalysis.SiStripTools.sipixelclustermultiplicityprod_cfi")
0089 process.load("DPGAnalysis.SiStripTools.sistripclustermultiplicityprod_cfi")
0090 process.seqMultProd = cms.Sequence(process.spclustermultprod+process.ssclustermultprod)
0091
0092 process.load("DPGAnalysis.SiStripTools.multiplicitycorr_cfi")
0093 process.multiplicitycorr.correlationConfigurations = cms.VPSet(
0094 cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"),
0095 xDetSelection = cms.uint32(0), xDetLabel = cms.string("TK"), xBins = cms.uint32(1000), xMax=cms.double(50000),
0096 yMultiplicityMap = cms.InputTag("spclustermultprod"),
0097 yDetSelection = cms.uint32(0), yDetLabel = cms.string("Pixel"), yBins = cms.uint32(1000), yMax=cms.double(20000),
0098 rBins = cms.uint32(200), scaleFactor =cms.untracked.double(5.))
0099 )
0100
0101
0102 process.load("DPGAnalysis.SiStripTools.seedmultiplicitymonitor_cfi")
0103 process.seedmultiplicitymonitor.multiplicityCorrelations = cms.VPSet(
0104 cms.PSet(multiplicityMap = cms.InputTag("ssclustermultprod"),
0105 detSelection = cms.uint32(0), detLabel = cms.string("TK"), nBins = cms.uint32(1000), nBinsEta = cms.uint32(100), maxValue=cms.double(100000)
0106 ),
0107 cms.PSet(multiplicityMap = cms.InputTag("spclustermultprod"),
0108 detSelection = cms.uint32(0), detLabel = cms.string("Pixel"), nBins = cms.uint32(1000), nBinsEta = cms.uint32(100), maxValue=cms.double(20000)
0109 )
0110 )
0111
0112
0113 process.load("DPGAnalysis.SiStripTools.trackcount_cfi")
0114 process.trackcount.trackCollection = cms.InputTag("generalTracks")
0115 process.trackcountRECO = process.trackcount.clone(trackCollection = cms.InputTag("generalTracks","","RECO"))
0116
0117 process.newSeedFromTriplets.SeedComparitorPSet.ComponentName = 'none'
0118 process.secTriplets.SeedComparitorPSet.ComponentName = 'none'
0119
0120 process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
0121 process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.ComponentName = 'LowPtClusterShapeSeedComparitor'
0122
0123
0124 process.p0 = cms.Path(process.largeSiPixelClusterEvents
0125 + process.siPixelRecHits + process.ckftracks
0126 + process.seqMultProd
0127 + process.multiplicitycorr
0128 + process.seedmultiplicitymonitor
0129 + process.trackcount + process.trackcountRECO
0130 )
0131
0132
0133
0134 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0135 from Configuration.AlCa.GlobalTag import GlobalTag
0136 process.GlobalTag = GlobalTag(process.GlobalTag, options.globalTag, '')
0137
0138
0139 process.TFileService = cms.Service('TFileService',
0140 fileName = cms.string('seedmultiplicity.root')
0141 )
0142
0143