CMS 3D CMS Logo

Functions

postLS1Customs Namespace Reference

Functions

def customise_Digi
def customise_DigiToRaw
def customise_DQM
def customise_harvesting
def customise_HLT
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 54 of file postLS1Customs.py.

00055                            :
00056     #deal with csc
00057     process=digitizer_timing_pre3_median(process)
00058     process=digiEventContent(process)
00059     process.CSCIndexerESProducer.AlgoName=cms.string("CSCIndexerPostls1")
00060     process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")
00061     return process

def postLS1Customs::customise_DigiToRaw (   process)

Definition at line 65 of file postLS1Customs.py.

00066                                 :
00067     process.digi2raw_step.remove(process.cscpacker)
00068     return process
00069 

def postLS1Customs::customise_DQM (   process)

Definition at line 41 of file postLS1Customs.py.

00042                           :
00043     process.dqmoffline_step.remove(process.muonAnalyzer)
00044     process.dqmoffline_step.remove(process.jetMETAnalyzer)
00045     return process

def postLS1Customs::customise_harvesting (   process)

Definition at line 104 of file postLS1Customs.py.

00105                                  :
00106     process.dqmHarvesting.remove(process.jetMETDQMOfflineClient)
00107     process.dqmHarvesting.remove(process.dataCertificationJetMET)
00108     process.dqmHarvesting.remove(process.sipixelEDAClient)
00109     process.dqmHarvesting.remove(process.sipixelCertification)
00110     return (process)        

def postLS1Customs::customise_HLT (   process)

Definition at line 70 of file postLS1Customs.py.

00071                           :
00072     process.CSCGeometryESModule.useGangedStripsInME1a = False
00073 
00074     process.hltCsc2DRecHits.readBadChannels = cms.bool(False)
00075     process.hltCsc2DRecHits.CSCUseGasGainCorrection = cms.bool(False)
00076 
00077     # Switch input for CSCRecHitD to  s i m u l a t e d  digis
00078 
00079     process.hltCsc2DRecHits.wireDigiTag  = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi")
00080     process.hltCsc2DRecHits.stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi")
00081 
00082     return process

def postLS1Customs::customise_RawToDigi (   process)

Definition at line 62 of file postLS1Customs.py.

00063                                 :
00064     return process

def postLS1Customs::customise_Reco (   process)

Definition at line 83 of file postLS1Customs.py.

00084                            :
00085 
00086     # ME1/1A is  u n g a n g e d  Post-LS1
00087 
00088     process.CSCGeometryESModule.useGangedStripsInME1a = False
00089 
00090     # Turn off some flags for CSCRecHitD that are turned ON in default config
00091 
00092     process.csc2DRecHits.readBadChannels = cms.bool(False)
00093     process.csc2DRecHits.CSCUseGasGainCorrection = cms.bool(False)
00094 
00095     # Switch input for CSCRecHitD to  s i m u l a t e d  digis
00096 
00097     process.csc2DRecHits.wireDigiTag  = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigi")
00098     process.csc2DRecHits.stripDigiTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigi")
00099 
00100     process.CSCIndexerESProducer.AlgoName=cms.string("CSCIndexerPostls1")
00101     process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")
00102 
00103     return process

def postLS1Customs::customise_Validation (   process)

Definition at line 46 of file postLS1Customs.py.

00047                                  :
00048     process.validation_step.remove(process.PixelTrackingRecHitsValid)
00049     # We don't run the HLT
00050     process.validation_step.remove(process.HLTSusyExoVal)
00051     process.validation_step.remove(process.hltHiggsValidator)
00052     process.validation_step.remove(process.relvalMuonBits)
00053     return process

def postLS1Customs::customisePostLS1 (   process)

Definition at line 6 of file postLS1Customs.py.

00007                              :
00008     #move this first one to the geometry
00009     process=unganged_me1a_geometry(process)
00010     if hasattr(process,'DigiToRaw'):
00011         process=customise_DigiToRaw(process)
00012     if hasattr(process,'RawToDigi'):
00013         process=customise_RawToDigi(process)
00014     if hasattr(process,'reconstruction'):
00015         process=customise_Reco(process)
00016     if hasattr(process,'digitisation_step'):
00017         process=customise_Digi(process)
00018     if hasattr(process,'dqmoffline_step'):
00019         process=customise_DQM(process)
00020     if hasattr(process,'dqmHarvesting'):
00021         process=customise_harvesting(process)
00022     if hasattr(process,'validation_step'):
00023         process=customise_Validation(process)
00024 
00025     return process
00026                                                                                                 
00027 

def postLS1Customs::digiEventContent (   process)

Definition at line 28 of file postLS1Customs.py.

00029                              :
00030     #extend the event content
00031 
00032     alist=['RAWSIM','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT']
00033     for a in alist:
00034         b=a+'output'
00035         if hasattr(process,b):
00036             getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
00037             getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
00038             getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
00039 
00040     return process    

def postLS1Customs::recoOutputCustoms (   process)

Definition at line 111 of file postLS1Customs.py.

00112                               :
00113 
00114     alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
00115     for a in alist:
00116         b=a+'output'
00117         if hasattr(process,b):
00118             getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
00119             getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
00120             getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
00121             getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
00122     return process
00123 
00124