Phase2 Muon TDR Dark SUSY Sample Production


Introduction

This page provides recipes for how to run CMSSW-based full simulation of dark SUSY processes with GEM detectors included for Muon TDR

See https://twiki.cern.ch/twiki/bin/view/CMS/PdmVMCcampaignPhaseIITDRSpring17 for instructions!!!!

The bullet color coding is the following:


Red led --> PENDING

Yellow led --> IN PROGRESS

Green led --> DONE

Things that are not clear yet are highlighted in RED.

Linux shell commands are highlighted in YELLOW


Linux shell output is highlighted in AQUA (blue)


Python code is highlighted in LIME (green)

LHE Samples

Available cTaus: 0mm, 10mm, 100mm, 1000mm

https://github.com/gem-sw/Phase2MuonTDR_DarkSUSY_mH_125_mGammaD_20000

Instructions

Setup

Private production


cmsrel CMSSW_9_1_1_patch1
cd CMSSW_9_1_1_patch1/src
cmsenv
git cms-init
#git cms-merge-topic tahuang1991:from-CMSSW_9_1_0_pre3-ILT
#git cms-merge-topic skinnari:Tracklet_91X
git cms-merge-topic dildick:from-CMSSW_9_1_1_patch1-ILT-Tracklet_91X
git clone git@github.com:gem-sw/GEMCode.git
## other option: git clone https://github.com/gem-sw/GEMCode.git
cd GEMCode 
git checkout -b for-CMSSW-91X origin/for-CMSSW-91X
cd ../
git clone git@github.com:gem-sw/Phase2MuonTDR_DarkSUSY_mH_125_mGammaD_20000.git
## other option: git clone https://github.com/gem-sw/Phase2MuonTDR_DarkSUSY_mH_125_mGammaD_20000.git
scram b -j 9

cd Phase2MuonTDR_DarkSUSY_mH_125_mGammaD_20000/DarkSUSY_LHE/

## unpack tarballs
tar -xzvf DarkSUSY_mH_125_mGammaD_20_14TeV_cT_0_madgraph452_bridge224_events100k.lhe.tar.gz
tar -xzvf DarkSUSY_mH_125_mGammaD_20_14TeV_cT_1000_madgraph452_bridge224_events100k.lhe.tar.gz
tar -xzvf DarkSUSY_mH_125_mGammaD_20_14TeV_cT_100_madgraph452_bridge224_events100k.lhe.tar.gz
tar -xzvf DarkSUSY_mH_125_mGammaD_20_14TeV_cT_10_madgraph452_bridge224_events100k.lhe.tar.gz

## copy the LHE files to the top directory
mv DarkSUSY_mH_125_mGammaD_20_14TeV_cT_0_madgraph452_bridge224_events100k.lhe ../../
mv DarkSUSY_mH_125_mGammaD_20_14TeV_cT_1000_madgraph452_bridge224_events100k.lhe ../../
mv DarkSUSY_mH_125_mGammaD_20_14TeV_cT_100_madgraph452_bridge224_events100k.lhe ../../
mv DarkSUSY_mH_125_mGammaD_20_14TeV_cT_10_madgraph452_bridge224_events100k.lhe ../../

cd ../../

## make GEN-SIM crab files

Central production


cmsrel CMSSW_9_1_1_patch1
cd CMSSW_9_1_1_patch1/src
cmsenv
git cms-init
git clone git@github.com:gem-sw/GEMCode.git
scram b -j 9


cmsrel CMSSW_9_3_0_pre2
cd CMSSW_9_3_0_pre2/src
cmsenv
git cms-init
## git cms-merge-topic tahuang1991:from-CMSSW_9_1_0_pre3-ILT
## git cms-merge-topic sviret:Stub_builder_9_3_X already included in the branch below!!
## git cms-merge-topic skinnari:Tracklet_93X
## the branches above + track muon definition included in the branch below:
git cms-merge-topic dildick:from-CMSSW_9_3_0_pre2-track-muon-object
git clone git@github.com:gem-sw/GEMCode.git
## other option: git clone https://github.com/gem-sw/GEMCode.git
cd GEMCode 
git checkout -b for-CMSSW-91X origin/for-CMSSW-91X
cd ../
scram b -j 9

