1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.Eras.Era_Run3_cff
import Run3
4 process = cms.Process(
"ANALYSIS",Run3)
6 process.load(
"FWCore.MessageService.MessageLogger_cfi")
7 process.load(
'Configuration.StandardSequences.Services_cff')
8 process.load(
"Configuration.StandardSequences.GeometryRecoDB_cff")
9 process.load(
"Configuration.StandardSequences.MagneticField_cff")
10 process.load(
"RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
11 process.load(
'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
13 from Configuration.AlCa.GlobalTag
import GlobalTag
16 process.GlobalTag=
GlobalTag(process.GlobalTag,
'140X_dataRun3_Prompt_v2' ,
'')
18 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
20 if 'MessageLogger' in process.__dict__:
21 process.MessageLogger.HcalIsoTrackX=dict()
22 process.MessageLogger.HcalIsoTrack=dict()
24 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
26 process.load(
'RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi')
27 process.towerMakerAll = process.calotowermaker.clone()
28 process.towerMakerAll.hbheInput =
"hbhereco" 29 process.towerMakerAll.hoInput =
"none" 30 process.towerMakerAll.hfInput =
"none" 31 process.towerMakerAll.ecalInputs = [cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"), cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")]
32 process.towerMakerAll.AllowMissingInputs =
True 34 process.load(
'Calibration.HcalCalibAlgos.hcalIsoTrkAnalyzer_cff')
35 process.hcalIsoTrkAnalyzer.triggers = []
36 process.hcalIsoTrkAnalyzer.useRaw = 0
37 process.hcalIsoTrkAnalyzer.ignoreTriggers =
True 39 process.source = cms.Source(
"PoolSource",
40 fileNames = cms.untracked.vstring(
"/store/data/Run2024B/Commissioning/ALCARECO/HcalCalIsoTrk-PromptReco-v1/000/379/075/00000/2a67bdd1-76ce-4be0-bf72-41584e8f23a7.root"))
43 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
45 process.TFileService = cms.Service(
"TFileService",
46 fileName = cms.string(
'output.root')
49 process.p = cms.Path(process.hcalIsoTrkAnalyzer)