# Auto generated configuration file
# using: 
# Revision: 1.19 
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
# with command line options: Configuration/GenProduction/python/SUS-RunIISummer20UL16pLHEGEN-00005-fragment.py --python_filename SUS-RunIISummer20UL16pLHEGEN-00005_2_cfg.py --eventcontent RAWSIM --customise Configuration/DataProcessing/Utils.addMonitoring --datatier GEN --fileout file:SUS-RunIISummer20UL16pLHEGEN-00005.root --conditions 106X_mcRun2_asymptotic_v13 --beamspot Realistic25ns13TeV2016Collision --step GEN --geometry DB:Extended --filein file:SUS-RunIISummer20UL16pLHEGEN-00005_0.root --era Run2_2016 --no_exec --mc -n 10000
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Run2_2016_cff import Run2_2016

process = cms.Process('GEN',Run2_2016)

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Generator_cff')
process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic25ns13TeV2016Collision_cfi')
process.load('GeneratorInterface.Core.genFilterSummary_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(10000)
)

# Input source
process.source = cms.Source("PoolSource",
    dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
    fileNames = cms.untracked.vstring('file:SUS-RunIISummer20UL16pLHEGEN-00005_0.root'),
    inputCommands = cms.untracked.vstring(
        'keep *', 
        'drop LHEXMLStringProduct_*_*_*'
    ),
    secondaryFileNames = cms.untracked.vstring()
)

process.options = cms.untracked.PSet(

)

# Production Info
process.configurationMetadata = cms.untracked.PSet(
    annotation = cms.untracked.string('Configuration/GenProduction/python/SUS-RunIISummer20UL16pLHEGEN-00005-fragment.py nevts:10000'),
    name = cms.untracked.string('Applications'),
    version = cms.untracked.string('$Revision: 1.19 $')
)

# Output definition

process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('generation_step')
    ),
    compressionAlgorithm = cms.untracked.string('LZMA'),
    compressionLevel = cms.untracked.int32(1),
    dataset = cms.untracked.PSet(
        dataTier = cms.untracked.string('GEN'),
        filterName = cms.untracked.string('')
    ),
    eventAutoFlushCompressedSize = cms.untracked.int32(20971520),
    fileName = cms.untracked.string('file:SUS-RunIISummer20UL16pLHEGEN-00005.root'),
    outputCommands = process.RAWSIMEventContent.outputCommands,
    splitLevel = cms.untracked.int32(0)
)

# Additional output definition

# Other statements
process.genstepfilter.triggerConditions=cms.vstring("generation_step")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, '106X_mcRun2_asymptotic_v13', '')

