Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PostMixerRec")
0004 process.load("Configuration.StandardSequences.Services_cff")
0005 process.load('FWCore/MessageService/MessageLogger_cfi')
0006 process.load('Configuration/StandardSequences/GeometryPilot2_cff')
0007 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0008 process.load("FWCore.MessageService.MessageLogger_cfi")
0009 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0010 process.load("Configuration.EventContent.EventContent_cff")
0011 
0012 process.load("SimGeneral.DataMixingModule.ReconstructionDM_cff")
0013 
0014 process.configurationMetadata = cms.untracked.PSet(
0015         version = cms.untracked.string('$Revision: 1.1 $'),
0016             annotation = cms.untracked.string('datamixertest nevts:500'),
0017             name = cms.untracked.string('PyReleaseValidation')
0018         )
0019 
0020 process.options = cms.untracked.PSet(
0021         Rethrow = cms.untracked.vstring('ProductNotFound')
0022         )
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(500)
0026 )
0027 process.source = cms.Source("PoolSource",
0028 #    catalog = cms.untracked.string('PoolFileCatalog.xml'),
0029 #    fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
0030      fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_Digis_v4a.root')
0031 #     /uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
0032 )
0033 
0034 
0035 process.csc2DRecHits.stripDigiTag = 'mix:MuonCSCStripDigisDM'
0036 process.csc2DRecHits.wireDigiTag = 'mix:MuonCSCWireDigisDM'
0037 process.dt1DRecHits.dtDigiLabel = 'mix:muonDTDigisDM'
0038 process.rpcRecHits.rpcDigiLabel = 'mix:muonRPCDigisDM'
0039 # Calo - using RecHits here
0040 process.ecalWeightUncalibRecHit.EBdigiCollection = cms.InputTag("mix","EBDigiCollectionDM")
0041 process.ecalWeightUncalibRecHit.EEdigiCollection = cms.InputTag("mix","EEDigiCollectionDM")
0042 process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag("mix","ESDigiCollectionDM")
0043 #
0044 #process.hbhereco.digiLabel =  cms.InputTag("mix:HBHEDigiCollection")
0045 #process.horeco.digiLabel =  cms.InputTag("mix:HODigiCollection")
0046 #process.hfreco.digiLabel =  cms.InputTag("mix:HFDigiCollection")
0047 process.hbhereco.digiLabel =  cms.InputTag("mix")
0048 process.horeco.digiLabel =  cms.InputTag("mix")
0049 process.hfreco.digiLabel =  cms.InputTag("mix")
0050 process.zdcreco.digiLabel = cms.InputTag("mix")
0051 
0052 # Tracker
0053 #siStripClusters.DigiProducersList???  { 'mix','SiStripDigisDM'}
0054 process.siPixelClusters.src = 'mix:siPixelDigisDM'
0055 process.siStripClusters.DigiProducersList = cms.VPSet(cms.PSet( DigiLabel = cms.string('siStripDigisDM'),
0056                                                                 DigiProducer = cms.string('mix')))
0057 
0058 #process.multi5x5PreshowerClusterShape.preshStripEnergyCut = cms.double(200.0) #turn off ES clusters?
0059 #process.photons.scIslandEndcapProducer = cms.InputTag("correctedMulti5x5SuperClusters")
0060 
0061 process.myoutput = cms.OutputModule("PoolOutputModule",
0062 #    process.FEVTEventContent,
0063     outputCommands = process.FEVTDEBUGEventContent.outputCommands,                                
0064     fileName = cms.untracked.string('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_RECO_v4a.root'),
0065     dataset = cms.untracked.PSet(
0066             dataTier = cms.untracked.string(''),
0067                     filterName = cms.untracked.string('')
0068                 )                                
0069 )
0070 
0071 process.myoutput.outputCommands.append('keep *')
0072 #process.myoutput.outputCommands.append('keep HFDataFramesSorted_*_*_*')
0073 #process.myoutput.outputCommands.append('keep HODataFramesSorted_*_*_*')
0074 #process.myoutput.outputCommands.append('keep EBDigiCollection_ecalDigis_*_*')
0075 #process.myoutput.outputCommands.append('keep EEDigiCollection_ecalDigis_*_*')
0076 #process.myoutput.outputCommands.append('keep ESDataFramesSorted_ecalPreshowerDigis_*_*')
0077 
0078 
0079 
0080 # Other statements
0081 process.GlobalTag.globaltag = 'STARTUP_30X::All'
0082 
0083 process.p1 = cms.Path(process.reconstruction)
0084 process.outpath = cms.EndPath(process.myoutput)
0085 
0086 # Schedule definition
0087 #process.schedule = cms.Schedule(process.p1,process.RECO)