Skip to content

Commit 6e775f1

Browse files
Merge branch 'cms-sw:master' into master
2 parents 0c511fd + 9a7cd3a commit 6e775f1

File tree

78 files changed

+1683
-1213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1683
-1213
lines changed

Alignment/MillePedeAlignmentAlgorithm/python/alignmentsetup/ConfigureAlignmentProducer.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def setConfiguration(process, collection, mode, monitorFile, binaryFile,
5454
## Tracktype specific ##
5555
########################
5656

57-
if collection == "ALCARECOTkAlZMuMu" or collection == "ALCARECOTkAlZMuMuHI" or collection == "ALCARECOTkAlZMuMuPA":
57+
if collection == "ALCARECOTkAlZMuMu" or collection == "ALCARECOTkAlZMuMuHI" or collection == "ALCARECOTkAlZMuMuPA" or collection == "ALCARECOTkAlDiMuon":
5858
process.AlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
5959
process.TwoBodyDecayTrajectoryFactory
6060
)
@@ -67,11 +67,20 @@ def setConfiguration(process, collection, mode, monitorFile, binaryFile,
6767
process.AlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
6868
process.TwoBodyDecayTrajectoryFactory
6969
)
70-
process.AlignmentProducer.algoConfig.TrajectoryFactory.ParticleProperties.PrimaryMass = 9.4502
70+
process.AlignmentProducer.algoConfig.TrajectoryFactory.ParticleProperties.PrimaryMass = 9.4502
7171
process.AlignmentProducer.algoConfig.TrajectoryFactory.ParticleProperties.PrimaryWidth = 0.0644
7272
process.AlignmentProducer.algoConfig.TrajectoryFactory.MaterialEffects = "LocalGBL"
7373
# to account for multiple scattering in these layers
7474
process.AlignmentProducer.algoConfig.TrajectoryFactory.UseInvalidHits = True
75+
elif collection == "ALCARECOTkAlJpsiMuMu":
76+
process.AlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
77+
process.TwoBodyDecayTrajectoryFactory
78+
)
79+
process.AlignmentProducer.algoConfig.TrajectoryFactory.ParticleProperties.PrimaryMass = 3.0969
80+
process.AlignmentProducer.algoConfig.TrajectoryFactory.ParticleProperties.PrimaryWidth = 0.03
81+
process.AlignmentProducer.algoConfig.TrajectoryFactory.MaterialEffects = "LocalGBL"
82+
# to account for multiple scattering in these layers
83+
process.AlignmentProducer.algoConfig.TrajectoryFactory.UseInvalidHits = True
7584
elif collection == "ALCARECOTkAlCosmicsCTF0T" and cosmicsZeroTesla:
7685
process.AlignmentProducer.algoConfig.TrajectoryFactory = cms.PSet(
7786
process.BrokenLinesBzeroTrajectoryFactory

CalibTracker/SiStripLorentzAngle/interface/SiStripLorentzAngleCalibrationHelpers.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,16 @@ namespace siStripLACalibration {
2323
if (detid.subDetector() == SiStripDetId::TIB) {
2424
subdet = "TIB";
2525
layer = tTopo->layer(mod);
26-
}
27-
28-
if (detid.subDetector() == SiStripDetId::TOB) {
26+
} else if (detid.subDetector() == SiStripDetId::TOB) {
2927
subdet = "TOB";
3028
layer = tTopo->layer(mod);
3129
}
3230

33-
std::string type = (detid.stereo() ? "s" : "a");
34-
std::string d_l_t = Form("%s_L%d%s", subdet.c_str(), layer, type.c_str());
35-
3631
if (layer == 0)
3732
return subdet;
33+
34+
std::string type = (detid.stereo() ? "s" : "a");
35+
std::string d_l_t = Form("%s_L%d%s", subdet.c_str(), layer, type.c_str());
3836
return d_l_t;
3937
}
4038

CalibTracker/SiStripLorentzAngle/plugins/SiStripLorentzAnglePCLHarvester.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#include "FWCore/ServiceRegistry/interface/Service.h"
3737
#include "Geometry/Records/interface/IdealGeometryRecord.h"
3838
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
39-
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
4039
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
4140
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
4241
#include "MagneticField/Engine/interface/MagneticField.h"

CalibTracker/SiStripLorentzAngle/plugins/SiStripLorentzAnglePCLMonitor.cc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include "FWCore/ParameterSet/interface/ParameterSet.h"
4545
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
4646
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
47-
#include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
4847
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
4948
#include "MagneticField/Engine/interface/MagneticField.h"
5049
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
@@ -248,13 +247,15 @@ void SiStripLorentzAnglePCLMonitor::analyze(const edm::Event& iEvent, const edm:
248247
iHists_.h1_["track_eta"]->Fill(track->eta());
249248
iHists_.h1_["track_phi"]->Fill(track->phi());
250249
iHists_.h1_["track_validhits"]->Fill(track->numberOfValidHits());
251-
iHists_.h1_["track_chi2ndof"]->Fill((track->chi2() / track->ndof()));
252-
iHists_.h2_["track_chi2xhits"]->Fill((track->chi2() / track->ndof()), track->numberOfValidHits());
250+
251+
const auto normChi2 = track->ndof() > 0 ? track->chi2() / track->ndof() : -1.;
252+
iHists_.h1_["track_chi2ndof"]->Fill(normChi2);
253+
iHists_.h2_["track_chi2xhits"]->Fill(normChi2, track->numberOfValidHits());
253254
iHists_.h2_["track_ptxhits"]->Fill(track->pt(), track->numberOfValidHits());
254255
iHists_.h2_["track_etaxhits"]->Fill(track->eta(), track->numberOfValidHits());
255-
iHists_.h2_["track_ptxchi2"]->Fill(track->pt(), (track->chi2() / track->ndof()));
256+
iHists_.h2_["track_ptxchi2"]->Fill(track->pt(), normChi2);
256257
iHists_.h2_["track_ptxeta"]->Fill(track->pt(), track->eta());
257-
iHists_.h2_["track_etaxchi2"]->Fill(track->eta(), (track->chi2() / track->ndof()));
258+
iHists_.h2_["track_etaxchi2"]->Fill(track->eta(), normChi2);
258259

259260
edm::LogInfo("SiStripLorentzAnglePCLMonitor")
260261
<< " track pT()" << track->pt() << " track eta()" << track->eta() << std::endl;

Configuration/Generator/python/concurrentLumisDisable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"CosMuoGenProducer",
66
"ExhumeGeneratorFilter",
77
"Herwig7GeneratorFilter",
8+
"Herwig7HadronizerFilter",
89
"HydjetGeneratorFilter",
910
"Hydjet2GeneratorFilter",
1011
"PyquenGeneratorFilter",

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
776776
# - 2022 conditions (labelled "2021"), Z->mumu
777777
# - 2023 conditions, TTbar
778778
# - 2023 conditions, Z->mumu
779-
# - 2026D88 conditions, TTbar
779+
# - 2026 conditions, TTbar
780780
class PatatrackWorkflow(UpgradeWorkflow):
781781
def __init__(self, digi = {}, reco = {}, mini = {}, harvest = {}, **kwargs):
782782
# adapt the parameters for the UpgradeWorkflow init method
@@ -837,7 +837,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
837837
('2018' in key and fragment == "ZMM_13"),
838838
('2021' in key and fragment == "ZMM_14" and 'FS' not in key),
839839
('2023' in key and fragment == "ZMM_14" and 'FS' not in key),
840-
('2026D88' in key and fragment == "TTbar_14TeV" and "PixelOnly" in self.suffix),
840+
('2026' in key and fragment == "TTbar_14TeV"),
841841
(('HI' in key) and 'Hydjet' in fragment and "PixelOnly" in self.suffix )
842842
]
843843
result = any(selected) and hasHarvest
@@ -858,6 +858,13 @@ def setup_(self, step, stepName, stepDict, k, properties):
858858
stepDict[stepName][k] = None
859859
else:
860860
stepDict[stepName][k] = merge([self.__reco, stepDict[step][k]])
861+
if 'Phase2' in stepDict[stepName][k]['--era']:
862+
if 'DQM:@standardDQM+@ExtraHLT' in stepDict[stepName][k]['-s']:
863+
stepDict[stepName][k]['-s'] = stepDict[stepName][k]['-s'].replace('DQM:@standardDQM+@ExtraHLT','DQM:@phase2')
864+
if 'VALIDATION:@standardValidation' in stepDict[stepName][k]['-s']:
865+
stepDict[stepName][k]['-s'] = stepDict[stepName][k]['-s'].replace('VALIDATION:@standardValidation','VALIDATION:@phase2Validation')
866+
867+
861868
elif 'MiniAOD' in step:
862869
if self.__mini is None:
863870
stepDict[stepName][k] = None

Configuration/PyReleaseValidation/scripts/runTheMatrix.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,12 @@ def runSelected(opt):
9292
11634.911, #2021 DD4hep ttbar reading geometry from XML
9393
11634.914, #2021 DDD ttbar reading geometry from the DB
9494
11634.0, #2021 ttbar (switching to DD4hep by default)
95-
11834.0, #2021 ttbar PU
9695
13234.0, #2021 ttbar fastsim
97-
13434.0, #2021 ttbar PU fastsim
9896
12434.0, #2023 ttbar
97+
12634.0, #2023 ttbar PU
9998
12434.7, #2023 ttbar mkFit
99+
14034.0, #2023 ttbar fastsim
100+
14234.0, #2023 ttbar PU fastsim
100101
24834.0, #2026D98 ttbar (Phase-2 baseline)
101102
24834.911, #2026D98 ttbar DD4hep XML
102103
25034.999, #2026D98 ttbar premixing stage1+stage2, PU50
@@ -105,6 +106,7 @@ def runSelected(opt):
105106
23234.0, #2026D94 ttbar (exercise with HFNose)
106107
25202.0, #2016 ttbar UP15 PU
107108
250202.181, #2018 ttbar stage1 + stage2 premix
109+
141.044 # 2023D JetMET PD
108110
],
109111
'jetmc': [5.1, 13, 15, 25, 38, 39], #MC
110112
'metmc' : [5.1, 15, 25, 37, 38, 39], #MC