from WMCore.Configuration import Configuration
config = Configuration()
config.section_('General')
config.General.workArea = 'crab_projects'
config.General.transferOutputs = True
config.General.transferLogs = True
config.General.requestName = 'DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_GEN_SIM'
config.section_('JobType')
config.JobType.numCores = 4
config.JobType.pluginName = 'PrivateMC'
config.JobType.psetName = 'DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_madgraph452_bridge224_events100k_cfi_GEN_SIM.py'
config.JobType.inputFiles = ['DarkSUSY_mH_125_mGammaD_20_14TeV_cT_0_madgraph452_bridge224_events100k.lhe']
config.section_('Data')
config.Data.outputPrimaryDataset = 'DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV'
config.Data.outputDatasetTag = config.General.requestName
config.Data.publication = True
config.Data.unitsPerJob = 100
config.Data.totalUnits = 100000
config.Data.inputDBS = 'phys03'
config.Data.splitting = 'EventBased'
config.Data.outLFNDirBase = '/store/user/dildick/'
config.section_('Site')
config.Site.storageSite = 'T3_US_FNALLPC'
config.section_('User')
config.section_('Debug')
config.JobType.allowUndistributedCMSSW = True

GEN-SIM

DarkSUSY

cmsDriver.py GEMCode/GEMValidation/Pythia8HadronizerFilter_14TeV_cfi \
--conditions 91X_upgrade2023_realistic_v3 -n 10 \
--era Phase2C2_timing \
--eventcontent FEVTDEBUG  \
-s GEN,SIM --datatier GEN-SIM \
--beamspot HLLHC14TeV \
--filetype LHE \
--filein file:DarkSUSY_mH_125_mGammaD_20_14TeV_cT_0_madgraph452_bridge224_events100k.lhe \
--python_filename DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_madgraph452_bridge224_events100k_cfi_GEN_SIM.py \
--geometry Extended2023D17 \
--nThreads 4 \
--no_exec --fileout file:step1.root

cmsDriver.py GEMCode/GEMValidation/Pythia8HadronizerFilter_14TeV_cfi \
--conditions 91X_upgrade2023_realistic_v3 -n 10 \
--era Phase2C2_timing \
--eventcontent FEVTDEBUG  \
-s GEN,SIM --datatier GEN-SIM \
--beamspot HLLHC14TeV \
--filetype LHE \
--filein file:DarkSUSY_mH_125_mGammaD_20_14TeV_cT_10_madgraph452_bridge224_events100k.lhe \
--python_filename DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_madgraph452_bridge224_events100k_cfi_GEN_SIM.py \
--geometry Extended2023D17 \
--nThreads 4 \
--no_exec --fileout file:step1.root

cmsDriver.py GEMCode/GEMValidation/Pythia8HadronizerFilter_14TeV_cfi \
--conditions 91X_upgrade2023_realistic_v3 -n 10 \
--era Phase2C2_timing \
--eventcontent FEVTDEBUG  \
-s GEN,SIM --datatier GEN-SIM \
--beamspot HLLHC14TeV \
--filetype LHE \
--filein file:DarkSUSY_mH_125_mGammaD_20_14TeV_cT_100_madgraph452_bridge224_events100k.lhe \
--python_filename DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_madgraph452_bridge224_events100k_cfi_GEN_SIM.py \
--geometry Extended2023D17 \
--nThreads 4 \
--no_exec --fileout file:step1.root

cmsDriver.py GEMCode/GEMValidation/Pythia8HadronizerFilter_14TeV_cfi \
--conditions 91X_upgrade2023_realistic_v3 -n 10 \
--era Phase2C2_timing \
--eventcontent FEVTDEBUG  \
-s GEN,SIM --datatier GEN-SIM \
--beamspot HLLHC14TeV \
--filetype LHE \
--filein file:DarkSUSY_mH_125_mGammaD_20_14TeV_cT_1000_madgraph452_bridge224_events100k.lhe \
--python_filename DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_madgraph452_bridge224_events100k_cfi_GEN_SIM.py \
--geometry Extended2023D17 \
--nThreads 4 \
--no_exec --fileout file:step1.root

Neutrinos Gun

