コード例 #1
0
ファイル: fullMixCustomize_cff.py プロジェクト: p2l1pfp/cmssw
def setCrossingFrameOn(process):

    process.mix.mixObjects.mixCH.crossingFrames = cms.untracked.vstring(
        'CaloHitsTk', 'CastorBU', 'CastorFI', 'CastorPL', 'CastorTU',
        'EcalHitsEB', 'EcalHitsEE', 'EcalHitsES', 'EcalTBH4BeamHits',
        'HcalHits', 'HcalTB06BeamHits', 'ZDCHITS')

    process.mix.mixObjects.mixTracks.makeCrossingFrame = cms.untracked.bool(
        True)
    process.mix.mixObjects.mixVertices.makeCrossingFrame = cms.untracked.bool(
        True)
    process.mix.mixObjects.mixHepMC.makeCrossingFrame = cms.untracked.bool(
        True)

    process.mix.mixObjects.mixSH.crossingFrames = cms.untracked.vstring(
        'BSCHits', 'FP420SI', 'MuonCSCHits', 'MuonDTHits', 'MuonRPCHits',
        'TotemHitsRP', 'TotemHitsT1', 'TotemHitsT2Gem',
        'TrackerHitsPixelBarrelHighTof', 'TrackerHitsPixelBarrelLowTof',
        'TrackerHitsPixelEndcapHighTof', 'TrackerHitsPixelEndcapLowTof',
        'TrackerHitsTECHighTof', 'TrackerHitsTECLowTof',
        'TrackerHitsTIBHighTof', 'TrackerHitsTIBLowTof',
        'TrackerHitsTIDHighTof', 'TrackerHitsTIDLowTof',
        'TrackerHitsTOBHighTof', 'TrackerHitsTOBLowTof')

    from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
    run2_GEM_2017.toModify(
        process.mix.mixObjects,
        mixSH=dict(crossingFrames=process.mix.mixObjects.mixSH.crossingFrames +
                   ['MuonGEMHits']))
    from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
    run3_GEM.toModify(
        process.mix.mixObjects,
        mixSH=dict(crossingFrames=process.mix.mixObjects.mixSH.crossingFrames +
                   ['MuonGEMHits']))
    from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
    phase2_muon.toModify(
        process.mix.mixObjects,
        mixSH=dict(crossingFrames=process.mix.mixObjects.mixSH.crossingFrames +
                   ['MuonME0Hits']))
    from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
    phase2_timing_layer.toModify(
        process.mix.mixObjects,
        mixSH=dict(crossingFrames=process.mix.mixObjects.mixSH.crossingFrames +
                   ['FastTimerHitsBarrel', 'FastTimerHitsEndcap']))

    return (process)
コード例 #2
0
import FWCore.ParameterSet.Config as cms
from EventFilter.GEMRawToDigi.muonGEMDigisDefault_cfi import muonGEMDigisDefault as _muonGEMDigisDefault
muonGEMDigis = _muonGEMDigisDefault.clone()

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(muonGEMDigis, useDBEMap=True)
コード例 #3
0
                    pdgIdTP=cms.vint32(),
                    signalOnlyTP=cms.bool(True),
                    intimeOnlyTP=cms.bool(False),
                    minRapidityTP=cms.double(-2.6),
                    minHitTP=cms.int32(3),
                    ptMinTP=cms.double(0.2),
                    ptMaxTP=cms.double(1e100),
                    maxRapidityTP=cms.double(2.6),
                    tipTP=cms.double(1000)))

trackingParticleSelection = cms.Sequence(mergedtruth)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(
    trackingParticleSelection,
    simHitCollections=dict(
        muon=trackingParticleSelection.simHitCollections.muon +
        ["g4SimHitsMuonGEMHits"]))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(trackingParticleSelection,
                  simHitCollections=dict(
                      muon=trackingParticleSelection.simHitCollections.muon +
                      ["g4SimHitsMuonGEMHits"]))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify(
    trackingParticleSelection,
    simHitCollections=dict(
        muon=trackingParticleSelection.simHitCollections.muon +
        ["g4SimHitsMuonME0Hits"]))
コード例 #4
0
ファイル: mixObjects_cfi.py プロジェクト: cardinia/cmssw
    input = cms.VInputTag(cms.InputTag("CFWriter","g4SimHits")),
    type = cms.string('SimVertexPCrossingFrame')
)

mixPCFHepMCProducts = cms.PSet(
    input = cms.VInputTag(cms.InputTag("CFWriter","generator")),
    type = cms.string('HepMCProductPCrossingFrame')
)

