Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 TwoBodyDecayMomConstraint = cms.EDProducer(
0004     "TwoBodyDecayMomConstraintProducer",
0005     src = cms.InputTag("AlignmentTrackSelector"),
0006     beamSpot = cms.InputTag("offlineBeamSpot"),
0007 
0008     ## Define the TBD
0009     primaryMass = cms.double(91.1876),
0010     primaryWidth = cms.double(2.4952),
0011     secondaryMass = cms.double(0.105658),
0012 
0013     ## Configure the TBD estimator
0014     EstimatorParameters = cms.PSet(
0015         MaxIterationDifference = cms.untracked.double(0.01),
0016         RobustificationConstant = cms.untracked.double(1.0),
0017         MaxIterations = cms.untracked.int32(100),
0018         UseInvariantMass = cms.untracked.bool(True)
0019     ),
0020 
0021     ## Cut on chi2 of kinematic fit
0022     chi2Cut = cms.double( 10. ),
0023 
0024     ## Use momentum at vertex or at innermost surface for constraint? Should have the same
0025     ## absolute value, but propagation to the innermost surface allows for a position cut.
0026     momentumForRefitting = cms.string( "atVertex" ),
0027 
0028     ## Fixed error on momentum constraint (to enforce impact on track re-fit)
0029     fixedMomentumError = cms.double( 1e-4 ),
0030 
0031     ## Configure matching of measured and estimated tsos (only done if 'momentumForRefitting' == 'atInnermostSurface').
0032     sigmaPositionCut = cms.double( 5e-1 )
0033 )