CMS 3D CMS Logo

Functions

postLS1Customs Namespace Reference

Functions

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

00050                            :
00051     #deal with csc
00052     process=digitizer_timing_pre3_median(process)
00053     process=digiEventContent(process)
00054     process.CSCIndexerESProducer.AlgoName=cms.string("CSCIndexerPostls1")
00055     process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")
00056     return process

def postLS1Customs::customise_DigiToRaw (   process)

Definition at line 60 of file postLS1Customs.py.

00061                                 :
00062     process.digi2raw_step.remove(process.cscpacker)
00063     return process
00064 

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_HLT (   process)

Definition at line 65 of file postLS1Customs.py.

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

def postLS1Customs::customise_RawToDigi (   process)

Definition at line 57 of file postLS1Customs.py.

00058                                 :
00059     return process

def postLS1Customs::customise_Reco (   process)

Definition at line 78 of file postLS1Customs.py.

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

def postLS1Customs::customise_Validation (   process)

Definition at line 46 of file postLS1Customs.py.

00047                                  :
00048     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 99 of file postLS1Customs.py.

00100                               :
00101 
00102     alist=['AODSIM','RECOSIM','FEVTSIM','FEVTDEBUG','FEVTDEBUGHLT','RECODEBUG','RAWRECOSIMHLT','RAWRECODEBUGHLT']
00103     for a in alist:
00104         b=a+'output'
00105         if hasattr(process,b):
00106             getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
00107             getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
00108             getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
00109             getattr(process,b).outputCommands.append('keep *_rawDataCollector_*_*')
00110     return process
00111 
00112