CMS 3D CMS Logo

isoTrackNewAlCaAnalysis_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
4 #process = cms.Process("ANALYSIS",Run2_2018)
5 from Configuration.Eras.Era_Run3_cff import Run3
6 process = cms.Process("ANALYSIS",Run3)
7 
8 
9 process.load("FWCore.MessageService.MessageLogger_cfi")
10 process.load('Configuration.StandardSequences.Services_cff')
11 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
12 process.load("Configuration.StandardSequences.MagneticField_cff")
13 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
14 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
15 from Configuration.AlCa.autoCond import autoCond
16 #process.GlobalTag.globaltag=autoCond['124X_dataRun3_v10']
17 process.GlobalTag.globaltag='140X_dataRun3_Prompt_v2'
18 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
19 if 'MessageLogger' in process.__dict__:
20  process.MessageLogger.HcalIsoTrackX=dict()
21  process.MessageLogger.HcalIsoTrack=dict()
22 
23 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
24 
25 process.load('Calibration.HcalCalibAlgos.hcalIsoTrackAnalyzer_cfi')
26 process.hcalIsoTrackAnalyzer.useRaw = 0 # 1 for Raw
27 process.hcalIsoTrackAnalyzer.debugEvents = [640818633, 640797426, 641251898,
28  641261804, 641172007, 641031809]
29 
30 process.source = cms.Source("PoolSource",
31  fileNames = cms.untracked.vstring('/store/data/Run2024C/EGamma0/ALCARECO/HcalCalIsoTrkProducerFilter-PromptReco-v1/000/379/433/00000/455129b2-c385-42c6-ba07-31b69145cfba.root')
32  #/store/data/Run2023D/EGamma1/ALCARECO/HcalCalIsoTrkProducerFilter-PromptReco-v2/000/370/667/00000/027375a6-b66a-4909-a23c-dc08278265c5.root')
33 )
34 
35 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
36 
37 process.TFileService = cms.Service("TFileService",
38  fileName = cms.string('output_newalca.root')
39 )
40 
41 process.p = cms.Path(process.hcalIsoTrackAnalyzer)
42