from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hgceeDigitizer, hgchefrontDigitizer, hfnoseDigitizer

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonGEMHits") ],
        subdets = theMixObjects.mixSH.subdets + [ 'MuonGEMHits' ],
        crossingFrames = theMixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
    )
)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonGEMHits") ],
        subdets = theMixObjects.mixSH.subdets + [ 'MuonGEMHits' ],
        crossingFrames = theMixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
    )
)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonME0Hits") ],
コード例 #5
0
                                       cms.InputTag('cscpacker', 'CSCRawData'),
                                       cms.InputTag('csctfpacker', 'CSCTFRawData'),
                                       cms.InputTag('dtpacker'),
                                       cms.InputTag('dttfpacker'),
                                       cms.InputTag('ecalPacker'),
                                       cms.InputTag('esDigiToRaw'),
                                       cms.InputTag('gctDigiToRaw'),
                                       cms.InputTag('hcalRawDataVME'),
                                       cms.InputTag('l1GtEvmPack'),
                                       cms.InputTag('l1GtPack'),
                                       cms.InputTag('rpcpacker'),
                                       cms.InputTag('siPixelRawData')
    ),
)

#
# Make changes if using the Stage 1 trigger
#
from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("l1tDigiToRaw")) )
from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
run2_HCAL_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("hcalRawDatauHTR")) )


# GEM settings
from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )
コード例 #6
0
def setCrossingFrameOn(process):

    process.mix.mixObjects.mixCH.crossingFrames = cms.untracked.vstring(
        'CaloHitsTk', 
        'CastorBU', 
        'CastorFI', 
        'CastorPL', 
        'CastorTU', 
        'EcalHitsEB', 
        'EcalHitsEE', 
        'EcalHitsES', 
        'EcalTBH4BeamHits', 
        'HcalHits', 
        'HcalTB06BeamHits', 
        'ZDCHITS')

    process.mix.mixObjects.mixTracks.makeCrossingFrame = cms.untracked.bool(True)
    process.mix.mixObjects.mixVertices.makeCrossingFrame = cms.untracked.bool(True)
    process.mix.mixObjects.mixHepMC.makeCrossingFrame = cms.untracked.bool(True)

    process.mix.mixObjects.mixSH.crossingFrames = cms.untracked.vstring(
        'BSCHits', 
        'FP420SI', 
        'MuonCSCHits', 
        'MuonDTHits', 
        'MuonRPCHits', 
        'TotemHitsRP', 
        'TotemHitsT1', 
        'TotemHitsT2Gem', 
        'TrackerHitsPixelBarrelHighTof', 
        'TrackerHitsPixelBarrelLowTof', 
        'TrackerHitsPixelEndcapHighTof', 
        'TrackerHitsPixelEndcapLowTof', 
        'TrackerHitsTECHighTof', 
        'TrackerHitsTECLowTof', 
        'TrackerHitsTIBHighTof', 
        'TrackerHitsTIBLowTof', 
        'TrackerHitsTIDHighTof', 
        'TrackerHitsTIDLowTof', 
        'TrackerHitsTOBHighTof', 
        'TrackerHitsTOBLowTof')
        
    from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
    run2_GEM_2017.toModify( process.mix.mixObjects,
        mixSH = dict(
            crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
        )
    )
    from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
    run3_GEM.toModify( process.mix.mixObjects,
        mixSH = dict(
            crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
        )
    )
    from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
    phase2_muon.toModify( process.mix.mixObjects,
        mixSH = dict(
            crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonME0Hits' ]
        )
    )

    return(process)
コード例 #7
0
    fastSim.toModify(_entry, outputCommands = _entry.outputCommands + fastSimEC.dropPatTrigger)


for _entry in [FEVTDEBUGEventContent,FEVTDEBUGHLTEventContent,FEVTEventContent]:
    phase2_tracker.toModify(_entry, outputCommands = _entry.outputCommands + [
        'keep Phase2TrackerDigiedmDetSetVector_mix_*_*',
        'keep *_TTClustersFromPhase2TrackerDigis_*_*',
        'keep *_TTStubsFromPhase2TrackerDigis_*_*'
    ])

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
for _entry in [FEVTDEBUGEventContent,FEVTDEBUGHLTEventContent,FEVTEventContent]:
    run2_GEM_2017.toModify(_entry, outputCommands = _entry.outputCommands + ['keep *_muonGEMDigis_*_*'])
    run3_GEM.toModify(_entry, outputCommands = _entry.outputCommands + ['keep *_muonGEMDigis_*_*'])
    phase2_muon.toModify(_entry, outputCommands = _entry.outputCommands + ['keep *_muonGEMDigis_*_*'])
    pp_on_AA_2018.toModify(_entry, outputCommands = _entry.outputCommands + ['keep FEDRawDataCollection_rawDataRepacker_*_*'])

