CMS 3D CMS Logo

Functions
matching_cff Namespace Reference

Functions

def matchDirectSimOutputs (process, AOD=False, miniAOD=False)
 
def matchDirectSimOutputsAOD (process)
 
def matchDirectSimOutputsMiniAOD (process)
 

Function Documentation

◆ matchDirectSimOutputs()

def matching_cff.matchDirectSimOutputs (   process,
  AOD = False,
  miniAOD = False 
)

Definition at line 3 of file matching_cff.py.

Referenced by matchDirectSimOutputsAOD(), matchDirectSimOutputsMiniAOD(), and Utils.setupPPSDirectSim().

3 def matchDirectSimOutputs(process, AOD=False, miniAOD=False):
4  # match sources of rechits with direct simulation outputs
5  process.totemRPUVPatternFinder.tagRecHit = cms.InputTag('ppsDirectProtonSimulation')
6  process.ctppsPixelLocalTracks.tag = cms.InputTag('ppsDirectProtonSimulation')
7  process.ctppsDiamondLocalTracks.recHitsTag = cms.InputTag('ppsDirectProtonSimulation')
8  # handle clashes between simulation and GT conditions
9  process.es_prefer_composrc = cms.ESPrefer('CTPPSCompositeESSource', 'ctppsCompositeESSource')
10  process.es_prefer_pixtopo = cms.ESPrefer('PPSPixelTopologyESSource', 'ppsPixelTopologyESSource')
11  process.es_prefer_lhcinfo = cms.ESPrefer('CTPPSBeamParametersFromLHCInfoESSource', 'ctppsBeamParametersFromLHCInfoESSource')
12  process.es_prefer_assocuts = cms.ESPrefer('PPSAssociationCutsESSource', 'ppsAssociationCutsESSource')
13  return process
14 
def matchDirectSimOutputs(process, AOD=False, miniAOD=False)
Definition: matching_cff.py:3

◆ matchDirectSimOutputsAOD()

def matching_cff.matchDirectSimOutputsAOD (   process)

Definition at line 15 of file matching_cff.py.

References matchDirectSimOutputs().

Referenced by Utils.setupPPSDirectSimAOD().

15 def matchDirectSimOutputsAOD(process):
16  matchDirectSimOutputs(process)
17  process.beamDivergenceVtxGenerator.src = cms.InputTag('')
18  process.beamDivergenceVtxGenerator.srcGenParticle = cms.VInputTag(
19  cms.InputTag('genPUProtons', 'genPUProtons'),
20  cms.InputTag('genParticles')
21  )
22  return process
23 
def matchDirectSimOutputsAOD(process)
Definition: matching_cff.py:15
def matchDirectSimOutputs(process, AOD=False, miniAOD=False)
Definition: matching_cff.py:3

◆ matchDirectSimOutputsMiniAOD()

def matching_cff.matchDirectSimOutputsMiniAOD (   process)

Definition at line 24 of file matching_cff.py.

References matchDirectSimOutputs().

Referenced by Utils.setupPPSDirectSimMiniAOD().

24 def matchDirectSimOutputsMiniAOD(process):
25  matchDirectSimOutputs(process)
26  process.beamDivergenceVtxGenerator.src = cms.InputTag('')
27  process.beamDivergenceVtxGenerator.srcGenParticle = cms.VInputTag(
28  cms.InputTag('genPUProtons', 'genPUProtons'),
29  cms.InputTag('prunedGenParticles')
30  )
31  return process
32 
def matchDirectSimOutputsMiniAOD(process)
Definition: matching_cff.py:24
def matchDirectSimOutputs(process, AOD=False, miniAOD=False)
Definition: matching_cff.py:3