Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def setCrossingFrameOn(process):
0004 
0005     process.mix.mixObjects.mixCH.crossingFrames = cms.untracked.vstring(
0006         'CaloHitsTk', 
0007         'CastorBU', 
0008         'CastorFI', 
0009         'CastorPL', 
0010         'CastorTU', 
0011         'EcalHitsEB', 
0012         'EcalHitsEE', 
0013         'EcalHitsES', 
0014         'EcalTBH4BeamHits', 
0015         'HcalHits', 
0016         'HcalTB06BeamHits', 
0017         'ZDCHITS')
0018 
0019     process.mix.mixObjects.mixTracks.makeCrossingFrame = cms.untracked.bool(True)
0020     process.mix.mixObjects.mixVertices.makeCrossingFrame = cms.untracked.bool(True)
0021     process.mix.mixObjects.mixHepMC.makeCrossingFrame = cms.untracked.bool(True)
0022 
0023     process.mix.mixObjects.mixSH.crossingFrames = cms.untracked.vstring(
0024         'BSCHits', 
0025         'FP420SI', 
0026         'MuonCSCHits', 
0027         'MuonDTHits', 
0028         'MuonRPCHits', 
0029         'TotemHitsRP', 
0030         'TotemHitsT1', 
0031         'TotemHitsT2Gem', 
0032         'TrackerHitsPixelBarrelHighTof', 
0033         'TrackerHitsPixelBarrelLowTof', 
0034         'TrackerHitsPixelEndcapHighTof', 
0035         'TrackerHitsPixelEndcapLowTof', 
0036         'TrackerHitsTECHighTof', 
0037         'TrackerHitsTECLowTof', 
0038         'TrackerHitsTIBHighTof', 
0039         'TrackerHitsTIBLowTof', 
0040         'TrackerHitsTIDHighTof', 
0041         'TrackerHitsTIDLowTof', 
0042         'TrackerHitsTOBHighTof', 
0043         'TrackerHitsTOBLowTof')
0044         
0045     from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0046     run2_GEM_2017.toModify( process.mix.mixObjects,
0047         mixSH = dict(
0048             crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
0049         )
0050     )
0051     from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0052     run3_GEM.toModify( process.mix.mixObjects,
0053         mixSH = dict(
0054             crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
0055         )
0056     )
0057     from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
0058     phase2_muon.toModify( process.mix.mixObjects,
0059         mixSH = dict(
0060             crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonME0Hits' ]
0061         )
0062     )
0063     from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
0064     phase2_timing_layer.toModify( process.mix.mixObjects,
0065         mixSH = dict(
0066             crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'FastTimerHitsBarrel', 'FastTimerHitsEndcap' ]
0067         )
0068     )
0069 
0070     return(process)