Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-06 06:06:47

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step1 --processName=L1REPR --conditions auto:phase2_realistic_T15 -n 10 --era Phase2C9 --eventcontent FEVTDEBUGHLT -s RAW2DIGI,L1 --datatier FEVTDEBUGHLT --geometry Extended2026D49 --fileout file:/tmp/step1_Reprocess_L1.root --no_exec --nThreads 8 --python step1_L1_Reprocess.py --filein das:/MinBias_TuneCP5_14TeV-pythia8/Phase2HLTTDRSummer20L1T-PU200_111X_mcRun4_realistic_T15_v1-v2/FEVT --customise L1Trigger/Configuration/customisePhase2.addHcalTriggerPrimitives --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
0009 
0010 process = cms.Process('L1REPR',Phase2C9)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.Geometry.GeometryExtendedRun4D49Reco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.L1TrackTrigger_cff') # Needed for MuonTPS
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 #process.load('L1Trigger.L1TMuonTPS.L1TTrackerPlusStubs_cfi') # Adding MuonTPS
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(5000),
0027     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0028 )
0029 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0030 
0031 # Input source
0032 process.source = cms.Source("PoolSource",
0033     fileNames = cms.untracked.vstring(
0034 
0035 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/00006128-B6E9-164F-86F0-A650029BF556.root',
0036 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/008F2D30-9CB9-3149-BACC-44E377BD4339.root',
0037 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/01DCAE84-9A84-BA46-A3C9-911FE21B772B.root',
0038 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/03354C18-02BB-BC4E-AC41-929415ACBA10.root',
0039 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/04B5B609-AE07-2845-A953-C7381AFA4BA3.root',
0040 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/053B903A-B414-B34C-8A0C-576E52ED40BB.root',
0041 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0741BA70-FB5D-5F45-83BA-F21E36F4A6A0.root',
0042 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/07D0DC19-75A6-EF43-86AC-500087D5F044.root',
0043 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0A246F64-6D90-FB4A-A363-024F172686F1.root',
0044 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0A597E05-0A6F-CC4B-B091-6B48314BE330.root',
0045 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0AB846BB-0972-A046-BC9A-C571E6BAC3C5.root',
0046 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0BB165E7-1A72-BF45-A0BC-DFC90CA0087F.root',
0047 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0CFC45A2-D468-B846-A203-777B97A43120.root',
0048 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0D0AA151-EA54-0C42-9E2B-0D9A6430596F.root',
0049 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0D2CB354-3047-8C41-89ED-25662E1AC832.root',
0050 '/store/mc/Phase2HLTTDRWinter20DIGI/DYToLL_M-50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/NoPU_pilot_110X_mcRun4_realistic_v3-v2/20000/0E673C7A-1C1F-4948-9C05-5DD69FBB4098.root'
0051 
0052 
0053 
0054 
0055 
0056 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/0398918A-BD7A-6C4D-8696-6F061FF08845.root',
0057 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/045A4B0F-D7AA-1C44-B097-F700F9C11881.root',
0058 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/09E56A06-CFFA-2A46-90BA-2CF4F6C7BDC8.root',
0059 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/0ACCD724-9CA3-FA4D-B85B-70C5A999E089.root',
0060 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/0E408E15-DCEB-5546-BD16-0B45D2F5D590.root',
0061 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/12A09A17-6734-1244-B789-A6A79829E12B.root',
0062 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/12E755CC-059B-D94D-B2C0-57C2C189F4DE.root',
0063 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/1946CACB-2903-2649-B33C-66FB7D7F3ACC.root',
0064 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/19667D5B-49B9-EF45-A911-EB17EAA1E67D.root',
0065 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2012FA01-916D-6C4B-8CD1-2D86920B06ED.root',
0066 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/234CE519-87C5-DB44-9457-E679AD595E75.root',
0067 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/23B4B535-51AB-9945-8BD9-9CB011277E28.root',
0068 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2873F537-D329-8840-8A51-A452BACB8F66.root',
0069 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2CA0BA6A-B735-C54C-8D5F-BA6A0AFE3D37.root',
0070 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2D5E99B7-5876-3B44-9253-4E1B22DB02B0.root',
0071 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2EFCE00C-524C-F642-B951-2825189FE8A7.root',
0072 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/2FFD6E4F-C824-B140-B285-A65983FF54FF.root',
0073 #'/store/mc/Phase2HLTTDRWinter20DIGI/DoubleMuon_gun_FlatPt-1To100/GEN-SIM-DIGI-RAW/NoPU_110X_mcRun4_realistic_v3-v2/30000/330FA1A0-652B-AA49-B0C9-729965D8A0E4.root'
0074 
0075 
0076     ),
0077     secondaryFileNames = cms.untracked.vstring()
0078 )
0079 
0080 process.options = cms.untracked.PSet(
0081     IgnoreCompletely = cms.untracked.vstring(),
0082     Rethrow = cms.untracked.vstring(),
0083     TryToContinue = cms.untracked.vstring(),
0084     allowUnscheduled = cms.obsolete.untracked.bool,
0085     canDeleteEarly = cms.untracked.vstring(),
0086     emptyRunLumiMode = cms.obsolete.untracked.string,
0087     eventSetup = cms.untracked.PSet(
0088         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0089         ),
0090         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0091     ),
0092     fileMode = cms.untracked.string('FULLMERGE'),
0093     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0094     makeTriggerResults = cms.obsolete.untracked.bool,
0095     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0096     numberOfConcurrentRuns = cms.untracked.uint32(1),
0097     numberOfStreams = cms.untracked.uint32(0),
0098     numberOfThreads = cms.untracked.uint32(1),
0099     printDependencies = cms.untracked.bool(False),
0100     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0101     throwIfIllegalParameter = cms.untracked.bool(True),
0102     wantSummary = cms.untracked.bool(False)
0103 )
0104 
0105 # Production Info
0106 process.configurationMetadata = cms.untracked.PSet(
0107     annotation = cms.untracked.string('step1 nevts:10'),
0108     name = cms.untracked.string('Applications'),
0109     version = cms.untracked.string('$Revision: 1.19 $')
0110 )
0111 
0112 # Output definition
0113 
0114 process.out = cms.OutputModule("PoolOutputModule",
0115     fileName = cms.untracked.string('test.root'),
0116     outputCommands = cms.untracked.vstring(
0117         "drop *_*_*_*",
0118         "keep *_simCscTriggerPrimitiveDigis_*_*",
0119         "keep *_dtTriggerPhase2PrimitiveDigis_*_*",
0120         "keep *_simDtTriggerPrimitiveDigis_*_*",
0121         "keep *_simMuonRPCDigis_*_*",
0122         "keep *_simMuonME0*_*_*",
0123         "keep *_simMuonGEMDigis*_*_*",
0124         "keep *_simBmtfDigis_*_*",
0125         "keep *_simEmtfDigis_*_*",
0126         "keep *_simOmtfDigis_*_*",
0127         "keep *_genParticles_*_*",
0128         "keep *_l1tTTTracksFromTrackletEmulation_Level1TTTracks_*"
0129     )
0130 )
0131 
0132 # Additional output definition
0133 
0134 # Other statements
0135 from Configuration.AlCa.GlobalTag import GlobalTag
0136 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0137 
0138 # Path and EndPath definitions
0139 process.L1TrackTrigger_step = cms.Path(process.L1TrackTrigger) # Needed for MuonTPS
0140 #process.pL1TMuonTPS = cms.Path(process.l1TrackerPlusStubsSequence) # Adding MuonTPS
0141 process.endjob_step = cms.EndPath(process.endOfProcess)
0142 process.e = cms.EndPath(process.out)
0143 
0144 
0145 #Calibrate Digis
0146 process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0147 process.CalibratedDigis.dtDigiTag = "simMuonDTDigis" 
0148 process.CalibratedDigis.scenario = 0
0149 
0150 #DTTriggerPhase2
0151 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0152 process.dtTriggerPhase2PrimitiveDigis.debug = False
0153 process.dtTriggerPhase2PrimitiveDigis.dump = False
0154 process.dtTriggerPhase2PrimitiveDigis.scenario = 0
0155 
0156 
0157 
0158 
0159 #process.schedule = cms.Schedule(process.L1TrackTrigger_step,process.pL1TMuonTPS,process.endjob_step,process.e) # Adding MuonTPS
0160 
0161 
0162 process.stubs = cms.EDProducer("Phase2L1TGMTStubProducer",
0163     verbose = cms.int32(0),
0164     srcCSC = cms.InputTag("simCscTriggerPrimitiveDigis"),
0165     srcDT = cms.InputTag("dtTriggerPhase2PrimitiveDigis"),
0166     srcDTTheta = cms.InputTag("simDtTriggerPrimitiveDigis"),
0167     srcRPC = cms.InputTag("simMuonRPCDigis"),
0168     Endcap =cms.PSet(                            
0169         verbose              = cms.uint32(0),
0170         minBX                = cms.int32(0),                           
0171         maxBX                = cms.int32(0),         
0172         coord1LSB            = cms.double(0.00076660156*32), 
0173         eta1LSB              = cms.double(7.68334e-04*32), 
0174         coord2LSB            = cms.double(0.00076660156*32), 
0175         eta2LSB              = cms.double(7.68334e-04*32),
0176         phiMatch             = cms.double(0.05),
0177         etaMatch             = cms.double(0.1)
0178     ),
0179     Barrel = cms.PSet(                         
0180         verbose            = cms.int32(0),
0181         minPhiQuality      = cms.int32(0),
0182         minThetaQuality    = cms.int32(0),
0183         minBX              = cms.int32(-100),                           
0184         maxBX              = cms.int32(100),                           
0185         phiLSB             = cms.double(0.00076660156*32),
0186         phiBDivider        = cms.int32(1),
0187         etaLSB             = cms.double(7.68334e-04*32), 
0188         eta_1              = cms.vint32(-1503/32,-1446/32,-1387/32,-1327/32,-1266/32,-1194/32,-1125/32,-985/32,-916/32,-839/32,-752/32,-670/32,-582/32,-489/32,-315/32,-213/32,-115/32,-49/32,49/32, 115/32, 213/32, 315/32, 489/32, 582/32, 670/32, 752/32, 839/32, 916/32, 985/32, 1125/32, 1194/32, 1266/32, 1327/32, 1387/32, 1446/32, 1503),
0189         eta_2              = cms.vint32(-1334/32,-1279/32,-1227/32,-1168/32,-1109/32,-1044/32,-982/32,-861/32,-793/32,-720/32,-648/32,-577/32,-496/32,-425/32,-268/32,-185/32,-97/32,-51/32,51/32, 97/32, 185/32, 268/32, 425/32, 496/32, 577/32, 648/32, 720/32, 793/32, 861/32, 982/32, 1044/32, 1109/32, 1168/32, 1227/32, 1279/32, 1334),
0190         eta_3              = cms.vint32(-1148/32,-1110/32,-1051/32,-1004/32,-947/32,-895/32,-839/32,-728/32,-668/32,-608/32,-546/32,-485/32,-425/32,-366/32,-222/32,-155/32,-87/32,-40/32,40/32, 87/32, 155/32, 222/32, 366/32, 425/32, 485/32, 546/32, 608/32, 668/32, 728/32, 839/32, 895/32, 947/32, 1004/32, 1051/32, 1110/32, 1148),
0191         coarseEta_1        = cms.vint32(0/32,758/32,1336/32),
0192         coarseEta_2        = cms.vint32(0/32,653/32,1168/32),
0193         coarseEta_3        = cms.vint32(0/32,552/32,1001/32),
0194         coarseEta_4        = cms.vint32(0/32,478/32,878/32),
0195         phiOffset          = cms.vint32(75/32,-30/32,+26/32,0)    
0196    )
0197 
0198 )
0199 
0200 
0201 
0202 
0203 
0204 process.prod = cms.EDProducer('Phase2L1TGMTProducer',
0205                               srcTracks = cms.InputTag("l1tTTTracksFromTrackletEmulation:Level1TTTracks"),
0206                               srcStubs  = cms.InputTag('stubs'),
0207                               srcBMTF   = cms.InputTag('simBmtfDigis','BMTF'),
0208                               srcEMTF   = cms.InputTag('simEmtfDigis','EMTF'),
0209                               srcOMTF   = cms.InputTag('simOmtfDigis','OMTF'),
0210                               muonBXMin = cms.int32(0),
0211                               muonBXMax = cms.int32(0),
0212                               IsoThreshold1 = cms.int32(0),
0213                               IsoThreshold2 = cms.int32(0),
0214                               IsoThreshold3 = cms.int32(0),
0215                               IsoThreshold4 = cms.int32(0),
0216                               verbose       = cms.int32(0),
0217                               IsodumpForHLS = cms.int32(0)
0218                              )
0219 process.testpath=cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis*process.stubs*process.prod)
0220 #process.testpath=cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0221 process.schedule = cms.Schedule(process.L1TrackTrigger_step,process.testpath,process.endjob_step,process.e)
0222 
0223 
0224 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0225 associatePatAlgosToolsTask(process)
0226 
0227 #Setup FWK for multithreaded
0228 process.options.numberOfThreads=cms.untracked.uint32(1)
0229 process.options.numberOfStreams=cms.untracked.uint32(0)
0230 process.options.numberOfConcurrentLuminosityBlocks=cms.untracked.uint32(1)
0231 
0232 # customisation of the process.
0233 
0234 # Automatic addition of the customisation function from L1Trigger.Configuration.customisePhase2
0235 from L1Trigger.Configuration.customisePhase2 import addHcalTriggerPrimitives 
0236 
0237 #call to customisation function addHcalTriggerPrimitives imported from L1Trigger.Configuration.customisePhase2
0238 process = addHcalTriggerPrimitives(process)
0239 
0240 # End of customisation functions
0241 
0242 # Customisation from command line
0243 
0244 # Automatic addition of the customisation function from L1Trigger.Configuration.customisePhase2TTNoMC # To make the cfg work
0245 from L1Trigger.Configuration.customisePhase2TTNoMC import customisePhase2TTNoMC  # To make the cfg work
0246 
0247 #call to customisation function customisePhase2TTNoMC imported from L1Trigger.Configuration.customisePhase2TTNoMC # To make the cfg work
0248 process = customisePhase2TTNoMC(process) # To make the cfg work
0249 
0250 # Add early deletion of temporary data products to reduce peak memory need
0251 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0252 process = customiseEarlyDelete(process)
0253 # End adding early deletion