cmsDriver.py GEMCode/GEMPhysics/SingleNuPt5-40_cff \
--conditions 91X_upgrade2023_realistic_v3 -n 10 \
--era Phase2C2_timing \
--eventcontent FEVTDEBUG  \
-s GEN,SIM --datatier GEN-SIM \
--beamspot HLLHC14TeV \
--nThreads 4 \
--python_filename SingleNu_cfi_GEN_SIM.py \
--geometry Extended2023D17 \
--no_exec --fileout file:step1.root


Muon Gun

cmsDriver.py GEMCode/GEMValidation/SingleMuPt2_50Fwd_cfi \
-s GEN,SIM \
--era Phase2C2_timing \
--datatier GEN-SIM \
--beamspot HLLHC14TeV \
--eventcontent FEVTDEBUG \
--conditions 91X_upgrade2023_realistic_v3 \
--geometry Extended2023D17 \
--nThreads 4 \
-n 10 \
--no_exec \
--fileout out_sim.root

cmsDriver.py TenMuExtendedE_0_200_pythia8_cfi \
-s GEN,SIM \
--era Phase2C2_timing \
--datatier GEN-SIM \
--beamspot HLLHC14TeV \
--eventcontent FEVTDEBUG \
--conditions 91X_upgrade2023_realistic_v3 \
--geometry Extended2023D17 \
--nThreads 4 \
-n 10 \
--no_exec \
--fileout out_sim.root

DIGI PU0


cmsDriver.py step2 \
--conditions 91X_upgrade2023_realistic_v3 \
-n 10 --era Phase2C2_timing \
--eventcontent FEVTDEBUGHLT \
-s DIGI:pdigi_valid,L1 \
--datatier GEN-SIM-DIGI-RAW \
--geometry Extended2023D17 \
--python DigiFullPU0_2023tiltedPU.py \
--no_exec \
--nThreads 4 \
--filein file:step1.root \
--fileout file:step2.root


DIGI PU200 (With TrackTrigger included by default)

https://docs.google.com/spreadsheets/d/1wEF2r7TEb9ZFoYjXd3OAtP1dLNwk12_SMlaFl6Nxpp4/edit#gid=1632282550


cmsDriver.py step2 \
--conditions 91X_upgrade2023_realistic_v3 \
--customise_commands 'process.L1TrackTrigger=cms.Sequence(process.TTClustersFromPhase2TrackerDigis); process.source.inputCommands.append("keep *_genParticles_*_*"); process.FEVTDEBUGHLToutput.outputCommands.extend(["keep *_genParticles_*_*", "drop *_*_TrackerHits*_*", "drop *_mix_*_*", "drop *_simSiPixelDigis_*_*", "drop *_simSiStripDigis_*_*", "drop *_simCalo*_*_*", "drop *_simEcal*_*_*", "drop *_simHcal*_*_*", "drop PCaloHits_g4SimHits_*_*"]); process.mix.minBunch = cms.int32(-8); process.mix.maxBunch = cms.int32(8)' \
-n 10 --era Phase2C2_timing \
--eventcontent FEVTDEBUGHLT \
-s DIGI:pdigi_valid,L1,L1TrackTrigger \
--datatier GEN-SIM-DIGI-RAW \
--pileup AVE_200_BX_25ns \
--pileup_input=file:MinBias_MUO_PhaseIITDRSpring17GS.root \
--nThreads 4 \
--geometry Extended2023D17 \
--python DIGI_L1_L1Track_PU200_D17_91X_upgrade2023_realistic_v3.py \
--no_exec \
--filein file:out_sim.root \
--fileout file:out_digi_l1_l1cluster.root


ReL1 + TT cluster + TT track


cmsRun GEMCode/GEMValidation/python/MuonTDRConfig_L1_L1Track_ME0_L1TrkMu_20170728.py

GEN-SIM Samples

  • /MinBias_TuneCUETP8M1_14TeV-pythia8/PhaseIITDRSpring17GS-91X_upgrade2023_realistic_v2-v1/GEN-SIM (20M events)

