CMS 3D CMS Logo

fullMixCustomize_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def setCrossingFrameOn(process):
4 
5  process.mix.mixObjects.mixCH.crossingFrames = cms.untracked.vstring(
6  'CaloHitsTk',
7  'CastorBU',
8  'CastorFI',
9  'CastorPL',
10  'CastorTU',
11  'EcalHitsEB',
12  'EcalHitsEE',
13  'EcalHitsES',
14  'EcalTBH4BeamHits',
15  'HcalHits',
16  'HcalTB06BeamHits',
17  'ZDCHITS')
18 
19  process.mix.mixObjects.mixTracks.makeCrossingFrame = cms.untracked.bool(True)
20  process.mix.mixObjects.mixVertices.makeCrossingFrame = cms.untracked.bool(True)
21  process.mix.mixObjects.mixHepMC.makeCrossingFrame = cms.untracked.bool(True)
22 
23  process.mix.mixObjects.mixSH.crossingFrames = cms.untracked.vstring(
24  'BSCHits',
25  'FP420SI',
26  'MuonCSCHits',
27  'MuonDTHits',
28  'MuonRPCHits',
29  'TotemHitsRP',
30  'TotemHitsT1',
31  'TotemHitsT2Gem',
32  'TrackerHitsPixelBarrelHighTof',
33  'TrackerHitsPixelBarrelLowTof',
34  'TrackerHitsPixelEndcapHighTof',
35  'TrackerHitsPixelEndcapLowTof',
36  'TrackerHitsTECHighTof',
37  'TrackerHitsTECLowTof',
38  'TrackerHitsTIBHighTof',
39  'TrackerHitsTIBLowTof',
40  'TrackerHitsTIDHighTof',
41  'TrackerHitsTIDLowTof',
42  'TrackerHitsTOBHighTof',
43  'TrackerHitsTOBLowTof')
44 
45  from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
46  run2_GEM_2017.toModify( process.mix.mixObjects,
47  mixSH = dict(
48  crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
49  )
50  )
51  from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
52  run3_GEM.toModify( process.mix.mixObjects,
53  mixSH = dict(
54  crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonGEMHits' ]
55  )
56  )
57  from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
58  phase2_muon.toModify( process.mix.mixObjects,
59  mixSH = dict(
60  crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'MuonME0Hits' ]
61  )
62  )
63  from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
64  phase2_timing_layer.toModify( process.mix.mixObjects,
65  mixSH = dict(
66  crossingFrames = process.mix.mixObjects.mixSH.crossingFrames + [ 'FastTimerHitsBarrel', 'FastTimerHitsEndcap' ]
67  )
68  )
69 
70  return(process)
return((rh^lh)&mask)
def setCrossingFrameOn(process)