Configuration/Skimming/python/PbPb_EMuSkim_cff.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# HLT dimuon trigger
44
import HLTrigger.HLTfilters.hltHighLevel_cfi
55
hltEMuHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6-
hltEMuHI.HLTPaths = ["HLT_HIL1Mu5Eta2p5_Ele20Gsf_v*"]
6+
hltEMuHI.HLTPaths = ["HLT_HIEle*Gsf_v*","HLT_HIL3SingleMu*_Open_v*"]
77
hltEMuHI.throw = False
88
hltEMuHI.andOr = True
99

@@ -17,12 +17,12 @@
1717
# single lepton selector
1818
electronSelectorForEMu = cms.EDFilter("GsfElectronRefSelector",
1919
src = cms.InputTag("gedGsfElectrons"),
20-
cut = cms.string("pt > 20 && abs(eta)<1.44")
20+
cut = cms.string("pt > 20")
2121
)
2222

2323
muonSelectorForEMu = cms.EDFilter("MuonSelector",
2424
src = cms.InputTag("muons"),
25-
cut = cms.string("(isTrackerMuon && isGlobalMuon) && pt > 20."),
25+
cut = cms.string("isPFMuon && isGlobalMuon && pt > 20."),
2626
filter = cms.bool(True)
2727
)
2828

