CMS 3D CMS Logo

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

Functions

def customise_Digi
 
def customise_DigiToRaw
 
def customise_DQM
 
def customise_harvesting
 
def customise_HLT
 
def customise_L1Emulator
 
def customise_RawToDigi
 
def customise_Reco
 
def customise_Validation
 
def customisePostLS1
 
def digiEventContent
 
def recoOutputCustoms
 

Function Documentation

def postLS1Customs.customise_Digi (   process)

Definition at line 62 of file postLS1Customs.py.

References digiEventContent().

Referenced by customisePostLS1().

62 
63 def customise_Digi(process):
64  process=digiEventContent(process)
65  process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
66  process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
67  process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
68  process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
69  return process
70 
def postLS1Customs.customise_DigiToRaw (   process)

Definition at line 79 of file postLS1Customs.py.

Referenced by customisePostLS1().

79 
80 def customise_DigiToRaw(process):
81  return process
82 
def postLS1Customs.customise_DQM (   process)

Definition at line 49 of file postLS1Customs.py.

Referenced by customisePostLS1().

49 
50 def customise_DQM(process):
51  #process.dqmoffline_step.remove(process.jetMETAnalyzer)
52  return process
53 
def postLS1Customs.customise_harvesting (   process)

Definition at line 92 of file postLS1Customs.py.

Referenced by customisePostLS1().

92 
93 def customise_harvesting(process):
94  #process.dqmHarvesting.remove(process.jetMETDQMOfflineClient)
95  #process.dqmHarvesting.remove(process.dataCertificationJetMET)
96  #process.dqmHarvesting.remove(process.sipixelEDAClient)
97  #process.dqmHarvesting.remove(process.sipixelCertification)
98  return (process)
def postLS1Customs.customise_HLT (   process)

Definition at line 83 of file postLS1Customs.py.

References muonCustoms.customise_csc_hlt().

Referenced by customisePostLS1().

83 
84 def customise_HLT(process):
85  process=customise_csc_hlt(process)
86  return process
87 
def customise_csc_hlt
Definition: muonCustoms.py:295
def postLS1Customs.customise_L1Emulator (   process)

Definition at line 71 of file postLS1Customs.py.

Referenced by customisePostLS1().

71 
72 def customise_L1Emulator(process):
73  return process
74 
def postLS1Customs.customise_RawToDigi (   process)

Definition at line 75 of file postLS1Customs.py.

Referenced by customisePostLS1().

75 
76 def customise_RawToDigi(process):
77  return process
78 
def postLS1Customs.customise_Reco (   process)

Definition at line 88 of file postLS1Customs.py.

Referenced by customisePostLS1().

88 
89 def customise_Reco(process):
90  return process
91 
def postLS1Customs.customise_Validation (   process)

Definition at line 54 of file postLS1Customs.py.

Referenced by customisePostLS1().

54 
55 def customise_Validation(process):
56  #process.validation_step.remove(process.PixelTrackingRecHitsValid)
57  # We don't run the HLT
58  #process.validation_step.remove(process.HLTSusyExoVal)
59  #process.validation_step.remove(process.hltHiggsValidator)
60  return process
61 
def postLS1Customs.customisePostLS1 (   process)

Definition at line 7 of file postLS1Customs.py.

References muonCustoms.customise_csc_PostLS1(), customise_Digi(), customise_DigiToRaw(), customise_DQM(), customise_harvesting(), customise_HLT(), customise_L1Emulator(), customise_RawToDigi(), customise_Reco(), and customise_Validation().

Referenced by combinedCustoms.cust_2017(), combinedCustoms.cust_2019(), combinedCustoms.cust_phase2_BE(), combinedCustoms.cust_phase2_BE5D(), combinedCustoms.cust_phase2_LB4LPS_2L2S(), and combinedCustoms.cust_phase2_LB6PS().

7 
8 def customisePostLS1(process):
9 
10  # deal with CSC separately:
11  process = customise_csc_PostLS1(process)
12 
13  # all the rest:
14  if hasattr(process,'DigiToRaw'):
15  process=customise_DigiToRaw(process)
16  if hasattr(process,'RawToDigi'):
17  process=customise_RawToDigi(process)
18  if hasattr(process,'reconstruction'):
19  process=customise_Reco(process)
20  if hasattr(process,'digitisation_step'):
21  process=customise_Digi(process)
22  if hasattr(process,'HLTSchedule'):
23  process=customise_HLT(process)
24  if hasattr(process,'L1simulation_step'):
25  process=customise_L1Emulator(process)
26  if hasattr(process,'dqmoffline_step'):
27  process=customise_DQM(process)
28  if hasattr(process,'dqmHarvesting'):
29  process=customise_harvesting(process)
30  if hasattr(process,'validation_step'):
31  process=customise_Validation(process)
32 
33  return process
34 
def customise_csc_PostLS1
Definition: muonCustoms.py:248
def postLS1Customs.digiEventContent (   process)

Definition at line 35 of file postLS1Customs.py.

Referenced by customise_Digi().

35 
36 def digiEventContent(process):
37  #extend the event content
38 
39  alist=['RAWSIM','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT']
40  for a in alist:
41  b=a+'output'
42  if hasattr(process,b):
43  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
44  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
45  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
46 
47  return process
48 
def postLS1Customs.recoOutputCustoms (   process)

Definition at line 99 of file postLS1Customs.py.

99 
100 def recoOutputCustoms(process):
101 
102  alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
103  for a in alist:
104  b=a+'output'
105  if hasattr(process,b):
106  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
107  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
108  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
109  getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
110  return process
111