CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiRecoExampleMC_STARTUP_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("PostMixerRec")
4 process.load("Configuration.StandardSequences.Services_cff")
5 process.load('FWCore/MessageService/MessageLogger_cfi')
6 process.load('Configuration/StandardSequences/GeometryPilot2_cff')
7 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
8 process.load("FWCore.MessageService.MessageLogger_cfi")
9 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
10 process.load("Configuration.EventContent.EventContent_cff")
11 
12 process.load("SimGeneral.DataMixingModule.ReconstructionDM_cff")
13 
14 process.configurationMetadata = cms.untracked.PSet(
15  version = cms.untracked.string('$Revision: 1.1 $'),
16  annotation = cms.untracked.string('datamixertest nevts:500'),
17  name = cms.untracked.string('PyReleaseValidation')
18  )
19 
20 process.options = cms.untracked.PSet(
21  Rethrow = cms.untracked.vstring('ProductNotFound')
22  )
23 
24 process.maxEvents = cms.untracked.PSet(
25  input = cms.untracked.int32(500)
26 )
27 process.source = cms.Source("PoolSource",
28 # catalog = cms.untracked.string('PoolFileCatalog.xml'),
29 # fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
30  fileNames = cms.untracked.vstring('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_Digis_v4a.root')
31 # /uscms_data/d1/mikeh/CRAFT_on_SingleNu_Digis.root')
32 )
33 
34 
35 process.csc2DRecHits.stripDigiTag = 'mix:MuonCSCStripDigisDM'
36 process.csc2DRecHits.wireDigiTag = 'mix:MuonCSCWireDigisDM'
37 process.dt1DRecHits.dtDigiLabel = 'mix:muonDTDigisDM'
38 process.rpcRecHits.rpcDigiLabel = 'mix:muonRPCDigisDM'
39 # Calo - using RecHits here
40 process.ecalWeightUncalibRecHit.EBdigiCollection = cms.InputTag("mix","EBDigiCollectionDM")
41 process.ecalWeightUncalibRecHit.EEdigiCollection = cms.InputTag("mix","EEDigiCollectionDM")
42 process.ecalPreshowerRecHit.ESdigiCollection = cms.InputTag("mix","ESDigiCollectionDM")
43 #
44 #process.hbhereco.digiLabel = cms.InputTag("mix:HBHEDigiCollection")
45 #process.horeco.digiLabel = cms.InputTag("mix:HODigiCollection")
46 #process.hfreco.digiLabel = cms.InputTag("mix:HFDigiCollection")
47 process.hbhereco.digiLabel = cms.InputTag("mix")
48 process.horeco.digiLabel = cms.InputTag("mix")
49 process.hfreco.digiLabel = cms.InputTag("mix")
50 process.zdcreco.digiLabel = cms.InputTag("mix")
51 
52 # Tracker
53 #siStripClusters.DigiProducersList??? { 'mix','SiStripDigisDM'}
54 process.siPixelClusters.src = 'mix:siPixelDigisDM'
55 process.siStripClusters.DigiProducersList = cms.VPSet(cms.PSet( DigiLabel = cms.string('siStripDigisDM'),
56  DigiProducer = cms.string('mix')))
57 
58 #process.multi5x5PreshowerClusterShape.preshStripEnergyCut = cms.double(200.0) #turn off ES clusters?
59 #process.photons.scIslandEndcapProducer = cms.InputTag("correctedMulti5x5SuperClusters")
60 
61 process.myoutput = cms.OutputModule("PoolOutputModule",
62 # process.FEVTEventContent,
63  outputCommands = process.FEVTDEBUGEventContent.outputCommands,
64  fileName = cms.untracked.string('file:/uscms_data/d1/mikeh/CRAFT_on_QCD_NewHcal_RECO_v4a.root'),
65  dataset = cms.untracked.PSet(
66  dataTier = cms.untracked.string(''),
67  filterName = cms.untracked.string('')
68  )
69 )
70 
71 process.myoutput.outputCommands.append('keep *')
72 #process.myoutput.outputCommands.append('keep HFDataFramesSorted_*_*_*')
73 #process.myoutput.outputCommands.append('keep HODataFramesSorted_*_*_*')
74 #process.myoutput.outputCommands.append('keep EBDigiCollection_ecalDigis_*_*')
75 #process.myoutput.outputCommands.append('keep EEDigiCollection_ecalDigis_*_*')
76 #process.myoutput.outputCommands.append('keep ESDataFramesSorted_ecalPreshowerDigis_*_*')
77 
78 
79 
80 # Other statements
81 process.GlobalTag.globaltag = 'STARTUP_30X::All'
82 
83 process.p1 = cms.Path(process.reconstruction)
84 process.outpath = cms.EndPath(process.myoutput)
85 
86 # Schedule definition
87 #process.schedule = cms.Schedule(process.p1,process.RECO)