00010 :
00011 process._Process__name="OVERLAY"
00012 process.LoadAllDictionaries = cms.Service("LoadAllDictionaries")
00013
00014 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
00015
00016
00017 originalEventProcessName = "SELECTION"
00018 newPartialEventProcessName = "TAUSIMU"
00019 recHitCollection = ""
00020
00021 settingForoverlayCompleteSecondEvent = True
00022
00023 process.overlay = cms.EDProducer('EventMixingModule',
00024
00025
00026
00027
00028
00029 SiPixelDigiInput1 = cms.InputTag("siPixelDigis","",originalEventProcessName),
00030
00031 SiStripDigiInput1 = cms.VInputTag(
00032 cms.InputTag("siStripDigis","ZeroSuppressed",originalEventProcessName)
00033 ,cms.InputTag("siStripZeroSuppression","VirginRaw",originalEventProcessName)
00034 ,cms.InputTag("siStripZeroSuppression","ProcessedRaw",originalEventProcessName)
00035 ,cms.InputTag("siStripZeroSuppression","ScopeMode",originalEventProcessName)
00036 ),
00037
00038 EBDigiInput1 = cms.InputTag("ecalDigis","ebDigis",originalEventProcessName),
00039 EEDigiInput1 = cms.InputTag("ecalDigis","eeDigis",originalEventProcessName),
00040 ESDigiInput1 = cms.InputTag("ecalPreshowerDigis","",originalEventProcessName),
00041
00042 HBHEDigiInput1 = cms.InputTag("hcalDigis","",originalEventProcessName),
00043 HODigiInput1 = cms.InputTag("hcalDigis","",originalEventProcessName),
00044 HFDigiInput1 = cms.InputTag("hcalDigis","",originalEventProcessName),
00045 ZDCDigiInput1 = cms.InputTag("hcalDigis","",originalEventProcessName),
00046
00047 DTDigiInput1 = cms.InputTag("muonDTDigis","",originalEventProcessName),
00048 RPCDigiInput1 = cms.InputTag("muonRPCDigis","",originalEventProcessName),
00049 CSCStripDigiInput1 = cms.InputTag("muonCSCDigis","MuonCSCStripDigi",originalEventProcessName),
00050 CSCWireDigiInput1 = cms.InputTag("muonCSCDigis","MuonCSCWireDigi",originalEventProcessName),
00051 CSCComparatorDigiInput1 = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi",originalEventProcessName),
00052
00053
00054 SiPixelDigiInput2 = cms.InputTag("siPixelDigis","",newPartialEventProcessName),
00055
00056
00057
00058 SiStripDigiInput2 = cms.VInputTag(
00059 cms.InputTag("siStripDigis","ZeroSuppressed",newPartialEventProcessName)
00060 ,cms.InputTag("siStripZeroSuppression","VirginRaw",process._Process__name)
00061 ,cms.InputTag("siStripZeroSuppression","ProcessedRaw",process._Process__name)
00062 ,cms.InputTag("siStripZeroSuppression","ScopeMode",process._Process__name)
00063 ),
00064
00065 EBDigiInput2 = cms.InputTag("ecalDigis","ebDigis",newPartialEventProcessName),
00066 EEDigiInput2 = cms.InputTag("ecalDigis","eeDigis",newPartialEventProcessName),
00067 ESDigiInput2 = cms.InputTag("ecalPreshowerDigis","",newPartialEventProcessName),
00068
00069 HBHEDigiInput2 = cms.InputTag("hcalDigis","",newPartialEventProcessName),
00070 HODigiInput2 = cms.InputTag("hcalDigis","",newPartialEventProcessName),
00071 HFDigiInput2 = cms.InputTag("hcalDigis","",newPartialEventProcessName),
00072 ZDCDigiInput2 = cms.InputTag("hcalDigis","",newPartialEventProcessName),
00073
00074 DTDigiInput2 = cms.InputTag("muonDTDigis","",newPartialEventProcessName),
00075 RPCDigiInput2 = cms.InputTag("muonRPCDigis","",newPartialEventProcessName),
00076 CSCStripDigiInput2 = cms.InputTag("muonCSCDigis","MuonCSCStripDigi",newPartialEventProcessName),
00077 CSCWireDigiInput2 = cms.InputTag("muonCSCDigis","MuonCSCWireDigi",newPartialEventProcessName),
00078 CSCComparatorDigiInput2 = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi",newPartialEventProcessName),
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099 DTDigiOutputProdInstanceLabel = cms.string('muonDTDigisDM'),
00100 RPCDigiOutputProdInstanceLabel = cms.string('muonRPCDigisDM'),
00101 CSCStripDigiOutputProdInstanceLabel = cms.string('MuonCSCStripDigisDM'),
00102 CSCWireDigiOutputProdInstanceLabel = cms.string('MuonCSCWireDigisDM'),
00103 CSCComparatorDigiOutputProdInstanceLabel = cms.string('MuonCSCComparatorDigisDM'),
00104
00105 SiPixelDigiOutputProdInstanceLabel = cms.string('siPixelDigisDM'),
00106
00107
00108 HBHEDigiOutputProdInstanceLabel = cms.string('HBHEDigiCollectionDM'),
00109 HODigiOutputProdInstanceLabel = cms.string('HODigiCollectionDM'),
00110 HFDigiOutputProdInstanceLabel = cms.string('HFDigiCollectionDM'),
00111 ZDCDigiOutputProdInstanceLabel = cms.string('ZDCDigiCollectionDM'),
00112 EBDigiOutputProdInstanceLabel = cms.string('EBDigiCollectionDM'),
00113 EEDigiOutputProdInstanceLabel = cms.string('EEDigiCollectionDM'),
00114 ESDigiOutputProdInstanceLabel = cms.string('ESDigiCollectionDM'),
00115
00116 SiStripDigiOutputProdInstanceLabel = cms.vstring('siStripDigisZSDM','siStripDigisVRDM','siStripDigisPRDM','siStripDigisSMDM'),
00117
00118
00119
00120 hitCollection1 = cms.InputTag("selectMuons",recHitCollection,"SELECTION"),
00121 hitCollection2 = cms.InputTag("selectMuons",recHitCollection,"SELECTION"),
00122
00123 overlayCompleteSecondEvent = cms.untracked.bool(settingForoverlayCompleteSecondEvent),
00124 Label = cms.string('')
00125 )
00126
00127 process.load("RecoLocalTracker.SiStripZeroSuppression.DefaultAlgorithms_cff")
00128 process.siStripZeroSuppression = cms.EDFilter("SiStripZeroSuppression",
00129 Algorithms = process.DefaultAlgorithms,
00130 RawDigiProducersList = cms.VInputTag(
00131 cms.InputTag('siStripDigis','VirginRaw'),
00132 cms.InputTag('siStripDigis','ProcessedRaw'),
00133 cms.InputTag('siStripDigis','ScopeMode')
00134 )
00135 )
00136
00137 process.overlayPath = cms.Path(process.siStripZeroSuppression*process.overlay)
00138
00139 process.output.SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('overlayPath'))
00140 process.schedule = cms.Schedule(process.overlayPath, process.L1simulation_step, process.out_step)
00141
00142 if runOnTheGrid:
00143 process.source.fileNames=cms.untracked.vstring(__FILE_NAMES__)
00144 process.source.skipEvents=cms.untracked.uint32(__SKIP_EVENTS__)
00145 process.maxEvents.input = cms.untracked.int32(__MAX_EVENTS__)
00146 process.output.fileName = cms.untracked.string("output.root")
00147
00148
00149
00150 process.output.outputCommands = cms.untracked.vstring(
00151 "drop *_*_*_*","keep edmHepMCProduct_*_*_*",
00152 "keep *_*_*_OVERLAY",
00153 "drop *_siStripZeroSuppression_*_OVERLAY",
00154 "keep uints_*_*_*",
00155 "keep FEDRawDataCollection_*_*_*"
00156 )
00157 print process.schedule
00158 return(process)
00159