From 1303d5cb8a4e76c01c16829dfdd0b8b6e4b9d09b Mon Sep 17 00:00:00 2001 From: Norraphat Date: Sat, 20 Aug 2022 16:27:28 +0200 Subject: [PATCH 1/5] disable L1TrackTrigger in PixelNtuple unit test --- .../Geometry/test/phase2_digi_reco_pixelntuple_cfg.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py index 94bc992bc5def..19f58b87e01dc 100644 --- a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py @@ -19,7 +19,7 @@ process.load('Configuration.StandardSequences.DigiToRaw_cff') process.load('HLTrigger.Configuration.HLT_Fake2_cff') process.load('Configuration.StandardSequences.RawToDigi_cff') -process.load('Configuration.StandardSequences.L1Reco_cff') +#process.load('Configuration.StandardSequences.L1Reco_cff') process.load('Configuration.StandardSequences.Reconstruction_cff') process.load('Configuration.StandardSequences.EndOfProcess_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') @@ -101,10 +101,9 @@ # Path and EndPath definitions process.digitisation_step = cms.Path(process.pdigi_valid) process.L1simulation_step = cms.Path(process.SimL1Emulator) -process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) +#process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) process.digi2raw_step = cms.Path(process.DigiToRaw) process.raw2digi_step = cms.Path(process.RawToDigi) -process.L1Reco_step = cms.Path(process.L1Reco) process.reconstruction_step = cms.Path(process.reconstruction) process.user_step = cms.Path(process.TrackRefitter * process.ReadLocalMeasurement * process.mcverticesanalyzer) process.endjob_step = cms.EndPath(process.endOfProcess) @@ -114,9 +113,9 @@ # process.schedule imported from cff in HLTrigger.Configuration process.schedule.insert(0, process.digitisation_step) process.schedule.insert(1, process.L1simulation_step) -process.schedule.insert(2, process.L1TrackTrigger_step) -process.schedule.insert(3, process.digi2raw_step) -process.schedule.extend([process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.user_step,process.endjob_step]) +#process.schedule.insert(2, process.L1TrackTrigger_step) +process.schedule.insert(2, process.digi2raw_step) +process.schedule.extend([process.raw2digi_step,process.reconstruction_step,process.user_step,process.endjob_step]) from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask associatePatAlgosToolsTask(process) From 5080302437a96c38cf84a23e10c5deb47f8d9c84 Mon Sep 17 00:00:00 2001 From: Norraphat Date: Sat, 20 Aug 2022 16:59:45 +0200 Subject: [PATCH 2/5] add comment --- .../Geometry/test/phase2_digi_reco_pixelntuple_cfg.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py index 19f58b87e01dc..baa9d31cbd2dc 100644 --- a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py @@ -19,7 +19,6 @@ process.load('Configuration.StandardSequences.DigiToRaw_cff') process.load('HLTrigger.Configuration.HLT_Fake2_cff') process.load('Configuration.StandardSequences.RawToDigi_cff') -#process.load('Configuration.StandardSequences.L1Reco_cff') process.load('Configuration.StandardSequences.Reconstruction_cff') process.load('Configuration.StandardSequences.EndOfProcess_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') @@ -101,7 +100,7 @@ # Path and EndPath definitions process.digitisation_step = cms.Path(process.pdigi_valid) process.L1simulation_step = cms.Path(process.SimL1Emulator) -#process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) +#process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) #needs to be re-inserted process.digi2raw_step = cms.Path(process.DigiToRaw) process.raw2digi_step = cms.Path(process.RawToDigi) process.reconstruction_step = cms.Path(process.reconstruction) @@ -113,7 +112,7 @@ # process.schedule imported from cff in HLTrigger.Configuration process.schedule.insert(0, process.digitisation_step) process.schedule.insert(1, process.L1simulation_step) -#process.schedule.insert(2, process.L1TrackTrigger_step) +#process.schedule.insert(2, process.L1TrackTrigger_step) #needs to be re-inserted process.schedule.insert(2, process.digi2raw_step) process.schedule.extend([process.raw2digi_step,process.reconstruction_step,process.user_step,process.endjob_step]) from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask From 4a94bddc44247d288cd89a615f515cacf0e940a6 Mon Sep 17 00:00:00 2001 From: Norraphat Date: Sun, 21 Aug 2022 01:35:30 +0200 Subject: [PATCH 3/5] drop input --- .../Geometry/test/phase2_digi_reco_pixelntuple_cfg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py index baa9d31cbd2dc..d40b29a7170a9 100644 --- a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py @@ -28,8 +28,13 @@ ) process.source = cms.Source("PoolSource", + dropDescendantsOfDroppedBranches = cms.untracked.bool(False), #to be fixed when the new INPUT is available fileNames = cms.untracked.vstring( '/store/relval/CMSSW_11_2_0_pre8/RelValSingleMuPt10/GEN-SIM-RECO/112X_mcRun4_realistic_v3_2026D49noPU-v1/00000/007d817e-9c59-4dec-959b-0f227942cdf0.root' + ), + inputCommands = cms.untracked.vstring( #to be fixed when the new INPUT is available + 'keep *', + 'drop l1tTkPrimaryVertexs_*_*_*' ) ) From 659f85f113a8e0eb38a279bc15df77447f2f23a0 Mon Sep 17 00:00:00 2001 From: Norraphat Date: Sun, 21 Aug 2022 12:55:08 +0200 Subject: [PATCH 4/5] put back L1TrackTrigger --- .../Geometry/test/phase2_digi_reco_pixelntuple_cfg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py index d40b29a7170a9..a61eed46022ba 100644 --- a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py @@ -105,7 +105,7 @@ # Path and EndPath definitions process.digitisation_step = cms.Path(process.pdigi_valid) process.L1simulation_step = cms.Path(process.SimL1Emulator) -#process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) #needs to be re-inserted +process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) process.digi2raw_step = cms.Path(process.DigiToRaw) process.raw2digi_step = cms.Path(process.RawToDigi) process.reconstruction_step = cms.Path(process.reconstruction) @@ -117,8 +117,8 @@ # process.schedule imported from cff in HLTrigger.Configuration process.schedule.insert(0, process.digitisation_step) process.schedule.insert(1, process.L1simulation_step) -#process.schedule.insert(2, process.L1TrackTrigger_step) #needs to be re-inserted -process.schedule.insert(2, process.digi2raw_step) +process.schedule.insert(2, process.L1TrackTrigger_step) +process.schedule.insert(3, process.digi2raw_step) process.schedule.extend([process.raw2digi_step,process.reconstruction_step,process.user_step,process.endjob_step]) from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask associatePatAlgosToolsTask(process) From 4b0fa02fe6d619e25df70c9736390082eec71246 Mon Sep 17 00:00:00 2001 From: Norraphat Date: Tue, 23 Aug 2022 18:30:46 +0200 Subject: [PATCH 5/5] change to SingleMu gun GEN-SIM --- .../Geometry/test/phase2_digi_reco_pixelntuple_cfg.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py index a61eed46022ba..ff6c957046537 100644 --- a/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/phase2_digi_reco_pixelntuple_cfg.py @@ -28,13 +28,8 @@ ) process.source = cms.Source("PoolSource", - dropDescendantsOfDroppedBranches = cms.untracked.bool(False), #to be fixed when the new INPUT is available fileNames = cms.untracked.vstring( - '/store/relval/CMSSW_11_2_0_pre8/RelValSingleMuPt10/GEN-SIM-RECO/112X_mcRun4_realistic_v3_2026D49noPU-v1/00000/007d817e-9c59-4dec-959b-0f227942cdf0.root' - ), - inputCommands = cms.untracked.vstring( #to be fixed when the new INPUT is available - 'keep *', - 'drop l1tTkPrimaryVertexs_*_*_*' + '/store/relval/CMSSW_11_2_0_pre1/RelValSingleMuPt10/GEN-SIM/110X_mcRun4_realistic_v3_2026D49noPU-v1/10000/743B02CC-F5B9-5642-A7EF-EE222E18C54F.root' ) )