CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimGeneral/DataMixingModule/python/supplementary/DigiRecoExampleMC_STARTUP_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("PostMixerRec")
00004 process.load("Configuration.StandardSequences.Services_cff")
00005 process.load('FWCore/MessageService/MessageLogger_cfi')
00006 process.load('Configuration/StandardSequences/GeometryPilot2_cff')
00007 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
00008 process.load("FWCore.MessageService.MessageLogger_cfi")
00009 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
00010 process.load("Configuration.EventContent.EventContent_cff")
00011 
00012 process.load("SimGeneral.DataMixingModule.ReconstructionDM_cff")
00013 
00014 process.configurationMetadata = cms.untracked.PSet(
00015         version = cms.untracked.string('$Revision: 1.1 $'),
00016             annotation = cms.untracked.string('datamixertest nevts:500'),
00017             name = cms.untracked.string('PyReleaseValidation')
00018         )
00019 
00020 process.options = cms.untracked.PSet(
00021         Rethrow = cms.untracked.vstring('ProductNotFound')
00022         )
00023 
00024 process.maxEvents = cms.untracked.PSet(
00025     input = cms.untracked.int32(500)
00026 )
00027 process.source = cms.Source("PoolSource",
00028 #    catalog = cms.untracked.string('PoolFileCatalog.xml'),
00029 #    fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
00030      fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_Digis_v4a.root')
00031 #     /uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
00032 )
00033 
00034 
00035 process.csc2DRecHits.stripDigiTag = 'mix:MuonCSCStripDigisDM'
00036 process.csc2DRecHits.wireDigiTag = 'mix:MuonCSCWireDigisDM'
00037 process.dt1DRecHits.dtDigiLabel = 'mix:muonDTDigisDM'
00038 process.rpcRecHits.rpcDigiLabel = 'mix:muonRPCDigisDM'
00039 # Calo - using RecHits here
00040 process.ecalWeightUncalibRecHit.EBdigiCollection = cms.InputTag("mix","EBDigiCollectionDM")
00041 process.ecalWeightUncalibRecHit.EEdigiCollection = cms.InputTag("mix","EEDigiCollectionDM")
00042 process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag("mix","ESDigiCollectionDM")
00043 #
00044 #process.hbhereco.digiLabel =  cms.InputTag("mix:HBHEDigiCollection")
00045 #process.horeco.digiLabel =  cms.InputTag("mix:HODigiCollection")
00046 #process.hfreco.digiLabel =  cms.InputTag("mix:HFDigiCollection")
00047 process.hbhereco.digiLabel =  cms.InputTag("mix")
00048 process.horeco.digiLabel =  cms.InputTag("mix")
00049 process.hfreco.digiLabel =  cms.InputTag("mix")
00050 process.zdcreco.digiLabel = cms.InputTag("mix")
00051 
00052 # Tracker
00053 #siStripClusters.DigiProducersList???  { 'mix','SiStripDigisDM'}
00054 process.siPixelClusters.src = 'mix:siPixelDigisDM'
00055 process.siStripClusters.DigiProducersList = cms.VPSet(cms.PSet( DigiLabel = cms.string('siStripDigisDM'),
00056                                                                 DigiProducer = cms.string('mix')))
00057 
00058 #process.multi5x5PreshowerClusterShape.preshStripEnergyCut = cms.double(200.0) #turn off ES clusters?
00059 #process.photons.scIslandEndcapProducer = cms.InputTag("correctedMulti5x5SuperClusters")
00060 
00061 process.myoutput = cms.OutputModule("PoolOutputModule",
00062 #    process.FEVTEventContent,
00063     outputCommands = process.FEVTDEBUGEventContent.outputCommands,                                
00064     fileName = cms.untracked.string('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_RECO_v4a.root'),
00065     dataset = cms.untracked.PSet(
00066             dataTier = cms.untracked.string(''),
00067                     filterName = cms.untracked.string('')
00068                 )                                
00069 )
00070 
00071 process.myoutput.outputCommands.append('keep *')
00072 #process.myoutput.outputCommands.append('keep HFDataFramesSorted_*_*_*')
00073 #process.myoutput.outputCommands.append('keep HODataFramesSorted_*_*_*')
00074 #process.myoutput.outputCommands.append('keep EBDigiCollection_ecalDigis_*_*')
00075 #process.myoutput.outputCommands.append('keep EEDigiCollection_ecalDigis_*_*')
00076 #process.myoutput.outputCommands.append('keep ESDataFramesSorted_ecalPreshowerDigis_*_*')
00077 
00078 
00079 
00080 # Other statements
00081 process.GlobalTag.globaltag = 'STARTUP_30X::All'
00082 
00083 process.p1 = cms.Path(process.reconstruction)
00084 process.outpath = cms.EndPath(process.myoutput)
00085 
00086 # Schedule definition
00087 #process.schedule = cms.Schedule(process.p1,process.RECO)