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