Configuration/Skimming/python/PbPb_ZEESkim_cff.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# HLT dimuon trigger
55
import HLTrigger.HLTfilters.hltHighLevel_cfi
66
hltZEEHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
7-
hltZEEHI.HLTPaths = ["HLT_HIDoubleEle10Gsf_v*"]
7+
hltZEEHI.HLTPaths = ["HLT_HIEle*Gsf_v*"]
88
hltZEEHI.throw = False
99
hltZEEHI.andOr = True
1010

@@ -18,14 +18,14 @@
1818
# single lepton selector
1919
goodElectronsForZEE = cms.EDFilter("GsfElectronRefSelector",
2020
src = cms.InputTag("gedGsfElectrons"),
21-
cut = cms.string("pt > 25 && abs(eta)<1.44")
21+
cut = cms.string("pt > 25")
2222
)
2323

2424
## dilepton selectors
2525
diElectronsForZEE = cms.EDProducer("CandViewShallowCloneCombiner",
2626
decay = cms.string("goodElectronsForZEE goodElectronsForZEE"),
2727
checkCharge = cms.bool(False),
28-
cut = cms.string("mass > 80 && mass < 110")
28+
cut = cms.string("mass > 60")
2929
)
3030

3131
# dilepton counter

Configuration/Skimming/python/PbPb_ZMMSkim_cff.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# HLT dimuon trigger
44
import HLTrigger.HLTfilters.hltHighLevel_cfi
55
hltZMMPbPb = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6-
hltZMMPbPb.HLTPaths = ["HLT_HIL1DoubleMu10_v*"]
6+
hltZMMPbPb.HLTPaths = ["HLT_HIL3SingleMu*_Open_v*"]
77
hltZMMPbPb.throw = False
88
hltZMMPbPb.andOr = True
99

@@ -17,7 +17,7 @@
1717
# selection of dimuons with mass in Z range
1818
muonSelectorForZMM = cms.EDFilter("MuonSelector",
1919
src = cms.InputTag("muons"),
20-
cut = cms.string("(isTrackerMuon && isGlobalMuon) && pt > 25."),
20+
cut = cms.string("(isPFMuon && isGlobalMuon) && pt > 20."),
2121
filter = cms.bool(True)
2222
)
2323

@@ -28,7 +28,7 @@
2828

2929
dimuonMassCutForZMM = cms.EDProducer("CandViewShallowCloneCombiner",
3030
checkCharge = cms.bool(True),
31-
cut = cms.string(' 80 < mass < 110'),
31+
cut = cms.string('mass > 60'),
3232
decay = cms.string("muonSelectorForZMM@+ muonSelectorForZMM@-")
3333
)
3434

0 commit comments

Comments
 (0)