CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
gemCustom Namespace Reference

Functions

def customise2023
 
def customise_digitization
 
def customise_harvesting
 
def customise_L1simulation
 
def customise_Validation
 

Function Documentation

def gemCustom.customise2023 (   process)

Definition at line 2 of file gemCustom.py.

References customise_digitization(), customise_harvesting(), customise_L1simulation(), and customise_Validation().

2 
3 def customise2023(process):
4  if hasattr(process,'digitisation_step') :
5  process=customise_digitization(process)
6  if hasattr(process, 'L1simulation_step') :
7  process=customise_L1simulation(process)
8  if hasattr(process,'dqmHarvesting'):
9  process=customise_harvesting(process)
10  if hasattr(process,'validation_step'):
11  process=customise_Validation(process)
return process
def customise_Validation
Definition: gemCustom.py:50
def customise2023
Definition: gemCustom.py:2
def customise_L1simulation
Definition: gemCustom.py:22
def customise_harvesting
Definition: gemCustom.py:57
def customise_digitization
Definition: gemCustom.py:12
def gemCustom.customise_digitization (   process)

Definition at line 12 of file gemCustom.py.

Referenced by customise2023().

12 
13 def customise_digitization(process):
14  from SimMuon.GEMDigitizer.customizeGEMDigi import customize_digi_addGEM_muon_only
15  if (hasattr(process,"simMuonGEMDigis")) :
16  if ( not hasattr(process.simMuonGEMDigis,"mixLabel")) :
17  process.simMuonGEMDigis.mixLabel = cms.string("mix")
18  if ( hasattr(process,"simMuonME0Digis")) :
19  if ( not hasattr(process.simMuonME0Digis,"mixLabel")) :
20  process.simMuonME0Digis.mixLabel = cms.string("mix")
21  return process
def customise_digitization
Definition: gemCustom.py:12
def gemCustom.customise_harvesting (   process)

Definition at line 57 of file gemCustom.py.

Referenced by customise2023().

57 
58 def customise_harvesting(process):
59  process.load('Validation.MuonGEMHits.gemPostValidation_cff')
60  process.genHarvesting += process.gemPostValidation
61  process.load('DQMServices.Components.EDMtoMEConverter_cff')
62  process.genHarvesting += process.EDMtoMEConverter
63  return process
64 
def customise_harvesting
Definition: gemCustom.py:57
def gemCustom.customise_L1simulation (   process)

Definition at line 22 of file gemCustom.py.

Referenced by customise2023().

22 
23 def customise_L1simulation(process):
24  if (not hasattr(process, 'caloConfigSource')) :
25  process.load('L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
26  from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi import cscTriggerPrimitiveDigis
27  process.simCscTriggerPrimitiveDigis = cscTriggerPrimitiveDigis
28  process.simCscTriggerPrimitiveDigis.commonParam.isSLHC = True
29  process.simCscTriggerPrimitiveDigis.commonParam.smartME1aME1b = True
30 
31  from Validation.MuonGEMDigis.MuonGEMDigis_cff import me11tmbSLHCGEM
32  process.simCscTriggerPrimitiveDigis.commonParam.runME11ILT = cms.bool(True)
33  process.simCscTriggerPrimitiveDigis.me11tmbSLHCGEM = me11tmbSLHCGEM
34  process.simCscTriggerPrimitiveDigis.clctSLHC.clctNplanesHitPattern = 3
35  process.simCscTriggerPrimitiveDigis.clctSLHC.clctPidThreshPretrig = 2
36  process.simCscTriggerPrimitiveDigis.clctParam07.clctPidThreshPretrig = 2
37  process.simCscTriggerPrimitiveDigis.GEMPadDigiProducer = "simMuonGEMPadDigis"
38 
39  from Validation.MuonGEMDigis.MuonGEMDigis_cff import me21tmbSLHCGEM
40  process.simCscTriggerPrimitiveDigis.commonParam.runME21ILT = cms.bool(True)
41  process.simCscTriggerPrimitiveDigis.me21tmbSLHCGEM = me21tmbSLHCGEM
42  ## ME21 has its own SLHC processors
43  process.simCscTriggerPrimitiveDigis.alctSLHCME21 = process.simCscTriggerPrimitiveDigis.alctSLHC.clone()
44  process.simCscTriggerPrimitiveDigis.clctSLHCME21 = process.simCscTriggerPrimitiveDigis.clctSLHC.clone()
45  process.simCscTriggerPrimitiveDigis.alctSLHCME21.alctNplanesHitPattern = 3
46  #process.simCscTriggerPrimitiveDigis.alctSLHCME21.runME21ILT = cms.bool(True)
47  process.simCscTriggerPrimitiveDigis.clctSLHCME21.clctNplanesHitPattern = 3
48  process.simCscTriggerPrimitiveDigis.clctSLHCME21.clctPidThreshPretrig = 2
49  return process
def customise_L1simulation
Definition: gemCustom.py:22
def gemCustom.customise_Validation (   process)

Definition at line 50 of file gemCustom.py.

Referenced by customise2023().

50 
51 def customise_Validation(process):
52  process.load('Validation.MuonGEMHits.gemSimValid_cff')
53  process.genvalid_all += process.gemSimValid
54  if ( hasattr(process,"me0SimValid") ) :
55  process.genvalid_all += process.me0SimValid
56  return process
def customise_Validation
Definition: gemCustom.py:50