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_Sim
 
def customise_Validation
 
def customisePostLS1
 
def digiEventContent
 
def recoOutputCustoms
 

Function Documentation

def postLS1CustomsPreMixing.customise_Digi (   process)

Definition at line 70 of file postLS1CustomsPreMixing.py.

References digiEventContent().

Referenced by customisePostLS1().

70 
71 def customise_Digi(process):
72  process=digiEventContent(process)
73  if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
74  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'ho'):
75  process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
76  process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
77  process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
78  process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
79  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf1'):
80  process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
81  if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf2'):
82  process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
83  return process
84 
def postLS1CustomsPreMixing.customise_DigiToRaw (   process)

Definition at line 93 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

93 
94 def customise_DigiToRaw(process):
95  return process
96 
def postLS1CustomsPreMixing.customise_DQM (   process)

Definition at line 54 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

54 
55 def customise_DQM(process):
56  #process.dqmoffline_step.remove(process.jetMETAnalyzer)
57  return process
58 
def postLS1CustomsPreMixing.customise_harvesting (   process)

Definition at line 106 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

107 def customise_harvesting(process):
108  #process.dqmHarvesting.remove(process.jetMETDQMOfflineClient)
109  #process.dqmHarvesting.remove(process.dataCertificationJetMET)
110  #process.dqmHarvesting.remove(process.sipixelEDAClient)
111  #process.dqmHarvesting.remove(process.sipixelCertification)
112  return (process)
def postLS1CustomsPreMixing.customise_HLT (   process)

Definition at line 97 of file postLS1CustomsPreMixing.py.

References muonCustoms.customise_csc_hlt().

Referenced by customisePostLS1().

97 
98 def customise_HLT(process):
99  process=customise_csc_hlt(process)
100  return process
101 
def customise_csc_hlt
Definition: muonCustoms.py:280
def postLS1CustomsPreMixing.customise_L1Emulator (   process)

Definition at line 85 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

85 
86 def customise_L1Emulator(process):
87  return process
88 
def postLS1CustomsPreMixing.customise_RawToDigi (   process)

Definition at line 89 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

89 
90 def customise_RawToDigi(process):
91  return process
92 
def postLS1CustomsPreMixing.customise_Reco (   process)

Definition at line 102 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

103 def customise_Reco(process):
104  return process
105 
def postLS1CustomsPreMixing.customise_Sim (   process)

Definition at line 66 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

66 
67 def customise_Sim(process):
68  process.g4SimHits.HFShowerLibrary.FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en.root'
69  return process
def postLS1CustomsPreMixing.customise_Validation (   process)

Definition at line 59 of file postLS1CustomsPreMixing.py.

Referenced by customisePostLS1().

59 
60 def customise_Validation(process):
61  #process.validation_step.remove(process.PixelTrackingRecHitsValid)
62  # We don't run the HLT
63  #process.validation_step.remove(process.HLTSusyExoVal)
64  #process.validation_step.remove(process.hltHiggsValidator)
65  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(), customise_Sim(), 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,'g4SimHits'):
15  process=customise_Sim(process)
16  if hasattr(process,'DigiToRaw'):
17  process=customise_DigiToRaw(process)
18  if hasattr(process,'RawToDigi'):
19  process=customise_RawToDigi(process)
20  if hasattr(process,'reconstruction'):
21  process=customise_Reco(process)
22  if hasattr(process,'digitisation_step'):
23  process=customise_Digi(process)
24  if hasattr(process,'HLTSchedule'):
25  process=customise_HLT(process)
26  if hasattr(process,'L1simulation_step'):
27  process=customise_L1Emulator(process)
28  if hasattr(process,'dqmoffline_step'):
29  process=customise_DQM(process)
30  if hasattr(process,'dqmHarvesting'):
31  process=customise_harvesting(process)
32  if hasattr(process,'validation_step'):
33  process=customise_Validation(process)
34 
35  return process
36 
def customise_csc_PostLS1
Definition: muonCustoms.py:233
def postLS1CustomsPreMixing.digiEventContent (   process)

Definition at line 37 of file postLS1CustomsPreMixing.py.

Referenced by customise_Digi().

37 
38 def digiEventContent(process):
39  #extend the event content
40 
41 
42  alist=['RAWSIM','RAWDEBUG','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT','PREMIX','PREMIXRAW']
43  for a in alist:
44  b=a+'output'
45  if hasattr(process,b):
46  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
47  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
48  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCComparatorDigisDM_*')
49  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCStripDigisDM_*')
50  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCWireDigisDM_*')
51  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
52  return process
53 
def postLS1CustomsPreMixing.recoOutputCustoms (   process)

Definition at line 113 of file postLS1CustomsPreMixing.py.

114 def recoOutputCustoms(process):
115 
116  alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
117  for a in alist:
118  b=a+'output'
119  if hasattr(process,b):
120  getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
121  getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
122  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCComparatorDigisDM_*')
123  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCStripDigisDM_*')
124  getattr(process,b).outputCommands.append('keep *_mixData_MuonCSCWireDigisDM_*')
125  getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
126  getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
127  return process
128