Skip to content

Commit

Permalink
Merge pull request #34628 from bsunanda/Run3-alca189
Browse files Browse the repository at this point in the history
Run3-alca189 Add a few Hcal related AlCaReco streams (HcalCalIterativePhiSym, HcalCalHBHEMuonFilter, HcalCalHO, HcalCalIsoTrkFilter) to the physics data stream HLTPhysics
  • Loading branch information
cmsbuild authored Jul 27, 2021
2 parents 45994cb + 1715b64 commit bc6f603
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,9 @@ void AlCaIsoTracksFilter::fillDescriptions(edm::ConfigurationDescriptions& descr
// Prescale events only containing isolated tracks in the range
desc.add<double>("momentumRangeLow", 20.0);
desc.add<double>("momentumRangeHigh", 40.0);
desc.add<int>("preScaleFactor", 10);
desc.add<int>("preScaleFactor", 1);
desc.add<double>("momentumHigh", 60.0);
desc.add<int>("preScaleHigh", 2);
desc.add<int>("preScaleHigh", 1);
descriptions.add("alcaIsoTracksFilter", desc);
}

Expand Down
32 changes: 12 additions & 20 deletions Calibration/HcalCalibAlgos/test/python/isoTrackRecoAnalysis_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
process = cms.Process("ANALYSIS",Run2_2017)
#process = cms.Process("ANALYSIS")

process.load("FWCore.MessageService.MessageLogger_cfi")
process.load('Configuration.StandardSequences.Services_cff')
Expand All @@ -11,13 +10,11 @@
process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

from Configuration.AlCa.autoCond import autoCond
#process.GlobalTag.globaltag='101X_dataRun2_Prompt_v10'
process.GlobalTag.globaltag='106X_dataRun2_v20'
#106X_mcRun3_2021_realistic_v3
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_data','')

if 'MessageLogger' in process.__dict__:
process.MessageLogger.HcalIsoTrack=dict()

process.MessageLogger.cerr.FwkReport.reportEvery = 1
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )

Expand All @@ -32,13 +29,7 @@
process.load('Calibration.HcalCalibAlgos.HcalIsoTrkAnalyzer_cff')
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
#'/store/data/Run2018B/JetHT/ALCARECO/HcalCalIsoTrkFilter-PromptReco-v1/000/317/696/00000/D60EC93B-9870-E811-BAF3-FA163E8DA20D.root',
# '/store/mc/Run3Summer19DR/DoublePion_E-50/GEN-SIM-RECO/2021ScenarioNZSRECONoPU_106X_mcRun3_2021_realistic_v3-v2/270000/22481A14-0F65-E046-809A-C03709C76325.root'
# 'file:/afs/cern.ch/work/s/sdey/public/forsunandada/C2F61205-A366-E711-9AFA-02163E01A2B0.root',
# '/store/mc/Run3Summer19DRPremix/QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8/GEN-SIM-RECO/2021ScenarioNZSRECO_106X_mcRun3_2021_realistic_v3-v2/210000/0049D816-1F5D-C649-9D36-12A55EF44FE6.root'
# '/store/mc/Run3Summer19DRPremix/QCD_Pt-15_IsoTrkFilter_Pt-30_TuneCP5_14TeV-pythia8/GEN-SIM-RECO/2021ScenarioRECO_106X_mcRun3_2021_realistic_v3-v2/30000/9CF8F3E3-B8C7-F84A-BAF2-17AD46769E1E.root'
'root://xrootd.ba.infn.it///store/data/Run2017E/JetHT/ALCARECO/HcalCalIsoTrkFilter-09Aug2019_UL2017-v1/50000/FF19B3B8-39D3-D941-8162-1AA7FB482D48.root'

'file:/eos/cms/store/group/dpg_hcal/comm_hcal/ISOTRACK/MinBias_AlcaReco_2017D_IsotrkFilter.root',
)
)

Expand All @@ -48,18 +39,19 @@
fileName = cms.string('output.root')
)

#process.HcalIsoTrkAnalyzer.maxDzPV = 1.0
#process.HcalIsoTrkAnalyzer.minOuterHit = 0
#process.HcalIsoTrkAnalyzer.minLayerCrossed = 0

process.HcalIsoTrkAnalyzer.triggers = []
process.HcalIsoTrkAnalyzer.oldID = [21701, 21603]
process.HcalIsoTrkAnalyzer.newDepth = [2, 4]
process.HcalIsoTrkAnalyzer.hep17 = True
process.HcalIsoTrkAnalyzer.dataType = 0 #0 for jetHT else 1
#process.HcalIsoTrkAnalyzer.maximumEcalEnergy = 100 # set MIP cut
#process.HcalIsoTrkAnalyzer.useRaw = 2
process.HcalIsoTrkAnalyzer.dataType = 0 # 0 for jetHT else 1
process.HcalIsoTrkAnalyzer.maximumEcalEnergy = 2.0 # set MIP cut
process.HcalIsoTrkAnalyzer.useRaw = 0 # 2 for Raw
process.HcalIsoTrkAnalyzer.unCorrect = True

process.HcalIsoTrkAnalyzer.EEHitEnergyThreshold1 = 0.00 # default 0.30
process.HcalIsoTrkAnalyzer.EEHitEnergyThreshold2 = 0.00 # coeff. of linear term
process.HcalIsoTrkAnalyzer.EEHitEnergyThreshold3 = 0.00 # coeff. of quad term
process.HcalIsoTrkAnalyzer.EEHitEnergyThresholdLow = 0.00 # minimum def 0.30

process.p = cms.Path(process.HcalIsoTrkAnalyzer)

2 changes: 1 addition & 1 deletion Configuration/AlCa/python/autoAlca.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DoubleMuon" : "TkAlZMuMu+TkAlDiMuonAndVertex+MuAlCalIsolatedMu+MuAlOverlaps+MuAlZMuMu+HcalCalLowPUHBHEMuonFilter",
# New PD in 2018 to replace SinglePhoton SingleElectron and DoubleEG in 2017
"EGamma" : "EcalESAlign+EcalUncalWElectron+EcalUncalZElectron+HcalCalIsoTrkFilter+HcalCalIterativePhiSym",
"HLTPhysics" : "TkAlMinBias+HcalCalIterativePhiSym",
"HLTPhysics" : "TkAlMinBias+HcalCalIterativePhiSym+HcalCalIsoTrkFilter+HcalCalHO+HcalCalHBHEMuonFilter",
"JetHT" : "HcalCalIsoTrkFilter+HcalCalIsolatedBunchFilter+TkAlMinBias",
"MinimumBias" : "SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias",
"MuOnia" : "TkAlUpsilonMuMu",
Expand Down

0 comments on commit bc6f603

Please sign in to comment.