Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DQM commands to the run2 era #7730

Merged
merged 2 commits into from Feb 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion DQM/L1TMonitor/python/L1TCSCTF_cfi.py
Expand Up @@ -14,4 +14,8 @@
disableROOToutput = cms.untracked.bool(True)
)


#
# Make changes for running in Run 2
#
from Configuration.StandardSequences.Eras import eras
eras.run2.toModify( l1tCsctf, gangedME11a = False )
57 changes: 0 additions & 57 deletions SLHCUpgradeSimulations/Configuration/python/postLS1Customs.py
Expand Up @@ -104,70 +104,13 @@ def customiseRun2EraExtras(process):
from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_25ns
process = customiseSimL1EmulatorForPostLS1_25ns(process)

# deal with FastSim separately:
if hasattr(process,'famosSimHits'):
# enable 2015 HF shower library
process.famosSimHits.Calorimetry.HFShowerLibrary.useShowerLibrary = True

# change default parameters
process.famosSimHits.ParticleFilter.pTMin = 0.1
process.famosSimHits.TrackerSimHits.pTmin = 0.1
process.famosSimHits.ParticleFilter.etaMax = 5.300

from FastSimulation.PileUpProducer.PileUpFiles_cff import fileNames_13TeV
process.genMixPileUpFiles = cms.PSet(fileNames = fileNames_13TeV)
if hasattr(process,'famosPileUp'):
if hasattr(process.famosPileUp,"PileUpSimulator"):
process.famosPileUp.PileUpSimulator.fileNames = fileNames_13TeV

# all the rest:
if hasattr(process,'reconstruction'):
#lowering HO threshold with SiPM
for prod in process.particleFlowRecHitHO.producers:
prod.qualityTests = cms.VPSet(
cms.PSet(
name = cms.string("PFRecHitQTestThreshold"),
threshold = cms.double(0.05) # new threshold for SiPM HO
),
cms.PSet(
name = cms.string("PFRecHitQTestHCALChannel"),
maxSeverities = cms.vint32(11),
cleaningThresholds = cms.vdouble(0.0),
flags = cms.vstring('Standard')
)
)
#Lower Thresholds also for Clusters!!!

for p in process.particleFlowClusterHO.seedFinder.thresholdsByDetector:
p.seedingThreshold = cms.double(0.08)

for p in process.particleFlowClusterHO.initialClusteringStep.thresholdsByDetector:
p.gatheringThreshold = cms.double(0.05)

for p in process.particleFlowClusterHO.pfClusterBuilder.recHitEnergyNorms:
p.recHitEnergyNorm = cms.double(0.05)

process.particleFlowClusterHO.pfClusterBuilder.positionCalc.logWeightDenominator = cms.double(0.05)
process.particleFlowClusterHO.pfClusterBuilder.allCellsPositionCalc.logWeightDenominator = cms.double(0.05)

if hasattr(process,'digitisation_step'):
alist=['RAWSIM','RAWDEBUG','FEVTDEBUG','FEVTDEBUGHLT','GENRAW','RAWSIMHLT','FEVT','PREMIX','PREMIXRAW']
for a in alist:
b = a + 'output'
if hasattr(process,b):
getattr(process,b).outputCommands.append('keep *_simMuonCSCDigis_*_*')
getattr(process,b).outputCommands.append('keep *_simMuonRPCDigis_*_*')
getattr(process,b).outputCommands.append('keep *_simHcalUnsuppressedDigis_*_*')
if hasattr(process,'mix') and hasattr(process.mix,'digitizers'):
if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'ho'):
process.mix.digitizers.hcal.ho.photoelectronsToAnalog = cms.vdouble([4.0]*16)
process.mix.digitizers.hcal.ho.siPMCode = cms.int32(1)
process.mix.digitizers.hcal.ho.pixels = cms.int32(2500)
process.mix.digitizers.hcal.ho.doSiPMSmearing = cms.bool(False)
if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf1'):
process.mix.digitizers.hcal.hf1.samplingFactor = cms.double(0.60)
if hasattr(process.mix.digitizers,'hcal') and hasattr(process.mix.digitizers.hcal,'hf2'):
process.mix.digitizers.hcal.hf2.samplingFactor = cms.double(0.60)
if hasattr(process,'dqmoffline_step'):
process.l1tCsctf.gangedME11a = cms.untracked.bool(False)

Expand Down