CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
postLS1CustomsPreMixing 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 postLS1CustomsPreMixing.customise_Digi (   process)

Definition at line 63 of file postLS1CustomsPreMixing.py.

References digiEventContent().

Referenced by customisePostLS1().

63 
64 def customise_Digi(process):
65  process=digiEventContent(process)
66  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
67  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'ho'):
68  process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
69  process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
70  process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
71  process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
72  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf1'):
73  process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
74  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf2'):
75  process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
76  return process
77 
def postLS1CustomsPreMixing.customise_DigiToRaw (   process)

Definition at line 86 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

86 
87 def customise_DigiToRaw(process):
88  return process
89 
def postLS1CustomsPreMixing.customise_DQM (   process)

Definition at line 51 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

51 
52 def customise_DQM(process):
53  #process.dqmoffline_step.remove(process.jetMETAnalyzer)
54  return process
55 
def postLS1CustomsPreMixing.customise_harvesting (   process)

Definition at line 99 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

99 
100 def customise_harvesting(process):
101  #process.dqmHarvesting.remove(process.jetMETDQMOfflineClient)
102  #process.dqmHarvesting.remove(process.dataCertificationJetMET)
103  #process.dqmHarvesting.remove(process.sipixelEDAClient)
104  #process.dqmHarvesting.remove(process.sipixelCertification)
105  return (process)
def postLS1CustomsPreMixing.customise_HLT (   process)

Definition at line 90 of file postLS1CustomsPreMixing.py.

References muonCustoms.customise_csc_hlt().

Referenced by customisePostLS1().

90 
91 def customise_HLT(process):
92  process=customise_csc_hlt(process)
93  return process
94 
def customise_csc_hlt
Definition: muonCustoms.py:295
def postLS1CustomsPreMixing.customise_L1Emulator (   process)

Definition at line 78 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

78 
79 def customise_L1Emulator(process):
80  return process
81 
def postLS1CustomsPreMixing.customise_RawToDigi (   process)

Definition at line 82 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

82 
83 def customise_RawToDigi(process):
84  return process
85 
def postLS1CustomsPreMixing.customise_Reco (   process)

Definition at line 95 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

95 
96 def customise_Reco(process):
97  return process
98 
def postLS1CustomsPreMixing.customise_Validation (   process)

Definition at line 56 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

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

Definition at line 7 of file postLS1CustomsPreMixing.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().

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 postLS1CustomsPreMixing.digiEventContent (   process)

Definition at line 35 of file postLS1CustomsPreMixing.py.

Referenced by customise_Digi().

35 
36 def digiEventContent(process):
37  #extend the event content
38 
39  alist=['RAWSIM','RAWDEBUG','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT','PREMIX','PREMIXRAW']
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 *_mixData_MuonCSCComparatorDigisDM_*')
46  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCStripDigisDM_*')
47  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCWireDigisDM_*')
48  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
49  return process
50 
def postLS1CustomsPreMixing.recoOutputCustoms (   process)

Definition at line 106 of file postLS1CustomsPreMixing.py.

107 def recoOutputCustoms(process):
108 
109  alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
110  for a in alist:
111  b=a+'output'
112  if hasattr(process,b):
113  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
114  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
115  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCComparatorDigisDM_*')
116  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCStripDigisDM_*')
117  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCWireDigisDM_*')
118  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
119  getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
120  return process
121