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 from SimCalorimetry.HcalSimProducers.hcalUnsuppressedDigis_cfi import hcalSimBlock
0003 
0004 
0005 mixData = cms.EDProducer("DataMixingModule",
0006                    hcalSimBlock,
0007     input = cms.SecSource("EmbeddedRootSource",
0008         nbPileupEvents = cms.PSet(
0009             averageNumber = cms.double(1.0)
0010         ),
0011         seed = cms.int32(1234567),
0012         type = cms.string('fixed'),
0013         sequential = cms.untracked.bool(False), 
0014         sameLumiBlock = cms.untracked.bool(False),
0015         fileNames = cms.untracked.vstring(
0016             'file:DMPreProcess_RAW2DIGI.root'
0017         )
0018     ),
0019     # Mixing Module parameters
0020     Label = cms.string(''),
0021     maxBunch = cms.int32(0),
0022     bunchspace = cms.int32(25),
0023     minBunch = cms.int32(0),
0024     #                   
0025     mixProdStep1 = cms.bool(False),
0026     mixProdStep2 = cms.bool(False),
0027     # Use digis?               
0028     EcalMergeType = cms.string('Digis'),  # set to "Digis" to merge digis
0029     HcalMergeType = cms.string('Digis'),
0030     HcalDigiMerge = cms.string('NotFullProd'),
0031     #
0032     # Input Specifications:
0033     #
0034     SiStripRawDigiSource = cms.string("NONE"), # rawdigi+digi->rawdigi (specify 'SIGNAL' or 'PILEUP')
0035     SiStripRawInputTag = cms.InputTag("siStripDigis","VirginRaw"),               
0036     #                         
0037     SistripLabelSig = cms.InputTag("siStripDigis","ZeroSuppressed"),
0038                    #
0039     pixeldigiCollectionSig = cms.InputTag("siPixelDigis"),
0040     #
0041     SiStripPileInputTag = cms.InputTag("siStripDigis","ZeroSuppressed"),
0042                    #
0043     pixeldigiCollectionPile = cms.InputTag("siPixelDigis"),
0044                    #
0045     EBProducerSig = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
0046     EEProducerSig = cms.InputTag("ecalRecHit","EcalRecHitsEE"),                   
0047     ESProducerSig = cms.InputTag("ecalPreshowerRecHit","EcalRecHitsES"),
0048                    #
0049     HBHEProducerSig = cms.InputTag("hbhereco"),
0050     HOProducerSig = cms.InputTag("horeco"),                   
0051     HFProducerSig = cms.InputTag("hfreco"),
0052     ZDCrechitCollectionSig = cms.InputTag("wrongTag"),
0053 #                         ZDCrechitCollectionSig = cms.InputTag("zdcreco"),
0054     #
0055     EBPileRecHitInputTag = cms.InputTag("ecalRecHit", "EcalRecHitsEB"),
0056     EEPileRecHitInputTag = cms.InputTag("ecalRecHit", "EcalRecHitsEE"),
0057     ESPileRecHitInputTag = cms.InputTag("ecalPreshowerRecHit", "EcalRecHitsES"),                  
0058     #
0059     HBHEPileRecHitInputTag = cms.InputTag("hbhereco", ""),
0060     HOPileRecHitInputTag = cms.InputTag("horeco", ""),                   
0061     HFPileRecHitInputTag = cms.InputTag("hfreco", ""),
0062     ZDCPileRecHitInputTag = cms.InputTag("wrongTag",""),
0063 #                         ZDCPileRecHitInputTag = cms.InputTag("zdcreco",""),
0064     #
0065     # Calorimeter digis
0066     #
0067     EBdigiCollectionSig = cms.InputTag("ecalDigis","ebDigis"),
0068     EEdigiCollectionSig = cms.InputTag("ecalDigis","eeDigis"),
0069     ESdigiCollectionSig = cms.InputTag("ecalPreshowerDigis"),
0070 
0071     EBdigiProducerSig = cms.InputTag("ecalDigis","ebDigis"),
0072     EEdigiProducerSig = cms.InputTag("ecalDigis","eeDigis"),
0073     ESdigiProducerSig = cms.InputTag("ecalPreshowerDigis"),
0074 
0075     HBHEdigiCollectionSig  = cms.InputTag("hcalDigis"),
0076     HOdigiCollectionSig    = cms.InputTag("hcalDigis"),
0077     HFdigiCollectionSig    = cms.InputTag("hcalDigis"),
0078     QIE10digiCollectionSig = cms.InputTag("hcalDigis"),
0079     QIE11digiCollectionSig = cms.InputTag("hcalDigis"),
0080     ZDCdigiCollectionSig   = cms.InputTag(""),
0081 #                         ZDCdigiCollectionSig   = cms.InputTag("hcalDigis"),          
0082     #
0083     EBPileInputTag = cms.InputTag("ecalDigis","ebDigis"),
0084     EEPileInputTag = cms.InputTag("ecalDigis","eeDigis"),
0085     ESPileInputTag = cms.InputTag("ecalPreshowerDigis",""),
0086     HBHEPileInputTag = cms.InputTag("hcalDigis"),                  
0087     HOPileInputTag   = cms.InputTag("hcalDigis"),                  
0088     HFPileInputTag   = cms.InputTag("hcalDigis"),                  
0089     QIE10PileInputTag   = cms.InputTag("hcalDigis"),                  
0090     QIE11PileInputTag   = cms.InputTag("hcalDigis"),                  
0091     ZDCPileInputTag  = cms.InputTag(""),
0092 #                         ZDCPileInputTag  = cms.InputTag("hcalDigis"),          
0093     #  Signal
0094     CSCwiredigiCollectionSig = cms.InputTag("muonCSCDigis","MuonCSCWireDigi"),
0095     CSCstripdigiCollectionSig = cms.InputTag("muonCSCDigis","MuonCSCStripDigi"),
0096     CSCCompdigiCollectionSig = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi"),
0097     RPCDigiTagSig = cms.InputTag("muonRPCDigis"),                   
0098     RPCdigiCollectionSig = cms.InputTag("MuonRPCDigis"),
0099     DTDigiTagSig = cms.InputTag("muonDTDigis"),
0100     DTdigiCollectionSig = cms.InputTag("MuonDTDigis"),
0101                    #
0102     #  Pileup
0103                    #                   
0104     DTPileInputTag        = cms.InputTag("muonDTDigis"),
0105     RPCPileInputTag       = cms.InputTag("muonRPCDigis"),
0106     CSCWirePileInputTag   = cms.InputTag("muonCSCDigis","MuonCSCWireDigi"),
0107     CSCStripPileInputTag  = cms.InputTag("muonCSCDigis","MuonCSCStripDigi"),
0108     CSCCompPileInputTag   = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi"),
0109                    #
0110     #
0111     #  Outputs
0112     #
0113     SiStripDigiCollectionDM = cms.string('siStripDigisDM'),
0114     PixelDigiCollectionDM = cms.string('siPixelDigisDM'),                   
0115     EBRecHitCollectionDM = cms.string('EcalRecHitsEBDM'),
0116     EERecHitCollectionDM = cms.string('EcalRecHitsEEDM'),                   
0117     ESRecHitCollectionDM = cms.string('EcalRecHitsESDM'),
0118     HBHERecHitCollectionDM = cms.string('HBHERecHitCollectionDM'),
0119     HFRecHitCollectionDM = cms.string('HFRecHitCollectionDM'),
0120     HORecHitCollectionDM = cms.string('HORecHitCollectionDM'),                   
0121     ZDCRecHitCollectionDM = cms.string('ZDCRecHitCollectionDM'),
0122     DTDigiCollectionDM = cms.string('muonDTDigisDM'),
0123     CSCWireDigiCollectionDM = cms.string('MuonCSCWireDigisDM'),
0124     CSCStripDigiCollectionDM = cms.string('MuonCSCStripDigisDM'),
0125     CSCComparatorDigiCollectionDM = cms.string('MuonCSCComparatorDigisDM'),
0126     RPCDigiCollectionDM = cms.string('muonRPCDigisDM'),
0127     #
0128     #  Calorimeter Digis
0129     #               
0130     EBDigiCollectionDM   = cms.string('EBDigiCollectionDM'),
0131     EEDigiCollectionDM   = cms.string('EEDigiCollectionDM'),
0132     ESDigiCollectionDM   = cms.string(''),
0133     HBHEDigiCollectionDM = cms.string(''),
0134     HODigiCollectionDM   = cms.string(''),
0135     HFDigiCollectionDM   = cms.string(''),
0136     ZDCDigiCollectionDM  = cms.string(''),
0137     QIE10DigiCollectionDM  = cms.string(''),
0138     QIE11DigiCollectionDM  = cms.string('')
0139 )
0140 
0141 mixData.doEB = cms.bool(True)
0142 mixData.doEE = cms.bool(True)
0143 mixData.doES = cms.bool(True)