from RecoLocalFastTime.Configuration.RecoLocalFastTime_EventContent_cff import RecoLocalFastTimeFEVT, RecoLocalFastTimeRECO, RecoLocalFastTimeAOD
from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
def _addOutputCommands(mod, newCommands):
    phase2_timing_layer.toModify(mod, outputCommands = mod.outputCommands + newCommands.outputCommands)

_addOutputCommands(FEVTDEBUGEventContent,RecoLocalFastTimeFEVT)
_addOutputCommands(FEVTDEBUGHLTEventContent,RecoLocalFastTimeFEVT)
_addOutputCommands(FEVTEventContent,RecoLocalFastTimeFEVT)
_addOutputCommands(RECOSIMEventContent,RecoLocalFastTimeRECO)
_addOutputCommands(AODSIMEventContent,RecoLocalFastTimeAOD)
コード例 #8
0
    input = cms.VInputTag(cms.InputTag("CFWriter","g4SimHits")),
    type = cms.string('SimVertexPCrossingFrame')
)

mixPCFHepMCProducts = cms.PSet(
    input = cms.VInputTag(cms.InputTag("CFWriter","generator")),
    type = cms.string('HepMCProductPCrossingFrame')
)

from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hgceeDigitizer, hgchefrontDigitizer

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonGEMHits") ],
        subdets = theMixObjects.mixSH.subdets + [ 'MuonGEMHits' ],
        crossingFrames = theMixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
    )
)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonGEMHits") ],
        subdets = theMixObjects.mixSH.subdets + [ 'MuonGEMHits' ],
        crossingFrames = theMixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
    )
)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( theMixObjects,
    mixSH = dict(
        input = theMixObjects.mixSH.input + [ cms.InputTag("g4SimHits","MuonME0Hits") ],
コード例 #9
0
ファイル: IOMC_cff.py プロジェクト: lenzip/cmssw
    # to save the status of the last event (useful for crashes)
    ,
    saveFileName=cms.untracked.string('')
    # to restore the status of the last event,
    # comment the line above and decomment the following one
    #   ,restoreFileName = cms.untracked.string('RandomEngineState.log')
    # to reproduce events using the RandomEngineStateProducer (source excluded),
    # decomment the following one
    #   ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
)

randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(RandomNumberGeneratorService,
                       simMuonGEMDigis=cms.PSet(
                           initialSeed=cms.untracked.uint32(1234567),
                           engineName=cms.untracked.string('HepJamesRandom')))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(RandomNumberGeneratorService,
                  simMuonGEMDigis=cms.PSet(
                      initialSeed=cms.untracked.uint32(1234567),
                      engineName=cms.untracked.string('HepJamesRandom')))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify(
    RandomNumberGeneratorService,
    simMuonME0Digis=cms.PSet(
        initialSeed=cms.untracked.uint32(1234567),
        engineName=cms.untracked.string('HepJamesRandom')),
    simMuonME0PseudoDigis=cms.PSet(
コード例 #10
0
        'keep *_mixData_RPCDigiSimLink_*',
        'keep DTLayerIdDTDigiSimLinkMuonDigiCollection_mixData_*_*',
])

#AOD content
SimMuonAOD = cms.PSet(
    outputCommands = cms.untracked.vstring(
        # Sim matching information
        'keep *_muonSimClassifier_*_*'
        )
)
SimMuonRECO.outputCommands.extend(SimMuonAOD.outputCommands)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonGEMDigis_*_*',
                                                                                              'keep *_simMuonGEMPadDigis_*_*',
                                                                                              'keep *_simMuonGEMPadDigiClusters_*_*'] )
run2_GEM_2017.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + ['keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run2_GEM_2017.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + ['keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )


from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonGEMDigis_*_*',
                                                                                         'keep *_simMuonGEMPadDigis_*_*',
                                                                                         'keep *_simMuonGEMPadDigiClusters_*_*'] )
run3_GEM.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + ['keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run3_GEM.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + ['keep StripDigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )


from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonME0PseudoDigis_*_*',
コード例 #11
0
from Configuration.Eras.Modifier_fastSim_cff import fastSim
fastSim.toModify(trackingParticles,
    # for unknown reasons, fastsim needs this flag on
    allowDifferentSimHitProcesses = True,
    # fastsim labels for simhits, simtracks, simvertices
    simHitCollections = cms.PSet(
        muon = cms.VInputTag( cms.InputTag('MuonSimHits','MuonDTHits'),
                              cms.InputTag('MuonSimHits','MuonCSCHits'),
                              cms.InputTag('MuonSimHits','MuonRPCHits') ),
        trackerAndPixel = cms.VInputTag( cms.InputTag('famosSimHits','TrackerHits') )
    ),
    simTrackCollection = 'famosSimHits',
    simVertexCollection = 'famosSimHits'
)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(trackingParticles, simHitCollections = dict(
        muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonGEMHits")]))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(trackingParticles, simHitCollections = dict(
        muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonGEMHits")]))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( trackingParticles, simHitCollections = dict(
        muon = trackingParticles.simHitCollections.muon+[cms.InputTag("g4SimHits","MuonME0Hits")]))

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify( trackingParticles, simHitCollections = dict( tracker = []) )
コード例 #12
0
import FWCore.ParameterSet.Config as cms
from EventFilter.GEMRawToDigi.gemPackerDefault_cfi import gemPackerDefault as _gemPackerDefault
gemPacker = _gemPackerDefault.clone()

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(gemPacker, useDBEMap=True)
コード例 #13
0
ファイル: IOMC_cff.py プロジェクト: dntaylor/cmssw
    )
    # to save the status of the last event (useful for crashes)
    ,saveFileName = cms.untracked.string('')
    # to restore the status of the last event, 
    # comment the line above and decomment the following one
    #   ,restoreFileName = cms.untracked.string('RandomEngineState.log')  
    # to reproduce events using the RandomEngineStateProducer (source excluded),
    # decomment the following one
    #   ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
)

randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(RandomNumberGeneratorService, simMuonGEMDigis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
        engineName = cms.untracked.string('HepJamesRandom')) )

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(
    RandomNumberGeneratorService, 
    simMuonGEMDigis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
        engineName = cms.untracked.string('HepJamesRandom'))
)

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify(
    RandomNumberGeneratorService,
    simMuonME0Digis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
コード例 #14
0
    ),

    select = cms.PSet(
        lipTP = cms.double(1000),
        chargedOnlyTP = cms.bool(True),
        pdgIdTP = cms.vint32(),
        signalOnlyTP = cms.bool(True),
        intimeOnlyTP = cms.bool(False),
        minRapidityTP = cms.double(-2.6),
        minHitTP = cms.int32(3),
        ptMinTP = cms.double(0.2),
        ptMaxTP = cms.double(1e100),
        maxRapidityTP = cms.double(2.6),
        tipTP = cms.double(1000)
    )
)

trackingParticleSelection = cms.Sequence(mergedtruth)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(trackingParticleSelection, simHitCollections = dict(
        muon = trackingParticleSelection.simHitCollections.muon+["g4SimHitsMuonGEMHits"]))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(trackingParticleSelection, simHitCollections = dict(
        muon = trackingParticleSelection.simHitCollections.muon+["g4SimHitsMuonGEMHits"]))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( trackingParticleSelection, simHitCollections = dict(
        muon = trackingParticleSelection.simHitCollections.muon+["g4SimHitsMuonME0Hits"]))
コード例 #15
0
ファイル: IOMC_cff.py プロジェクト: MelanieEich/cmssw
    )
    # to save the status of the last event (useful for crashes)
    ,saveFileName = cms.untracked.string('')
    # to restore the status of the last event, 
    # comment the line above and decomment the following one
    #   ,restoreFileName = cms.untracked.string('RandomEngineState.log')  
    # to reproduce events using the RandomEngineStateProducer (source excluded),
    # decomment the following one
    #   ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
)

randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(RandomNumberGeneratorService, simMuonGEMDigis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
        engineName = FullSimEngine) )

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(
    RandomNumberGeneratorService, 
    simMuonGEMDigis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
        engineName = FullSimEngine)
)

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify(
    RandomNumberGeneratorService,
    simMuonME0Digis = cms.PSet(
        initialSeed = cms.untracked.uint32(1234567),
コード例 #16
0
        'keep *_muonSimClassifier_*_*'
        )
)
SimMuonRECO.outputCommands.extend(SimMuonAOD.outputCommands)