process.generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter",
    PythiaParameters = cms.PSet(
        parameterSets = cms.vstring(
            'pythia8CommonSettings', 
            'pythia8CP5Settings', 
            'pythia8aMCatNLOSettings', 
            'processParameters'
        ),
        processParameters = cms.vstring(
            'Main:timesAllowErrors = 10000', 
            'ParticleDecays:limitTau0 = on', 
            'ParticleDecays:tau0Max = 10', 
            'Check:epTolErr = 0.01', 
            'SLHA:keepSM = on', 
            'SLHA:minMassSM = 10.', 
            'TimeShower:nPartonsInBorn = 0'
        ),
        pythia8CP5Settings = cms.vstring(
            'Tune:pp 14', 
            'Tune:ee 7', 
            'MultipartonInteractions:ecmPow=0.03344', 
            'MultipartonInteractions:bProfile=2', 
            'MultipartonInteractions:pT0Ref=1.41', 
            'MultipartonInteractions:coreRadius=0.7634', 
            'MultipartonInteractions:coreFraction=0.63', 
            'ColourReconnection:range=5.176', 
            'SigmaTotal:zeroAXB=off', 
            'SpaceShower:alphaSorder=2', 
            'SpaceShower:alphaSvalue=0.118', 
            'SigmaProcess:alphaSvalue=0.118', 
            'SigmaProcess:alphaSorder=2', 
            'MultipartonInteractions:alphaSvalue=0.118', 
            'MultipartonInteractions:alphaSorder=2', 
            'TimeShower:alphaSorder=2', 
            'TimeShower:alphaSvalue=0.118', 
            'SigmaTotal:mode = 0', 
            'SigmaTotal:sigmaEl = 21.89', 
            'SigmaTotal:sigmaTot = 100.309', 
            'PDF:pSet=LHAPDF6:NNPDF31_nnlo_as_0118'
        ),
        pythia8CommonSettings = cms.vstring(
            'Tune:preferLHAPDF = 2', 
            'Main:timesAllowErrors = 10000', 
            'Check:epTolErr = 0.01', 
            'Beams:setProductionScalesFromLHEF = off', 
            'SLHA:keepSM = on', 
            'SLHA:minMassSM = 1000.', 
            'ParticleDecays:limitTau0 = on', 
            'ParticleDecays:tau0Max = 10', 
            'ParticleDecays:allowPhotonRadiation = on'
        ),
        pythia8aMCatNLOSettings = cms.vstring(
            'SpaceShower:pTmaxMatch = 1', 
            'SpaceShower:pTmaxFudge = 1', 
            'SpaceShower:MEcorrections = off', 
            'TimeShower:pTmaxMatch = 1', 
            'TimeShower:pTmaxFudge = 1', 
            'TimeShower:MEcorrections = off', 
            'TimeShower:globalRecoil = on', 
            'TimeShower:limitPTmaxGlobal = on', 
            'TimeShower:nMaxGlobalRecoil = 1', 
            'TimeShower:globalRecoilMode = 2', 
            'TimeShower:nMaxGlobalBranch = 1', 
            'TimeShower:weightGluonToQuark = 1'
        )
    ),
    SLHATableForPythia8 = cms.string('\nBLOCK SPINFO\n     1   FeynHiggs\n     2   2.10.0\n     2   built on Mar 10, 2014\nBLOCK MODSEL\n         1                  0   # Model\n         2                  1   # GridPts\n         3                  0   # Content\n         4                  0   # RPV\n         5                  0   # CPV\n         6                  0   # FV\nBLOCK SMINPUTS\n         1     1.28952896E+02   # invAlfaMZ\n         2     1.16637000E-05   # GF\n         3     1.19000000E-01   # AlfasMZ\n         4     9.11876000E+01   # MZ\n         5     4.16000000E+00   # Mb\n         6     1.72500000E+02   # Mt\n         7     1.77703000E+00   # Mtau\n        11     5.10998902E-04   # Me\n        13     1.05658357E-01   # Mmu\n        21     6.00000000E-03   # Md\n        22     3.00000000E-03   # Mu\n        23     9.50000000E-02   # Ms\n        24     1.28600000E+00   # Mc\nBLOCK MINPAR\n         3     4.00000000E+01   # TB\nBLOCK EXTPAR\n         0     0.00000000E+00   # Q\n         1     9.54716519E+01   # M1\n         2     2.00000000E+02   # M2\n         3     1.50000000E+03   # M3\n        11     1.50500000E+03   # At\n        12     1.50500000E+03   # Ab\n        13     1.50500000E+03   # Atau\n        23     2.00000000E+02   # MUE\n        25     4.00000000E+01   # TB\n        26     3.00000000E+01   # MA0\n        27     8.58128103E+01   # MHp\n        31     5.00000000E+02   # MSL(1)\n        32     5.00000000E+02   # MSL(2)\n        33     1.00000000E+03   # MSL(3)\n        34     5.00000000E+02   # MSE(1)\n        35     5.00000000E+02   # MSE(2)\n        36     1.00000000E+03   # MSE(3)\n        41     1.50000000E+03   # MSQ(1)\n        42     1.50000000E+03   # MSQ(2)\n        43     1.00000000E+03   # MSQ(3)\n        44     1.50000000E+03   # MSU(1)\n        45     1.50000000E+03   # MSU(2)\n        46     1.00000000E+03   # MSU(3)\n        47     1.50000000E+03   # MSD(1)\n        48     1.50000000E+03   # MSD(2)\n        49     1.00000000E+03   # MSD(3)\nBLOCK MASS\n   1000012     4.95830217E+02   # MSf(1,1,1)\n   1000011     5.01845584E+02   # MSf(1,2,1)\n   2000011     5.02298124E+02   # MSf(2,2,1)\n   1000002     1.49902645E+03   # MSf(1,3,1)\n   2000002     1.49958905E+03   # MSf(2,3,1)\n   1000001     1.50020519E+03   # MSf(1,4,1)\n   2000001     1.50117846E+03   # MSf(2,4,1)\n   1000014     4.95830217E+02   # MSf(1,1,2)\n   1000013     5.01199509E+02   # MSf(1,2,2)\n   2000013     5.02942810E+02   # MSf(2,2,2)\n   1000004     1.49902699E+03   # MSf(1,3,2)\n   2000004     1.49958961E+03   # MSf(2,3,2)\n   1000003     1.50014799E+03   # MSf(1,4,2)\n   2000003     1.50123564E+03   # MSf(2,4,2)\n   1000016     9.97921642E+02   # MSf(1,1,3)\n   1000015     9.95256404E+02   # MSf(1,2,3)\n   2000015     1.00678866E+03   # MSf(2,2,3)\n   1000006     8.76885784E+02   # MSf(1,3,3)\n   2000006     1.13420960E+03   # MSf(2,3,3)\n   1000005     9.88986250E+02   # MSf(1,4,3)\n   2000005     1.01295893E+03   # MSf(2,4,3)\n        25     1.25000000E+02   # Mh0\n        35     1.26348865E+02   # MHH\n        36    2.000000e+01            # MA0\n        37     9.47952678E+01   # MHp\n   1000022     8.85696665E+01   # MNeu(1)\n   1000023     1.52403239E+02   # MNeu(2)\n   1000025    -2.10646406E+02   # MNeu(3)\n   1000035     2.65145152E+02   # MNeu(4)\n   1000024     1.49281133E+02   # MCha(1)\n   1000037     2.65787171E+02   # MCha(2)\n   1000021     1.50000000E+03   # MGl\nBLOCK DMASS\n         0     1.72500000E+02   # Q\n        25     0.00000000E+00   # Delta Mh0\n        35     1.35783674E+00   # Delta MHH\n        36     0.00000000E+00   # Delta MA0\n        37     6.04629261E-01   # Delta MHp\nBLOCK NMIX\n     1   1     9.34616473E-01   # ZNeu(1,1)\n     1   2    -1.08169841E-01   # ZNeu(1,2)\n     1   3     3.07485524E-01   # ZNeu(1,3)\n     1   4    -1.42281363E-01   # ZNeu(1,4)\n     2   1    -3.10165758E-01   # ZNeu(2,1)\n     2   2    -6.93221305E-01   # ZNeu(2,2)\n     2   3     5.14891896E-01   # ZNeu(2,3)\n     2   4    -3.97652814E-01   # ZNeu(2,4)\n     3   1     9.81909017E-02   # ZNeu(3,1)\n     3   2    -1.36771096E-01   # ZNeu(3,2)\n     3   3    -6.77763154E-01   # ZNeu(3,3)\n     3   4    -7.15743893E-01   # ZNeu(3,4)\n     4   1    -1.43693415E-01   # ZNeu(4,1)\n     4   2     6.99311930E-01   # ZNeu(4,2)\n     4   3     4.25412853E-01   # ZNeu(4,3)\n     4   4    -5.56182463E-01   # ZNeu(4,4)\nBLOCK UMIX\n     1   1    -6.05392853E-01   # UCha(1,1)\n     1   2     7.95926814E-01   # UCha(1,2)\n     2   1     7.95926814E-01   # UCha(2,1)\n     2   2     6.05392853E-01   # UCha(2,2)\nBLOCK VMIX\n     1   1    -7.95926814E-01   # VCha(1,1)\n     1   2     6.05392853E-01   # VCha(1,2)\n     2   1     6.05392853E-01   # VCha(2,1)\n     2   2     7.95926814E-01   # VCha(2,2)\nBLOCK STAUMIX\n     1   1     7.00114782E-01   # USf(1,1)\n     1   2     7.14030316E-01   # USf(1,2)\n     2   1     7.14030316E-01   # USf(2,1)\n     2   2    -7.00114782E-01   # USf(2,2)\nBLOCK STOPMIX\n     1   1     7.08258405E-01   # USf(1,1)\n     1   2    -7.05953279E-01   # USf(1,2)\n     2   1     7.05953279E-01   # USf(2,1)\n     2   2     7.08258405E-01   # USf(2,2)\nBLOCK SBOTMIX\n     1   1     6.85260003E-01   # USf(1,1)\n     1   2     7.28298516E-01   # USf(1,2)\n     2   1     7.28298516E-01   # USf(2,1)\n     2   2    -6.85260003E-01   # USf(2,2)\nBLOCK ALPHA\n              -1.54441184E+00   # Alpha\nBLOCK DALPHA\n               9.83428934E-04   # Delta Alpha\nBLOCK HMIX Q= -0.99900000E+03\n         1     2.00000000E+02   # MUE\n         2     4.00000000E+01   # TB\nBLOCK MSOFT Q=  0.00000000E+00\n         1     9.54716519E+01   # M1\n         2     2.00000000E+02   # M2\n         3     1.50000000E+03   # M3\n        31     5.00000000E+02   # MSL(1)\n        32     5.00000000E+02   # MSL(2)\n        33     1.00000000E+03   # MSL(3)\n        34     5.00000000E+02   # MSE(1)\n        35     5.00000000E+02   # MSE(2)\n        36     1.00000000E+03   # MSE(3)\n        41     1.50000000E+03   # MSQ(1)\n        42     1.50000000E+03   # MSQ(2)\n        43     1.00000000E+03   # MSQ(3)\n        44     1.50000000E+03   # MSU(1)\n        45     1.50000000E+03   # MSU(2)\n        46     1.00000000E+03   # MSU(3)\n        47     1.50000000E+03   # MSD(1)\n        48     1.50000000E+03   # MSD(2)\n        49     1.00000000E+03   # MSD(3)\nBLOCK AE Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Af(1,1)\n     2   2     0.00000000E+00   # Af(2,2)\n     3   3     1.50500000E+03   # Af(3,3)\nBLOCK AU Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Af(1,1)\n     2   2     0.00000000E+00   # Af(2,2)\n     3   3     1.50500000E+03   # Af(3,3)\nBLOCK AD Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Af(1,1)\n     2   2     0.00000000E+00   # Af(2,2)\n     3   3     1.50500000E+03   # Af(3,3)\nBLOCK YE Q=  0.00000000E+00\n     1   1     1.17437365E-04   # Yf(1,1)\n     2   2     2.42823205E-02   # Yf(2,2)\n     3   3     4.08395636E-01   # Yf(3,3)\nBLOCK YU Q=  0.00000000E+00\n     1   1     1.72364410E-05   # Yf(1,1)\n     2   2     7.38868770E-03   # Yf(2,2)\n     3   3     9.91095356E-01   # Yf(3,3)\nBLOCK YD Q=  0.00000000E+00\n     1   1     1.32471393E-03   # Yf(1,1)\n     2   2     2.09728535E-02   # Yf(2,2)\n     3   3     8.47502026E-01   # Yf(3,3)\nBLOCK VCKMIN\n         1     2.25300000E-01   # lambda\n         2     8.08000000E-01   # A\n         3     1.32000000E-01   # rhobar\n         4     3.41000000E-01   # etabar\nBLOCK MSL2 Q=  0.00000000E+00\n     1   1     2.50000000E+05   # MSL2(1,1)\n     2   2     2.50000000E+05   # MSL2(2,2)\n     3   3     1.00000000E+06   # MSL2(3,3)\nBLOCK MSE2 Q=  0.00000000E+00\n     1   1     2.50000000E+05   # MSE2(1,1)\n     2   2     2.50000000E+05   # MSE2(2,2)\n     3   3     1.00000000E+06   # MSE2(3,3)\nBLOCK MSQ2 Q=  0.00000000E+00\n     1   1     2.25000000E+06   # MSQ2(1,1)\n     2   2     2.25000000E+06   # MSQ2(2,2)\n     3   3     1.00000000E+06   # MSQ2(3,3)\nBLOCK MSU2 Q=  0.00000000E+00\n     1   1     2.25000000E+06   # MSU2(1,1)\n     2   2     2.25000000E+06   # MSU2(2,2)\n     3   3     1.00000000E+06   # MSU2(3,3)\nBLOCK MSD2 Q=  0.00000000E+00\n     1   1     2.25000000E+06   # MSD2(1,1)\n     2   2     2.25000000E+06   # MSD2(2,2)\n     3   3     1.00000000E+06   # MSD2(3,3)\nBLOCK TE Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Tf(1,1)\n     2   2     0.00000000E+00   # Tf(2,2)\n     3   3     6.14635432E+02   # Tf(3,3)\nBLOCK TU Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Tf(1,1)\n     2   2     0.00000000E+00   # Tf(2,2)\n     3   3     1.49159851E+03   # Tf(3,3)\nBLOCK TD Q=  0.00000000E+00\n     1   1     0.00000000E+00   # Tf(1,1)\n     2   2     0.00000000E+00   # Tf(2,2)\n     3   3     1.27549055E+03   # Tf(3,3)\nBLOCK CVHMIX\n     1   1     9.99989125E-01   # UH(1,1)\n     1   2     4.66359301E-03   # UH(1,2)\n     1   3     0.00000000E+00   # UH(1,3)\n     2   1    -4.66359301E-03   # UH(2,1)\n     2   2     9.99989125E-01   # UH(2,2)\n     2   3     0.00000000E+00   # UH(2,3)\n     3   1     0.00000000E+00   # UH(3,1)\n     3   2     0.00000000E+00   # UH(3,2)\n     3   3     1.00000000E+00   # UH(3,3)\nBLOCK PRECOBS\n         1     4.17304250E-05   # DeltaRho\n         2     8.03584639E+01   # MWMSSM\n         3     8.03561143E+01   # MWSM\n         4     2.31531417E-01   # SW2effMSSM\n         5     2.31544437E-01   # SW2effSM\n        11     5.58086942E-09   # gminus2mu\n        21     0.00000000E+00   # EDMeTh\n        22     0.00000000E+00   # EDMn\n        23     0.00000000E+00   # EDMHg\n        31     8.04820993E-04   # bsgammaMSSM\n        32     3.98981472E-04   # bsgammaSM\n        33     2.16046139E+01   # DeltaMsMSSM\n        34     2.13349597E+01   # DeltaMsSM\n        35     4.00124270E-08   # BsmumuMSSM\n        36     3.51490606E-09   # BsmumuSM\nDECAY        25     4.00000000E-03    # Gamma(h0)\n     1.00000000E+00   2        36        36   # BR(h0 -> A0 A0)\nDECAY        35     1.39295461E-01   # Gamma(HH)\n     6.41895580E-05   2        22        22   # BR(HH -> photon photon)\n     1.97232862E-04   2        22        23   # BR(HH -> photon Z)\n     9.17994878E-04   2        23        23   # BR(HH -> Z Z)\n     7.38657150E-03   2       -24        24   # BR(HH -> W W)\n     2.55885394E-03   2        21        21   # BR(HH -> gluon gluon)\n     1.47272074E-10   2       -11        11   # BR(HH -> Electron electron)\n     6.55087625E-06   2       -13        13   # BR(HH -> Muon muon)\n     1.74659059E-03   2       -15        15   # BR(HH -> Tau tau)\n     5.79395931E-09   2        -2         2   # BR(HH -> Up up)\n     8.01266697E-04   2        -4         4   # BR(HH -> Charm charm)\n     1.78029768E-08   2        -1         1   # BR(HH -> Down down)\n     4.46929265E-06   2        -3         3   # BR(HH -> Strange strange)\n     8.05657718E-03   2        -5         5   # BR(HH -> Bottom bottom)\n     1.73933172E-04   2        23        36   # BR(HH -> Z A0)\n     4.82185990E-01   2        25        25   # BR(HH -> h0 h0)\n     2.12714798E-37   2        25        36   # BR(HH -> h0 A0)\n     6.60852658E-36   2        25        36   # BR(HH -> h0 A0)\n     4.95899756E-01   2        36        36   # BR(HH -> A0 A0)\nDECAY        36     6.00000000E-03   # Gamma(A0)\n     0.50000000E+00   2       -13        13   # BR(A0 -> muon muon)\n     0.50000000E+00   2        -5         5   # BR(A0 -> b b_bar)\nDECAY        37     3.09600270E-01   # Gamma(Hp)\n     8.10803314E-08   2       -11        12   # BR(Hp -> Electron nu_e)\n     3.46642819E-03   2       -13        14   # BR(Hp -> Muon nu_mu)\n     9.79850491E-01   2       -15        16   # BR(Hp -> Tau nu_tau)\n     1.14219676E-05   2        -1         2   # BR(Hp -> Down up)\n     1.26170695E-04   2        -3         2   # BR(Hp -> Strange up)\n     6.82337775E-05   2        -5         2   # BR(Hp -> Bottom up)\n     5.09808557E-07   2        -1         4   # BR(Hp -> Down charm)\n     2.85719255E-03   2        -3         4   # BR(Hp -> Strange charm)\n     9.55163990E-03   2        -5         4   # BR(Hp -> Bottom charm)\n     9.78756246E-10   2        -5         6   # BR(Hp -> Bottom top)\n     2.00794797E-03   2        24        25   # BR(Hp -> W h0)\n     2.05988251E-03   2        24        36   # BR(Hp -> W A0)\nDECAY         6     1.59404260E+00   # Gamma(top)\n     8.48131384E-01   2         5        24   # BR(top -> bottom W)\n     1.51868616E-01   2         5        37   # BR(top -> bottom Hp)\n'),
    UseExternalGenerators = cms.untracked.bool(True),
    comEnergy = cms.double(13000.0),
    eventsToPrint = cms.untracked.uint32(5),
    filterEfficiency = cms.untracked.double(1.0),
    maxEventsToPrint = cms.untracked.int32(5),
    pythiaHepMCVerbosity = cms.untracked.bool(False),
    pythiaPylistVerbosity = cms.untracked.int32(1)
)


process.ProductionFilterSequence = cms.Sequence(process.generator)

# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)
# filter all path with the production filter sequence
for path in process.paths:
	getattr(process,path).insert(0, process.ProductionFilterSequence)

# customisation of the process.

# Automatic addition of the customisation function from Configuration.DataProcessing.Utils
from Configuration.DataProcessing.Utils import addMonitoring 

#call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
process = addMonitoring(process)

# End of customisation functions

# Customisation from command line

# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion
