CMS 3D CMS Logo

isoTrackAlCaCommissioning_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from Configuration.Eras.Era_Run3_cff import Run3
4 process = cms.Process("ANALYSIS",Run3)
5 
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')
12 
13 from Configuration.AlCa.GlobalTag import GlobalTag
14 
15 #process.GlobalTag=GlobalTag(process.GlobalTag,'130X_dataRun3_Prompt_v3','')
16 process.GlobalTag=GlobalTag(process.GlobalTag,'140X_dataRun3_Prompt_v2' ,'')
17 
18 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
19 
20 if 'MessageLogger' in process.__dict__:
21  process.MessageLogger.HcalIsoTrackX=dict()
22  process.MessageLogger.HcalIsoTrack=dict()
23 
24 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
25 
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
33 
34 process.load('Calibration.HcalCalibAlgos.hcalIsoTrkAnalyzer_cff')
35 process.hcalIsoTrkAnalyzer.triggers = []
36 process.hcalIsoTrkAnalyzer.useRaw = 0 # 1 for Raw
37 process.hcalIsoTrkAnalyzer.ignoreTriggers = True
38 
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"))
41 
42 
43 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
44 
45 process.TFileService = cms.Service("TFileService",
46  fileName = cms.string('output.root')
47 )
48 
49 process.p = cms.Path(process.hcalIsoTrkAnalyzer)
50