# Event content for premixing library
SimMuonPREMIX = cms.PSet(
    outputCommands = cms.untracked.vstring(
        'keep *_mix_g4SimHitsMuonDTHits_*',
        'keep *_mix_g4SimHitsMuonCSCHits_*',
        'keep *_mix_g4SimHitsMuonRPCHits_*',
    )
)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonGEMDigis_*_*'] )
run2_GEM_2017.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + ['keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run2_GEM_2017.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + ['keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run2_GEM_2017.toModify( SimMuonPREMIX, outputCommands = SimMuonPREMIX.outputCommands + ['keep *_mix_g4SimHitsMuonGEMHits_*'] )


from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonGEMDigis_*_*'] )
run3_GEM.toModify( SimMuonRAW, outputCommands = SimMuonRAW.outputCommands + ['keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run3_GEM.toModify( SimMuonRECO, outputCommands = SimMuonRECO.outputCommands + ['keep *DigiSimLinkedmDetSetVector_simMuonGEMDigis_*_*'] )
run3_GEM.toModify( SimMuonPREMIX, outputCommands = SimMuonPREMIX.outputCommands + ['keep *_mix_g4SimHitsMuonGEMHits_*'] )

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify( SimMuonFEVTDEBUG, outputCommands = SimMuonFEVTDEBUG.outputCommands + ['keep *_simMuonME0PseudoDigis_*_*',
                                                                                            'keep *_simMuonME0PseudoReDigis_*_*',
                                                                                            'keep *_simMuonME0Digis_*_*'] )
コード例 #17
0
import FWCore.ParameterSet.Config as cms

# AOD content
RecoLocalMuonAOD = cms.PSet(outputCommands=cms.untracked.vstring())
from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon

run2_GEM_2017.toModify(RecoLocalMuonAOD,
                       outputCommands=RecoLocalMuonAOD.outputCommands +
                       ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'])
run3_GEM.toModify(RecoLocalMuonAOD,
                  outputCommands=RecoLocalMuonAOD.outputCommands +
                  ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'])
phase2_muon.toModify(RecoLocalMuonAOD,
                     outputCommands=RecoLocalMuonAOD.outputCommands +
                     ['keep *_me0RecHits_*_*', 'keep *_me0Segments_*_*'])

# RECO content
RecoLocalMuonRECO = cms.PSet(outputCommands=cms.untracked.vstring(
    'keep *_muonDTDigis_*_*', 'keep *_dttfDigis_*_*', 'keep *_dt1DRecHits_*_*',
    'keep *_dt4DSegments_*_*', 'keep *_dt4DSegmentsT0Seg_*_*',
    'keep *_csc2DRecHits_*_*', 'keep *_cscSegments_*_*',
    'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
    'keep *_rpcRecHits_*_*'))
RecoLocalMuonRECO.outputCommands.extend(RecoLocalMuonAOD.outputCommands)

# Full Event content
RecoLocalMuonFEVT = cms.PSet(outputCommands=cms.untracked.vstring(
    'keep RPCDetIdRPCDigiMuonDigiCollection_*_*_*'))
RecoLocalMuonFEVT.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
コード例 #18
0
FEVTEventContent.outputCommands.extend(CommonEventContent.outputCommands)

ctpps.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + RecoCTPPSFEVT.outputCommands)
phase2_hgcal.toModify(FEVTEventContent,
    outputCommands = FEVTEventContent.outputCommands + TICL_FEVT.outputCommands)
phase2_tracker.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + [
        'keep Phase2TrackerDigiedmDetSetVector_mix_*_*',
        'keep *_TTClustersFromPhase2TrackerDigis_*_*',
        'keep *_TTStubsFromPhase2TrackerDigis_*_*',
        'keep *_TrackerDTC_*_*',
        'keep *_*_Level1TTTracks_*'])
phase2_muon.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + ['keep *_muonGEMDigis_*_*'])
run2_GEM_2017.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + ['keep *_muonGEMDigis_*_*'])
run3_GEM.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + ['keep *_muonGEMDigis_*_*'])
pp_on_AA.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + ['keep FEDRawDataCollection_rawDataRepacker_*_*'])
phase2_timing_layer.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + RecoLocalFastTimeFEVT.outputCommands)
phase2_timing_layer.toModify(FEVTEventContent, 
    outputCommands = FEVTEventContent.outputCommands + RecoMTDFEVT.outputCommands)

