Skip to content

Commit 2de149b

Browse files
authored
Merge pull request cms-sw#42736 from mmusich/addMassConstraintJPsiMuMu
`ConfigureAlignmentProducer`: add mass constraint for `ALCARECOTkAlJpsiMuMu`
2 parents 22055fc + a79fc16 commit 2de149b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
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

0 commit comments

Comments
 (0)