Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:13

0001 import FWCore.ParameterSet.Config as cms
0002 import FWCore.ParameterSet.VarParsing as VarParsing
0003 
0004 process = cms.Process("MultiplicityProducerTest")
0005 
0006 #prepare options
0007 
0008 options = VarParsing.VarParsing("analysis")
0009 
0010 options.register ('globalTag',
0011                   "DONOTEXIST",
0012                   VarParsing.VarParsing.multiplicity.singleton, # singleton or list
0013                   VarParsing.VarParsing.varType.string,          # string, int, or float
0014                   "GlobalTag")
0015 options.register ('fromRAW',
0016                   "0",
0017                   VarParsing.VarParsing.multiplicity.singleton, # singleton or list
0018                   VarParsing.VarParsing.varType.int,          # string, int, or float
0019                   "=1 if from RAW")
0020 options.register ('testTag',
0021                   "0",
0022                   VarParsing.VarParsing.multiplicity.singleton, # singleton or list
0023                   VarParsing.VarParsing.varType.int,          # string, int, or float
0024                   "=1 if test tag to be used")
0025 
0026 options.parseArguments()
0027 
0028 #
0029 
0030 process.options = cms.untracked.PSet(
0031     wantSummary = cms.untracked.bool(True),
0032     fileMode = cms.untracked.string("FULLMERGE")
0033     )
0034 
0035 process.load("FWCore.MessageService.MessageLogger_cfi")
0036 
0037 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0038 process.MessageLogger.cout.threshold = cms.untracked.string("INFO")
0039 process.MessageLogger.cout.default = cms.untracked.PSet(
0040     limit = cms.untracked.int32(10000000)
0041     )
0042 process.MessageLogger.cout.FwkReport = cms.untracked.PSet(
0043     reportEvery = cms.untracked.int32(10000)
0044     )
0045 
0046 process.MessageLogger.cerr.enable = cms.untracked.bool(True)
0047 process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING")
0048 process.MessageLogger.cerr.default = cms.untracked.PSet(
0049     limit = cms.untracked.int32(10000000)
0050     )
0051 process.MessageLogger.cerr.FwkReport = cms.untracked.PSet(
0052     reportEvery = cms.untracked.int32(100000)
0053     )
0054 
0055 process.MessageLogger.debugModules = cms.untracked.vstring("clustsummmultprod","spclustermultprod","ssclustermultprod")
0056 
0057 #----Remove too verbose PrimaryVertexProducer
0058 
0059 process.MessageLogger.suppressInfo.append("pixelVerticesAdaptive")
0060 process.MessageLogger.suppressInfo.append("pixelVerticesAdaptiveNoBS")
0061 
0062 #----Remove too verbose BeamSpotOnlineProducer
0063 
0064 process.MessageLogger.suppressInfo.append("testBeamSpot")
0065 process.MessageLogger.suppressInfo.append("onlineBeamSpot")
0066 process.MessageLogger.suppressWarning.append("testBeamSpot")
0067 process.MessageLogger.suppressWarning.append("onlineBeamSpot")
0068 
0069 #----Remove too verbose TrackRefitter
0070 
0071 process.MessageLogger.suppressInfo.append("newTracksFromV0")
0072 process.MessageLogger.suppressInfo.append("newTracksFromOtobV0")
0073 
0074 #------------------------------------------------------------------
0075 
0076 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(options.maxEvents) )
0077 
0078 process.source = cms.Source("PoolSource",
0079                     fileNames = cms.untracked.vstring(options.inputFiles),
0080 #                    skipBadFiles = cms.untracked.bool(True),
0081                     inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0082                     )
0083 
0084 #--------------------------------------
0085 process.seqRECO = cms.Sequence()
0086 
0087 if options.fromRAW == 1:
0088     process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0089     process.load("Configuration.StandardSequences.MagneticField_cff")
0090     process.load("Configuration.StandardSequences.GeometryDB_cff")
0091     process.load("Configuration.StandardSequences.Reconstruction_cff")
0092     process.load("Configuration.StandardSequences.L1Reco_cff")
0093     process.seqRECO = cms.Sequence(process.gtEvmDigis + process.L1Reco
0094                                    + process.siStripDigis + process.siStripZeroSuppression + process.siStripClusters
0095                                    + process.siPixelDigis + process.siPixelClusters )
0096 
0097 
0098 #
0099 
0100 process.load("DPGAnalysis.SiStripTools.sipixelclustermultiplicityprod_cfi")
0101 process.load("DPGAnalysis.SiStripTools.sistripclustermultiplicityprod_cfi")
0102 
0103 #process.spclustermultprod.withClusterSize=cms.untracked.bool(True)
0104 #process.ssclustermultprod.withClusterSize=cms.untracked.bool(True)
0105 
0106 process.spclustermultprodnew = process.spclustermultprod.clone(wantedSubDets = cms.VPSet(    
0107     cms.PSet(detSelection = cms.uint32(101),detLabel = cms.string("BPIX"),selection=cms.untracked.vstring("0x1e000000-0x12000000")),
0108     cms.PSet(detSelection = cms.uint32(102),detLabel = cms.string("FPIX"),selection=cms.untracked.vstring("0x1e000000-0x14000000")),
0109     cms.PSet(detSelection = cms.uint32(11),detLabel = cms.string("BPIXL1"),selection=cms.untracked.vstring("0x1e0f0000-0x12010000")),
0110     cms.PSet(detSelection = cms.uint32(12),detLabel = cms.string("BPIXL2"),selection=cms.untracked.vstring("0x1e0f0000-0x12020000")),
0111     cms.PSet(detSelection = cms.uint32(13),detLabel = cms.string("BPIXL3"),selection=cms.untracked.vstring("0x1e0f0000-0x12030000")),
0112     cms.PSet(detSelection = cms.uint32(21),detLabel = cms.string("FPIXm"),selection=cms.untracked.vstring("0x1f800000-0x14800000")),
0113     cms.PSet(detSelection = cms.uint32(22),detLabel = cms.string("FPIXp"),selection=cms.untracked.vstring("0x1f800000-0x15000000")),
0114     cms.PSet(detSelection = cms.uint32(211),detLabel = cms.string("FPIXmD1"),selection=cms.untracked.vstring("0x1f8f0000-0x14810000")),
0115     cms.PSet(detSelection = cms.uint32(212),detLabel = cms.string("FPIXmD2"),selection=cms.untracked.vstring("0x1f8f0000-0x14820000")),
0116     cms.PSet(detSelection = cms.uint32(213),detLabel = cms.string("FPIXmD3"),selection=cms.untracked.vstring("0x1f8f0000-0x14830000")),
0117     cms.PSet(detSelection = cms.uint32(221),detLabel = cms.string("FPIXpD1"),selection=cms.untracked.vstring("0x1f8f0000-0x15010000")),
0118     cms.PSet(detSelection = cms.uint32(222),detLabel = cms.string("FPIXpD2"),selection=cms.untracked.vstring("0x1f8f0000-0x15020000")),
0119     cms.PSet(detSelection = cms.uint32(223),detLabel = cms.string("FPIXpD3"),selection=cms.untracked.vstring("0x1f8f0000-0x15030000")),
0120     cms.PSet(detSelection = cms.uint32(2111),detLabel = cms.string("FPIXmD1pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x14810100")),
0121     cms.PSet(detSelection = cms.uint32(2121),detLabel = cms.string("FPIXmD2pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x14820100")),
0122     cms.PSet(detSelection = cms.uint32(2131),detLabel = cms.string("FPIXmD3pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x14830100")),
0123     cms.PSet(detSelection = cms.uint32(2211),detLabel = cms.string("FPIXpD1pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x15010100")),
0124     cms.PSet(detSelection = cms.uint32(2221),detLabel = cms.string("FPIXpD2pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x15020100")),
0125     cms.PSet(detSelection = cms.uint32(2231),detLabel = cms.string("FPIXpD3pan1"),selection=cms.untracked.vstring("0x1f8f0300-0x15030100")),
0126     cms.PSet(detSelection = cms.uint32(2112),detLabel = cms.string("FPIXmD1pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x14810200")),
0127     cms.PSet(detSelection = cms.uint32(2122),detLabel = cms.string("FPIXmD2pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x14820200")),
0128     cms.PSet(detSelection = cms.uint32(2132),detLabel = cms.string("FPIXmD3pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x14830200")),
0129     cms.PSet(detSelection = cms.uint32(2212),detLabel = cms.string("FPIXpD1pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x15010200")),
0130     cms.PSet(detSelection = cms.uint32(2222),detLabel = cms.string("FPIXpD2pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x15020200")),
0131     cms.PSet(detSelection = cms.uint32(2232),detLabel = cms.string("FPIXpD3pan2"),selection=cms.untracked.vstring("0x1f8f0300-0x15030200"))
0132     )
0133 )
0134 process.ssclustermultprodnew = process.ssclustermultprod.clone(wantedSubDets = cms.VPSet(    
0135     cms.PSet(detSelection = cms.uint32(103),detLabel = cms.string("TIB"),selection=cms.untracked.vstring("0x1e000000-0x16000000")),
0136     cms.PSet(detSelection = cms.uint32(114),detLabel = cms.string("TIDm"),selection=cms.untracked.vstring("0x1e006000-0x18002000")),
0137     cms.PSet(detSelection = cms.uint32(124),detLabel = cms.string("TIDp"),selection=cms.untracked.vstring("0x1e006000-0x18004000")),
0138     cms.PSet(detSelection = cms.uint32(116),detLabel = cms.string("TECm"),selection=cms.untracked.vstring("0x1e0c0000-0x1c040000")),
0139     cms.PSet(detSelection = cms.uint32(126),detLabel = cms.string("TECp"),selection=cms.untracked.vstring("0x1e0c0000-0x1c080000")),
0140     cms.PSet(detSelection = cms.uint32(999),detLabel = cms.string("Module"),selection=cms.untracked.vstring("0x1fffffff-0x1600546d"))
0141     )
0142 )
0143 
0144 process.load("DPGAnalysis.SiStripTools.clustersummarymultiplicityprod_cfi")
0145 
0146 process.clustsummmultprod.wantedSubDets = cms.VPSet(
0147     cms.PSet(detSelection = cms.uint32(0),detLabel = cms.string("TK"),      subDetEnum = cms.int32(0)),
0148     cms.PSet(detSelection = cms.uint32(1),detLabel = cms.string("TIB"),     subDetEnum = cms.int32(1)),
0149     cms.PSet(detSelection = cms.uint32(2),detLabel = cms.string("TOB"),     subDetEnum = cms.int32(2)),
0150     cms.PSet(detSelection = cms.uint32(3),detLabel = cms.string("TID"),     subDetEnum = cms.int32(3)),
0151     cms.PSet(detSelection = cms.uint32(4),detLabel = cms.string("TEC"),     subDetEnum = cms.int32(4)),
0152     cms.PSet(detSelection = cms.uint32(1005),detLabel = cms.string("Pixel"),subDetEnum = cms.int32(5)),
0153     cms.PSet(detSelection = cms.uint32(1006),detLabel = cms.string("FPIX"), subDetEnum = cms.int32(6)),
0154     cms.PSet(detSelection = cms.uint32(1007),detLabel = cms.string("BPIX"), subDetEnum = cms.int32(7)),
0155     )
0156 
0157 #process.ssclustermultprod.clusterdigiCollection = cms.InputTag("calZeroBiasClusters")
0158 #process.ssclustermultprodnew.clusterdigiCollection = cms.InputTag("calZeroBiasClusters")
0159 
0160 process.spclustermultprodontrack = process.spclustermultprod.clone(clusterdigiCollection = cms.InputTag("AlignmentTrackSelector"))
0161 process.ssclustermultprodontrack = process.ssclustermultprod.clone(clusterdigiCollection = cms.InputTag("AlignmentTrackSelector"))
0162 process.spclustermultprodnewontrack = process.spclustermultprodnew.clone(clusterdigiCollection = cms.InputTag("AlignmentTrackSelector"))
0163 process.ssclustermultprodnewontrack = process.ssclustermultprodnew.clone(clusterdigiCollection = cms.InputTag("AlignmentTrackSelector"))
0164 
0165 process.seqMultProd = cms.Sequence(process.spclustermultprod+process.ssclustermultprod
0166                                    +process.spclustermultprodontrack+process.ssclustermultprodontrack
0167                                    +process.spclustermultprodnew+process.ssclustermultprodnew
0168                                    +process.spclustermultprodnewontrack+process.ssclustermultprodnewontrack
0169                                    +process.clustsummmultprod)
0170 #process.seqMultProd = cms.Sequence(process.ssclustermultprod+process.ssclustermultprodnew)
0171 #process.seqMultProd = cms.Sequence(process.clustsummmultprod)
0172 
0173 process.goodVertices = cms.EDFilter("VertexSelector",
0174    src = cms.InputTag("offlinePrimaryVertices"),
0175    cut = cms.string("!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"),  
0176    filter = cms.bool(False),   # otherwise it won't filter the events, just produce an empty vertex collection.
0177 )
0178 
0179 process.load("RecoLocalTracker.SiStripClusterizer.SiStripClusterToDigiProducer_cfi")
0180 
0181 # Track selector from alignment group to get on track clusters
0182 
0183 process.load("Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi")
0184 
0185 
0186 process.seqProducers = cms.Sequence(process.AlignmentTrackSelector
0187                                     + process.seqRECO + process.seqMultProd + process.siStripClustersToDigis
0188                                     + process.goodVertices
0189                                     )
0190 
0191 from HLTrigger.HLTfilters.triggerResultsFilter_cfi import *
0192 process.hltSelection = triggerResultsFilter.clone(
0193                                           triggerConditions = cms.vstring("HLT_ZeroBias_*"),
0194                                           hltResults = cms.InputTag( "TriggerResults", "", "HLT" ),
0195                                           l1tResults = cms.InputTag( "" ),
0196                                           throw = cms.bool(False)
0197                                           )
0198 
0199 process.manystripclus = cms.EDFilter('BySiPixelClusterVsSiStripClusterMultiplicityEventFilter',
0200                                      multiplicityConfig = cms.PSet(
0201     firstMultiplicityConfig = cms.PSet(
0202     collectionName = cms.InputTag("siPixelClusters"),
0203     moduleThreshold = cms.untracked.int32(-1),
0204     useQuality = cms.untracked.bool(False),
0205     qualityLabel = cms.untracked.string("")
0206     ),
0207     secondMultiplicityConfig = cms.PSet(
0208     collectionName = cms.InputTag("siStripClusters"),
0209     moduleThreshold = cms.untracked.int32(-1),
0210     useQuality = cms.untracked.bool(False),
0211     qualityLabel = cms.untracked.string("")
0212     )
0213     ),
0214                                      cut = cms.string("( mult2 > 20000+7*mult1)")
0215                                      )
0216 
0217 process.manystripclus53X = cms.EDFilter('ByClusterSummaryMultiplicityPairEventFilter',
0218                                         multiplicityConfig = cms.PSet(
0219     firstMultiplicityConfig = cms.PSet(
0220     clusterSummaryCollection = cms.InputTag("clusterSummaryProducer"),
0221     subDetEnum = cms.int32(5),
0222     subDetVariable = cms.string("pHits")
0223     ),
0224     secondMultiplicityConfig = cms.PSet(
0225     clusterSummaryCollection = cms.InputTag("clusterSummaryProducer"),
0226     subDetEnum = cms.int32(0),
0227     subDetVariable = cms.string("cHits")
0228     ),
0229     ),
0230                                         cut = cms.string("( mult2 > 20000+7*mult1)")
0231                                         )
0232 
0233 process.load("DPGAnalysis.SiStripTools.ssclusmultinvestigator_cfi")
0234 #process.ssclusmultinvestigator.vertexCollection = cms.InputTag("goodVertices")
0235 #process.ssclusmultinvestigator.wantInvestHist = cms.bool(True)
0236 #process.ssclusmultinvestigator.wantVtxCorrHist = cms.bool(True)
0237 #process.ssclusmultinvestigator.digiVtxCorrConfig = cms.PSet(
0238 #    wantedSubDets = process.ssclusmultinvestigator.wantedSubDets,
0239 #    hitName = cms.untracked.string("cluster"),
0240 #    numberOfBins = cms.untracked.int32(100),   
0241 #    scaleFactor = cms.untracked.int32(1),
0242 #    maxNvtx = cms.untracked.int32(100)
0243 #    )
0244 #process.ssclusmultinvestigator.wantLumiCorrHist = cms.bool(True)
0245 #process.ssclusmultinvestigator.digiLumiCorrConfig = cms.PSet(
0246 #    lumiProducer = cms.InputTag("lumiProducer"),
0247 #    wantedSubDets = process.ssclusmultinvestigator.wantedSubDets,
0248 #    hitName = cms.untracked.string("cluster"),
0249 #    numberOfBins = cms.untracked.int32(100),   
0250 #    scaleFactor = cms.untracked.int32(1),
0251 #    maxLumi = cms.untracked.double(25)
0252 #    )
0253 
0254 
0255 #process.ssclusmultinvestigator.runHisto = cms.untracked.bool(True)
0256 process.ssclusmultinvestigator.scaleFactor=cms.untracked.int32(1)
0257 
0258 process.ssclusmultinvestigatornew = process.ssclusmultinvestigator.clone()
0259 process.ssclusmultinvestigatornew.runHisto = cms.untracked.bool(True)
0260 process.ssclusmultinvestigatornew.wantedSubDets = cms.untracked.VPSet(    
0261     cms.PSet(detSelection = cms.uint32(103),detLabel = cms.string("TIB"), binMax = cms.int32(1787904/32)),
0262     cms.PSet(detSelection = cms.uint32(114),detLabel = cms.string("TIDm"), binMax = cms.int32(565248/32)),
0263     cms.PSet(detSelection = cms.uint32(124),detLabel = cms.string("TIDp"), binMax = cms.int32(565248/32)),
0264     cms.PSet(detSelection = cms.uint32(116),detLabel = cms.string("TECm"), binMax = cms.int32(3866624/64)),
0265     cms.PSet(detSelection = cms.uint32(126),detLabel = cms.string("TECp"), binMax = cms.int32(3866624/64)),
0266     cms.PSet(detSelection = cms.uint32(999),detLabel = cms.string("Module"), binMax = cms.int32(200))
0267     )
0268 #process.ssclusmultinvestigatornew.digiVtxCorrConfig.wantedSubDets = cms.untracked.VPSet(    
0269 #    cms.PSet(detSelection = cms.uint32(103),detLabel = cms.string("TIB"), binMax = cms.int32(1787904/32)),
0270 #    cms.PSet(detSelection = cms.uint32(114),detLabel = cms.string("TIDm"), binMax = cms.int32(565248/32)),
0271 #    cms.PSet(detSelection = cms.uint32(124),detLabel = cms.string("TIDp"), binMax = cms.int32(565248/32)),
0272 #    cms.PSet(detSelection = cms.uint32(116),detLabel = cms.string("TECm"), binMax = cms.int32(3866624/64)),
0273 #    cms.PSet(detSelection = cms.uint32(126),detLabel = cms.string("TECp"), binMax = cms.int32(3866624/64)),
0274 #    cms.PSet(detSelection = cms.uint32(999),detLabel = cms.string("Module"), binMax = cms.int32(200))
0275 #    )
0276 #process.ssclusmultinvestigatornew.digiLumiCorrConfig.wantedSubDets = cms.untracked.VPSet(    
0277 #    cms.PSet(detSelection = cms.uint32(103),detLabel = cms.string("TIB"), binMax = cms.int32(1787904/32)),
0278 #    cms.PSet(detSelection = cms.uint32(114),detLabel = cms.string("TIDm"), binMax = cms.int32(565248/32)),
0279 #    cms.PSet(detSelection = cms.uint32(124),detLabel = cms.string("TIDp"), binMax = cms.int32(565248/32)),
0280 #    cms.PSet(detSelection = cms.uint32(116),detLabel = cms.string("TECm"), binMax = cms.int32(3866624/64)),
0281 #    cms.PSet(detSelection = cms.uint32(126),detLabel = cms.string("TECp"), binMax = cms.int32(3866624/64)),
0282 #    cms.PSet(detSelection = cms.uint32(999),detLabel = cms.string("Module"), binMax = cms.int32(200))
0283 #    )
0284 process.ssclusmultinvestigatornew.multiplicityMap = cms.InputTag("ssclustermultprodnew")
0285 
0286 
0287 process.load("DPGAnalysis.SiStripTools.spclusmultinvestigator_cfi")
0288 process.spclusmultinvestigator.vertexCollection = cms.InputTag("goodVertices")
0289 process.spclusmultinvestigator.wantInvestHist = cms.bool(True)
0290 process.spclusmultinvestigator.wantVtxCorrHist = cms.bool(True)
0291 process.spclusmultinvestigator.digiVtxCorrConfig = cms.PSet(
0292     wantedSubDets = process.spclusmultinvestigator.wantedSubDets,
0293     hitName = cms.untracked.string("cluster"),
0294     numberOfBins = cms.untracked.int32(100),   
0295     scaleFactor = cms.untracked.int32(5)
0296     )
0297 process.spclusmultinvestigator.wantLumiCorrHist = cms.bool(True)
0298 process.spclusmultinvestigator.digiLumiCorrConfig = cms.PSet(
0299     lumiProducer = cms.InputTag("lumiProducer"),
0300     wantedSubDets = process.spclusmultinvestigator.wantedSubDets,
0301     hitName = cms.untracked.string("cluster"),
0302     numberOfBins = cms.untracked.int32(100),   
0303     scaleFactor = cms.untracked.int32(5)
0304     )
0305 #process.spclusmultinvestigator.runHisto = cms.untracked.bool(True)
0306 process.spclusmultinvestigator.scaleFactor=cms.untracked.int32(5)
0307 
0308 process.spclusmultinvestigatornew = process.spclusmultinvestigator.clone()
0309 process.spclusmultinvestigatornew.wantedSubDets = cms.untracked.VPSet(    
0310     cms.PSet(detSelection = cms.uint32(101),detLabel = cms.string("BPIX"), binMax = cms.int32(100000)),
0311     cms.PSet(detSelection = cms.uint32(11),detLabel = cms.string("BPIXL1"), binMax = cms.int32(100000)),
0312     cms.PSet(detSelection = cms.uint32(12),detLabel = cms.string("BPIXL2"), binMax = cms.int32(100000)),
0313     cms.PSet(detSelection = cms.uint32(13),detLabel = cms.string("BPIXL3"), binMax = cms.int32(100000)),
0314     cms.PSet(detSelection = cms.uint32(102),detLabel = cms.string("FPIX"), binMax = cms.int32(100000)),
0315     cms.PSet(detSelection = cms.uint32(21),detLabel = cms.string("FPIXm"), binMax = cms.int32(100000)),
0316     cms.PSet(detSelection = cms.uint32(22),detLabel = cms.string("FPIXp"), binMax = cms.int32(100000)),
0317     cms.PSet(detSelection = cms.uint32(211),detLabel = cms.string("FPIXmD1"), binMax = cms.int32(100000)),
0318     cms.PSet(detSelection = cms.uint32(212),detLabel = cms.string("FPIXmD2"), binMax = cms.int32(100000)),
0319     cms.PSet(detSelection = cms.uint32(213),detLabel = cms.string("FPIXmD3"), binMax = cms.int32(100000)),
0320     cms.PSet(detSelection = cms.uint32(221),detLabel = cms.string("FPIXpD1"), binMax = cms.int32(100000)),
0321     cms.PSet(detSelection = cms.uint32(222),detLabel = cms.string("FPIXpD2"), binMax = cms.int32(100000)),
0322     cms.PSet(detSelection = cms.uint32(223),detLabel = cms.string("FPIXpD3"), binMax = cms.int32(100000)),
0323     cms.PSet(detSelection = cms.uint32(2111),detLabel = cms.string("FPIXmD1pan1"), binMax = cms.int32(100000)),
0324     cms.PSet(detSelection = cms.uint32(2121),detLabel = cms.string("FPIXmD2pan1"), binMax = cms.int32(100000)),
0325     cms.PSet(detSelection = cms.uint32(2131),detLabel = cms.string("FPIXmD3pan1"), binMax = cms.int32(100000)),
0326     cms.PSet(detSelection = cms.uint32(2211),detLabel = cms.string("FPIXpD1pan1"), binMax = cms.int32(100000)),
0327     cms.PSet(detSelection = cms.uint32(2221),detLabel = cms.string("FPIXpD2pan1"), binMax = cms.int32(100000)),
0328     cms.PSet(detSelection = cms.uint32(2231),detLabel = cms.string("FPIXpD3pan1"), binMax = cms.int32(100000)),
0329     cms.PSet(detSelection = cms.uint32(2112),detLabel = cms.string("FPIXmD1pan2"), binMax = cms.int32(100000)),
0330     cms.PSet(detSelection = cms.uint32(2122),detLabel = cms.string("FPIXmD2pan2"), binMax = cms.int32(100000)),
0331     cms.PSet(detSelection = cms.uint32(2132),detLabel = cms.string("FPIXmD3pan2"), binMax = cms.int32(100000)),
0332     cms.PSet(detSelection = cms.uint32(2212),detLabel = cms.string("FPIXpD1pan2"), binMax = cms.int32(100000)),
0333     cms.PSet(detSelection = cms.uint32(2222),detLabel = cms.string("FPIXpD2pan2"), binMax = cms.int32(100000)),
0334     cms.PSet(detSelection = cms.uint32(2232),detLabel = cms.string("FPIXpD3pan2"), binMax = cms.int32(100000))
0335     )
0336 process.spclusmultinvestigatornew.digiVtxCorrConfig.wantedSubDets = cms.untracked.VPSet(    
0337     cms.PSet(detSelection = cms.uint32(101),detLabel = cms.string("BPIX"), binMax = cms.int32(100000)),
0338     cms.PSet(detSelection = cms.uint32(11),detLabel = cms.string("BPIXL1"), binMax = cms.int32(100000)),
0339     cms.PSet(detSelection = cms.uint32(12),detLabel = cms.string("BPIXL2"), binMax = cms.int32(100000)),
0340     cms.PSet(detSelection = cms.uint32(13),detLabel = cms.string("BPIXL3"), binMax = cms.int32(100000)),
0341     cms.PSet(detSelection = cms.uint32(102),detLabel = cms.string("FPIX"), binMax = cms.int32(100000)),
0342     cms.PSet(detSelection = cms.uint32(21),detLabel = cms.string("FPIXm"), binMax = cms.int32(100000)),
0343     cms.PSet(detSelection = cms.uint32(22),detLabel = cms.string("FPIXp"), binMax = cms.int32(100000)),
0344     cms.PSet(detSelection = cms.uint32(211),detLabel = cms.string("FPIXmD1"), binMax = cms.int32(100000)),
0345     cms.PSet(detSelection = cms.uint32(212),detLabel = cms.string("FPIXmD2"), binMax = cms.int32(100000)),
0346     cms.PSet(detSelection = cms.uint32(213),detLabel = cms.string("FPIXmD3"), binMax = cms.int32(100000)),
0347     cms.PSet(detSelection = cms.uint32(221),detLabel = cms.string("FPIXpD1"), binMax = cms.int32(100000)),
0348     cms.PSet(detSelection = cms.uint32(222),detLabel = cms.string("FPIXpD2"), binMax = cms.int32(100000)),
0349     cms.PSet(detSelection = cms.uint32(223),detLabel = cms.string("FPIXpD3"), binMax = cms.int32(100000)),
0350     cms.PSet(detSelection = cms.uint32(2111),detLabel = cms.string("FPIXmD1pan1"), binMax = cms.int32(100000)),
0351     cms.PSet(detSelection = cms.uint32(2121),detLabel = cms.string("FPIXmD2pan1"), binMax = cms.int32(100000)),
0352     cms.PSet(detSelection = cms.uint32(2131),detLabel = cms.string("FPIXmD3pan1"), binMax = cms.int32(100000)),
0353     cms.PSet(detSelection = cms.uint32(2211),detLabel = cms.string("FPIXpD1pan1"), binMax = cms.int32(100000)),
0354     cms.PSet(detSelection = cms.uint32(2221),detLabel = cms.string("FPIXpD2pan1"), binMax = cms.int32(100000)),
0355     cms.PSet(detSelection = cms.uint32(2231),detLabel = cms.string("FPIXpD3pan1"), binMax = cms.int32(100000)),
0356     cms.PSet(detSelection = cms.uint32(2112),detLabel = cms.string("FPIXmD1pan2"), binMax = cms.int32(100000)),
0357     cms.PSet(detSelection = cms.uint32(2122),detLabel = cms.string("FPIXmD2pan2"), binMax = cms.int32(100000)),
0358     cms.PSet(detSelection = cms.uint32(2132),detLabel = cms.string("FPIXmD3pan2"), binMax = cms.int32(100000)),
0359     cms.PSet(detSelection = cms.uint32(2212),detLabel = cms.string("FPIXpD1pan2"), binMax = cms.int32(100000)),
0360     cms.PSet(detSelection = cms.uint32(2222),detLabel = cms.string("FPIXpD2pan2"), binMax = cms.int32(100000)),
0361     cms.PSet(detSelection = cms.uint32(2232),detLabel = cms.string("FPIXpD3pan2"), binMax = cms.int32(100000))
0362     )
0363 process.spclusmultinvestigatornew.digiLumiCorrConfig.wantedSubDets = cms.untracked.VPSet(    
0364     cms.PSet(detSelection = cms.uint32(101),detLabel = cms.string("BPIX"), binMax = cms.int32(100000)),
0365     cms.PSet(detSelection = cms.uint32(11),detLabel = cms.string("BPIXL1"), binMax = cms.int32(100000)),
0366     cms.PSet(detSelection = cms.uint32(12),detLabel = cms.string("BPIXL2"), binMax = cms.int32(100000)),
0367     cms.PSet(detSelection = cms.uint32(13),detLabel = cms.string("BPIXL3"), binMax = cms.int32(100000)),
0368     cms.PSet(detSelection = cms.uint32(102),detLabel = cms.string("FPIX"), binMax = cms.int32(100000)),
0369     cms.PSet(detSelection = cms.uint32(21),detLabel = cms.string("FPIXm"), binMax = cms.int32(100000)),
0370     cms.PSet(detSelection = cms.uint32(22),detLabel = cms.string("FPIXp"), binMax = cms.int32(100000)),
0371     cms.PSet(detSelection = cms.uint32(211),detLabel = cms.string("FPIXmD1"), binMax = cms.int32(100000)),
0372     cms.PSet(detSelection = cms.uint32(212),detLabel = cms.string("FPIXmD2"), binMax = cms.int32(100000)),
0373     cms.PSet(detSelection = cms.uint32(213),detLabel = cms.string("FPIXmD3"), binMax = cms.int32(100000)),
0374     cms.PSet(detSelection = cms.uint32(221),detLabel = cms.string("FPIXpD1"), binMax = cms.int32(100000)),
0375     cms.PSet(detSelection = cms.uint32(222),detLabel = cms.string("FPIXpD2"), binMax = cms.int32(100000)),
0376     cms.PSet(detSelection = cms.uint32(223),detLabel = cms.string("FPIXpD3"), binMax = cms.int32(100000)),
0377     cms.PSet(detSelection = cms.uint32(2111),detLabel = cms.string("FPIXmD1pan1"), binMax = cms.int32(100000)),
0378     cms.PSet(detSelection = cms.uint32(2121),detLabel = cms.string("FPIXmD2pan1"), binMax = cms.int32(100000)),
0379     cms.PSet(detSelection = cms.uint32(2131),detLabel = cms.string("FPIXmD3pan1"), binMax = cms.int32(100000)),
0380     cms.PSet(detSelection = cms.uint32(2211),detLabel = cms.string("FPIXpD1pan1"), binMax = cms.int32(100000)),
0381     cms.PSet(detSelection = cms.uint32(2221),detLabel = cms.string("FPIXpD2pan1"), binMax = cms.int32(100000)),
0382     cms.PSet(detSelection = cms.uint32(2231),detLabel = cms.string("FPIXpD3pan1"), binMax = cms.int32(100000)),
0383     cms.PSet(detSelection = cms.uint32(2112),detLabel = cms.string("FPIXmD1pan2"), binMax = cms.int32(100000)),
0384     cms.PSet(detSelection = cms.uint32(2122),detLabel = cms.string("FPIXmD2pan2"), binMax = cms.int32(100000)),
0385     cms.PSet(detSelection = cms.uint32(2132),detLabel = cms.string("FPIXmD3pan2"), binMax = cms.int32(100000)),
0386     cms.PSet(detSelection = cms.uint32(2212),detLabel = cms.string("FPIXpD1pan2"), binMax = cms.int32(100000)),
0387     cms.PSet(detSelection = cms.uint32(2222),detLabel = cms.string("FPIXpD2pan2"), binMax = cms.int32(100000)),
0388     cms.PSet(detSelection = cms.uint32(2232),detLabel = cms.string("FPIXpD3pan2"), binMax = cms.int32(100000))
0389     )
0390 process.spclusmultinvestigatornew.multiplicityMap = cms.InputTag("spclustermultprodnew")
0391 
0392 process.load("DPGAnalysis.SiStripTools.multiplicitycorr_cfi")
0393 process.multiplicitycorr.correlationConfigurations = cms.VPSet(
0394    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0395             xDetSelection = cms.uint32(12), xDetLabel = cms.string("BPixL2"), xBins = cms.uint32(1000), xMax=cms.double(10000), 
0396             yMultiplicityMap = cms.InputTag("ssclustermultprodnew"),
0397             yDetSelection = cms.uint32(103), yDetLabel = cms.string("TIB"), yBins = cms.uint32(1000), yMax=cms.double(50000),
0398             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(.25),
0399             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0400    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0401             xDetSelection = cms.uint32(12), xDetLabel = cms.string("BPixL2"), xBins = cms.uint32(1000), xMax=cms.double(10000), 
0402             yMultiplicityMap = cms.InputTag("ssclustermultprodnew"),
0403             yDetSelection = cms.uint32(114), yDetLabel = cms.string("TIDm"), yBins = cms.uint32(1000), yMax=cms.double(20000),
0404             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(.5),
0405             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0406    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0407             xDetSelection = cms.uint32(12), xDetLabel = cms.string("BPixL2"), xBins = cms.uint32(1000), xMax=cms.double(10000), 
0408             yMultiplicityMap = cms.InputTag("ssclustermultprodnew"),
0409             yDetSelection = cms.uint32(124), yDetLabel = cms.string("TIDp"), yBins = cms.uint32(1000), yMax=cms.double(20000),
0410             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(.5),
0411             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0412    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0413             xDetSelection = cms.uint32(12), xDetLabel = cms.string("BPixL2"), xBins = cms.uint32(1000), xMax=cms.double(10000), 
0414             yMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0415             yDetSelection = cms.uint32(11), yDetLabel = cms.string("BPixL1"), yBins = cms.uint32(1000), yMax=cms.double(10000),
0416             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0417             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False))
0418    )
0419 
0420 process.multcorrclustsumm = process.multiplicitycorr.clone()
0421 process.multcorrclustsumm.correlationConfigurations = cms.VPSet(
0422    cms.PSet(yMultiplicityMap = cms.InputTag("spclustermultprod"),
0423             yDetSelection = cms.uint32(0), yDetLabel = cms.string("Pixel"), yBins = cms.uint32(1000), yMax=cms.double(1000), 
0424             xMultiplicityMap = cms.InputTag("clustsummmultprod"),
0425             xDetSelection = cms.uint32(1005), xDetLabel = cms.string("Pixelcs"), xBins = cms.uint32(1000), xMax=cms.double(1000),
0426             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0427             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0428    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0429             xDetSelection = cms.uint32(101), xDetLabel = cms.string("BPIX"), xBins = cms.uint32(1000), xMax=cms.double(1000), 
0430             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0431             yDetSelection = cms.uint32(1007), yDetLabel = cms.string("BPIXcs"), yBins = cms.uint32(1000), yMax=cms.double(1000),
0432             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0433             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0434    cms.PSet(xMultiplicityMap = cms.InputTag("spclustermultprodnew"),
0435             xDetSelection = cms.uint32(102), xDetLabel = cms.string("FPIX"), xBins = cms.uint32(1000), xMax=cms.double(1000), 
0436             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0437             yDetSelection = cms.uint32(1006), yDetLabel = cms.string("FPIXcs"), yBins = cms.uint32(1000), yMax=cms.double(1000),
0438             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0439             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0440    cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"),
0441             xDetSelection = cms.uint32(3), xDetLabel = cms.string("TIB"), xBins = cms.uint32(1000), xMax=cms.double(50000), 
0442             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0443             yDetSelection = cms.uint32(1), yDetLabel = cms.string("TIBcs"), yBins = cms.uint32(1000), yMax=cms.double(50000),
0444             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0445             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0446    cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"),
0447             xDetSelection = cms.uint32(4), xDetLabel = cms.string("TID"), xBins = cms.uint32(1000), xMax=cms.double(50000), 
0448             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0449             yDetSelection = cms.uint32(3), yDetLabel = cms.string("TIDcs"), yBins = cms.uint32(1000), yMax=cms.double(50000),
0450             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0451             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0452    cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"),
0453             xDetSelection = cms.uint32(5), xDetLabel = cms.string("TOB"), xBins = cms.uint32(1000), xMax=cms.double(50000), 
0454             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0455             yDetSelection = cms.uint32(2), yDetLabel = cms.string("TOBcs"), yBins = cms.uint32(1000), yMax=cms.double(50000),
0456             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0457             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False)),
0458    cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"),
0459             xDetSelection = cms.uint32(6), xDetLabel = cms.string("TEC"), xBins = cms.uint32(1000), xMax=cms.double(50000), 
0460             yMultiplicityMap = cms.InputTag("clustsummmultprod"),
0461             yDetSelection = cms.uint32(4), yDetLabel = cms.string("TECcs"), yBins = cms.uint32(1000), yMax=cms.double(50000),
0462             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(1.),
0463             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False))
0464    )
0465 
0466 
0467 process.clustsummmultcorr =  cms.EDAnalyzer('MultiplicityCorrelator',
0468                                             correlationConfigurations = cms.VPSet(
0469     cms.PSet(xMultiplicityMap = cms.InputTag("clustsummmultprod"), xDetSelection = cms.uint32(0), xDetLabel = cms.string("TK"), xBins = cms.uint32(1000), xMax=cms.double(150000),
0470              yMultiplicityMap = cms.InputTag("clustsummmultprod"), yDetSelection = cms.uint32(1005), yDetLabel = cms.string("Pixel"), yBins = cms.uint32(1000), yMax=cms.double(20000),
0471              rBins = cms.uint32(200), scaleFactor = cms.untracked.double(5.),
0472              runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False))
0473     )
0474                                             )
0475 #process.clustsummmultcorr =  cms.EDAnalyzer('MultiplicityCorrelator',
0476 #                                            correlationConfigurations = cms.VPSet(
0477 #    cms.PSet(xMultiplicityMap = cms.InputTag("ssclustermultprod"), xDetSelection = cms.uint32(0), xDetLabel = cms.string("TK"), xBins = cms.uint32(1000), xMax=cms.double(150000),
0478 #             yMultiplicityMap = cms.InputTag("spclustermultprod"), yDetSelection = cms.uint32(0), yDetLabel = cms.string("Pixel"), yBins = cms.uint32(1000), yMax=cms.double(20000),
0479 #             rBins = cms.uint32(200), scaleFactor = cms.untracked.double(5.),
0480 #             runHisto=cms.bool(False),runHistoBXProfile=cms.bool(False),runHistoBX=cms.bool(False),runHisto2D=cms.bool(False))
0481 #    )
0482 #                                            )
0483 
0484 process.clustsummmultcorrmanystripclus = process.clustsummmultcorr.clone()
0485 
0486 #process.load("TrackingPFG.Utilities.logerroranalyzer_cfi")
0487 
0488 process.load("DPGAnalysis.SiStripTools.clusterbigeventsdebugger_cfi")
0489 process.clusterbigeventsdebugger.selections.append(cms.PSet(label=cms.string("Module"),selection=cms.untracked.vstring("0x1fffffff-0x1600546d")))
0490 #process.clusterbigeventsdebugger.collection = cms.InputTag("calZeroBiasClusters")
0491 #process.clusterbigeventsdebugger.foldedStrips = cms.untracked.bool(True)
0492 #process.clusterbigeventsdebugger.singleEvents = cms.bool(True)
0493 
0494 process.load("DPGAnalysis.SiStripTools.digibigeventsdebugger_cfi")
0495 process.digibigeventsdebugger.selections = cms.VPSet(
0496     cms.PSet(label=cms.string("TIB"),selection=cms.untracked.vstring("0x1e000000-0x16000000")),
0497     cms.PSet(label=cms.string("TIBD"),selection=cms.untracked.vstring("0x1e000000-0x16000000","0x1e000000-0x18000000")),
0498     cms.PSet(label=cms.string("TECp"),selection=cms.untracked.vstring("0x1e0c0000-0x1c080000")),
0499     cms.PSet(label=cms.string("TECm"),selection=cms.untracked.vstring("0x1e0c0000-0x1c040000")),
0500     cms.PSet(label=cms.string("TOB"),selection=cms.untracked.vstring("0x1e000000-0x1a000000")),
0501     cms.PSet(label=cms.string("TID"),selection=cms.untracked.vstring("0x1e000000-0x18000000"))
0502     )
0503 
0504 process.digibigeventsdebugger.selections.append(cms.PSet(label=cms.string("Module"),selection=cms.untracked.vstring("0x1fffffff-0x1600546d")))
0505 process.digibigeventsdebugger.collection = cms.InputTag("siStripClustersToDigis","ZeroSuppressed")
0506 process.digibigeventsdebugger.foldedStrips = cms.untracked.bool(True)
0507 #process.digibigeventsdebugger.singleEvents = cms.bool(True)
0508 
0509 process.load("DPGAnalysis.SiStripTools.fedbadmodulefilter_cfi")
0510 process.fedbadmodulefilter.badModThr = 0
0511 process.fedbadmodulefilter.wantedHisto = cms.untracked.bool(True)
0512 process.fedbadmodulefilter.moduleSelection = cms.untracked.PSet(selection=cms.untracked.vstring("0x1fffffff-0x1600546d"))
0513 
0514 process.fedbadmoduleTECmD8 = process.fedbadmodulefilter.clone(moduleSelection = cms.untracked.PSet(selection=cms.untracked.vstring("0x1e0fc000-0x1c060000")))
0515 process.fedbadmoduleTECmD4 = process.fedbadmodulefilter.clone(moduleSelection = cms.untracked.PSet(selection=cms.untracked.vstring("0x1e0fc000-0x1c050000")))
0516 process.fedbadmoduleTECmD7 = process.fedbadmodulefilter.clone(moduleSelection = cms.untracked.PSet(selection=cms.untracked.vstring("0x1e0fc000-0x1c05c000")))
0517 
0518 process.spclusmultinvestigatorontrack = process.spclusmultinvestigator.clone(multiplicityMap = cms.InputTag("spclustermultprodontrack"))
0519 process.ssclusmultinvestigatorontrack = process.ssclusmultinvestigator.clone(multiplicityMap = cms.InputTag("ssclustermultprodontrack"))
0520 process.spclusmultinvestigatornewontrack = process.spclusmultinvestigatornew.clone(multiplicityMap = cms.InputTag("spclustermultprodnewontrack"))
0521 process.ssclusmultinvestigatornewontrack = process.ssclusmultinvestigatornew.clone(multiplicityMap = cms.InputTag("ssclustermultprodnewontrack"))
0522 
0523 process.seqClusMultInvest = cms.Sequence(
0524     process.spclusmultinvestigator + process.ssclusmultinvestigator +
0525     process.spclusmultinvestigatorontrack + process.ssclusmultinvestigatorontrack +
0526     process.spclusmultinvestigatornew + process.ssclusmultinvestigatornew +
0527     process.spclusmultinvestigatornewontrack + process.ssclusmultinvestigatornewontrack
0528                                          + process.multiplicitycorr + process.multcorrclustsumm) 
0529 #process.seqClusMultInvest = cms.Sequence(process.clustsummmultcorr) 
0530 #process.seqClusMultInvest = cms.Sequence(process.ssclusmultinvestigatornew +
0531 #                                         process.clusterbigeventsdebugger + process.digibigeventsdebugger +
0532 #                                         process.fedbadmodulefilter + process.fedbadmoduleTECmD8 + process.fedbadmoduleTECmD4 + process.fedbadmoduleTECmD7 
0533 #                                         ) 
0534 
0535 
0536 
0537 process.p0 = cms.Path(
0538     #    process.hltSelection +
0539     process.seqProducers +
0540     process.seqClusMultInvest)
0541 
0542 #process.pmanystripclus = cms.Path(process.seqProducers +
0543 #                                  process.manystripclus53X +
0544 ##                                  process.manystripclus +
0545 #                                  process.clustsummmultcorrmanystripclus +
0546 #                                  process.logerroranalyzer
0547 #                                  )
0548 
0549 #process.outoddevent = cms.OutputModule("PoolOutputModule",
0550 #                                       fileName = cms.untracked.string("manystripclusevents.root"),
0551 #                                       outputCommands = cms.untracked.vstring("keep *"),
0552 #                                       SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring( "pmanystripclus"))
0553 #                                       )                                       
0554 
0555 #process.e = cms.EndPath(process.outoddevent)
0556 
0557 #----GlobalTag ------------------------
0558 
0559 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0560 from Configuration.AlCa.GlobalTag import GlobalTag
0561 process.GlobalTag = GlobalTag(process.GlobalTag, options.globalTag, '')
0562 
0563 if options.testTag==1:
0564     process.stripConditions = cms.ESSource(
0565         "PoolDBESSource",
0566         process.CondDBSetup,
0567         connect = cms.string('frontier://FrontierProd/CMS_COND_31X_STRIP'),
0568         toGet = cms.VPSet(
0569         cms.PSet(
0570         record = cms.string('SiStripNoisesRcd'), tag = cms.string('SiStripNoise_GR10_v2_offline')
0571         ),
0572         ),
0573         )
0574 
0575     process.es_prefer_strips = cms.ESPrefer("PoolDBESSource","stripConditions")
0576 
0577 process.TFileService = cms.Service('TFileService',
0578                                    fileName = cms.string('MultiplicityProducerTest.root')
0579                                    )
0580 
0581 #print process.dumpPython()