Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:34

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