CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TwoBodyDecayMomConstraintProducer_cff.py
Go to the documentation of this file.
2 
3 TwoBodyDecayMomConstraint = cms.EDProducer(
4  "TwoBodyDecayMomConstraintProducer",
5  src = cms.InputTag("AlignmentTrackSelector"),
6  beamSpot = cms.InputTag("offlineBeamSpot"),
7 
8  ## Define the TBD
9  primaryMass = cms.double(91.1876),
10  primaryWidth = cms.double(2.4952),
11  secondaryMass = cms.double(0.105658),
12 
13  ## Configure the TBD estimator
14  EstimatorParameters = cms.PSet(
15  MaxIterationDifference = cms.untracked.double(0.01),
16  RobustificationConstant = cms.untracked.double(1.0),
17  MaxIterations = cms.untracked.int32(100),
18  UseInvariantMass = cms.untracked.bool(True)
19  ),
20 
21  ## Cut on chi2 of kinematic fit
22  chi2Cut = cms.double( 10. ),
23 
24  ## Use momentum at vertex or at innermost surface for constraint? Should have the same
25  ## absolute value, but propagation to the innermost surface allows for a position cut.
26  momentumForRefitting = cms.string( "atVertex" ),
27 
28  ## Fixed error on momentum constraint (to enforce impact on track re-fit)
29  fixedMomentumError = cms.double( 1e-4 ),
30 
31  ## Configure matching of measured and estimated tsos (only done if 'momentumForRefitting' == 'atInnermostSurface').
32  sigmaPositionCut = cms.double( 5e-1 )
33 )