FEVTHLTALLEventContent = cms.PSet(
    outputCommands = cms.untracked.vstring('drop *'),
    splitLevel = cms.untracked.int32(0),
)
FEVTHLTALLEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
FEVTHLTALLEventContent.outputCommands.append('keep *_*_*_HLT')
コード例 #19
0
    # for unknown reasons, fastsim needs this flag on
    allowDifferentSimHitProcesses=True,
    # fastsim labels for simhits, simtracks, simvertices
    simHitCollections=cms.PSet(muon=cms.VInputTag(
        cms.InputTag('MuonSimHits', 'MuonDTHits'),
        cms.InputTag('MuonSimHits', 'MuonCSCHits'),
        cms.InputTag('MuonSimHits', 'MuonRPCHits')),
                               trackerAndPixel=cms.VInputTag(
                                   cms.InputTag('famosSimHits',
                                                'TrackerHits'))),
    simTrackCollection='famosSimHits',
    simVertexCollection='famosSimHits')

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(
    trackingParticles,
    simHitCollections=dict(muon=trackingParticles.simHitCollections.muon +
                           [cms.InputTag("g4SimHits", "MuonGEMHits")]))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toModify(
    trackingParticles,
    simHitCollections=dict(muon=trackingParticles.simHitCollections.muon +
                           [cms.InputTag("g4SimHits", "MuonGEMHits")]))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toModify(
    trackingParticles,
    simHitCollections=dict(muon=trackingParticles.simHitCollections.muon +
                           [cms.InputTag("g4SimHits", "MuonME0Hits")]))

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
コード例 #20
0
from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger

stage1L1Trigger.toModify(
    rawDataCollector.RawCollectionList,
    func=lambda list: list.append(cms.InputTag("l1tDigiToRaw")))
from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017

run2_HCAL_2017.toModify(
    rawDataCollector.RawCollectionList,
    func=lambda list: list.append(cms.InputTag("hcalRawDatauHTR")))

# GEM settings
from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017

run2_GEM_2017.toModify(
    rawDataCollector.RawCollectionList,
    func=lambda list: list.append(cms.InputTag("gemPacker")))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM

run3_GEM.toModify(rawDataCollector.RawCollectionList,
                  func=lambda list: list.append(cms.InputTag("gemPacker")))

# For Run2 it is needed to include the general ctpps era ctpps_2016
from Configuration.Eras.Modifier_ctpps_2021_cff import ctpps_2021

ctpps_2021.toModify(
    rawDataCollector.RawCollectionList,
    func=lambda list: list.extend(
        [cms.InputTag("ctppsTotemRawData"),
         cms.InputTag("ctppsPixelRawData")]))
コード例 #21
0
ファイル: muonGEMDigis_cfi.py プロジェクト: MelanieEich/cmssw
import FWCore.ParameterSet.Config as cms
from EventFilter.GEMRawToDigi.muonGEMDigisDefault_cfi import muonGEMDigisDefault as _muonGEMDigisDefault
muonGEMDigis = _muonGEMDigisDefault.clone()

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(muonGEMDigis, useDBEMap = True)
コード例 #22
0
ファイル: IOMC_cff.py プロジェクト: xealits/cmssw
    ,
    saveFileName=cms.untracked.string('')
    # to restore the status of the last event,
    # comment the line above and decomment the following one
    #   ,restoreFileName = cms.untracked.string('RandomEngineState.log')
    # to reproduce events using the RandomEngineStateProducer (source excluded),
    # decomment the following one
    #   ,restoreStateLabel = cms.untracked.string('randomEngineStateProducer')
)

randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer")

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017

run2_GEM_2017.toModify(RandomNumberGeneratorService,
                       simMuonGEMDigis=cms.PSet(
                           initialSeed=cms.untracked.uint32(1234567),
                           engineName=FullSimEngine))

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM

run3_GEM.toModify(RandomNumberGeneratorService,
                  simMuonGEMDigis=cms.PSet(
                      initialSeed=cms.untracked.uint32(1234567),
                      engineName=FullSimEngine))

from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon

phase2_muon.toModify(
    RandomNumberGeneratorService,
    simMuonME0Digis=cms.PSet(initialSeed=cms.untracked.uint32(1234567),
                             engineName=FullSimEngine),
コード例 #23
0
ファイル: gemPacker_cfi.py プロジェクト: MelanieEich/cmssw
import FWCore.ParameterSet.Config as cms
from EventFilter.GEMRawToDigi.gemPackerDefault_cfi import gemPackerDefault as _gemPackerDefault
gemPacker = _gemPackerDefault.clone()

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toModify(gemPacker, useDBEMap = True)