Dark SUSY GEN-SIM is done (at least 90% for 100k events each)

  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_GEN_SIM-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_GEN_SIM-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_GEN_SIM-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_GEN_SIM-deab67c00d28765e8f91972edc75ad9f/USER

  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_GEN_SIM_v2-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_GEN_SIM_v2-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_GEN_SIM_v2-deab67c00d28765e8f91972edc75ad9f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_GEN_SIM_v2-deab67c00d28765e8f91972edc75ad9f/USER

Neutrino gun GEN-SIM (at least 96% for 250k events)

  • /SingleNu/dildick-SingleNu_GEN_SIM_v2-71f15e24639a12f4b2381f2cfbfa12db/USER

Muon gun GEN-SIM (at least 93% for 200k events)

  • /SingleMu/dildick-SingleMu_GEN_SIM-c0c561fe92099b2fec0ed9787e37c69c/USER

DIGI-L1-TTCluster Samples

  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_DIGI_L1_TTCluster-66e47fdd85e75a09d4c0cb65b466bc9b/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_DIGI_L1_TTCluster-66e47fdd85e75a09d4c0cb65b466bc9b/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_DIGI_L1_TTCluster-66e47fdd85e75a09d4c0cb65b466bc9b/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_DIGI_L1_TTCluster-66e47fdd85e75a09d4c0cb65b466bc9b/USER

  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER

To get Rate sample with ME0, rerun the DIGI-L1 step with PU200 (40M minbias input) on GEN-SIM dataset

  • /SingleNu_91X_200k_FlatPt05_50_phase2_realistic_Extended2023D4_GEN_SIM_v3/tahuang-SingleNu_91X_200k_FlatPt05_50_phase2_realistic_Extended2023D4_GEN_SIM_v3-2a807f29201d529b277fe69248391d9c/USER

Rates:

  • /SingleNu_91X_200k_FlatPt05_50_phase2_realistic_Extended2023D4_GEN_SIM_v3/dildick-SingleNu_DIGI_L1_L1Track_ME0_PU200_20170721_v2-331188e35dae67147f21a5534330e487/USER
  • /SingleNu_91X_200k_FlatPt05_50_phase2_realistic_Extended2023D4_GEN_SIM_v3/dildick-SingleNu_DIGI_L1_L1Track_ME0_PU200_20170721_noGE21-fab3b6dcce78bcd2c2b2832f425b4a83/USER

ReL1-TT-stub-TT-track-L1TkMu

  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER

  • /DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_0_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_10_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_100_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER
  • /DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV/dildick-DarkSUSY_mH_125_mGammaD_20_cT_1000_14TeV_DIGI_L1_TTCluster_noGE21-76ea5fc67d7efdb7a348378d72fa2975/USER

Central GEN-SIM

  • /Nu_E10-v1-pythia8-gun/PhaseIITDRSpring17GS-91X_upgrade2023_realistic_v3-v1/GEN-SIM
  • /DisplacedMuons_Pt2to50_Dxy0to500-v1-pythia8-gun/PhaseIITDRSpring17GS-91X_upgrade2023_realistic_v3-v1/GEN-SIM
  • /TenMu_E0to50-pythia8-gun/PhaseIITDRSpring17GS-91X_upgrade2023_realistic_v3-v1/GEN-SIM

Central DIGI-RAW

  • /Nu_E10-v1-pythia8-gun/PhaseIISummer17D-PU200BX8Slim_91X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
  • /DisplacedMuons_Pt2to50_Dxy0to500-v1-pythia8-gun/PhaseIISummer17D-PU200BX8Slim_91X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
  • /TenMu_E0to50-pythia8-gun/PhaseIISummer17D-PU200BX8Slim_91X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW

Private TT track

  • /Nu_E10-v1-pythia8-gun/dildick-NuE10_v1_pythia8_gun_14TeV_ReL1_TT_TkMu_v3-0f078b2b993e7733bfd5bebbc1b4516f/USER
  • /DisplacedMuons_Pt2to50_Dxy0to500-v1-pythia8-gun/dildick-DisplacedMuPt2to50_v1_pythia8_gun_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER
  • /TenMu_E0to50-pythia8-gun/dildick-TenMuE0to50_v1_pythia8_gun_14TeV_ReL1_TT_TkMu-0f078b2b993e7733bfd5bebbc1b4516f/USER

-- SvenDildick - 2017-07-19

Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r20 - 2017-11-14 - SvenDildick
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback