Refitting tracks with TwoBodyDecay constraints

Complete: 1

Introduction

Description of the TwoBodyDecay algorithm

Installation of the package

The available recipes

There is a python 'cff' file dedicated to each kind of constraint.

  • 'TwoBodyDecayVertexConstraintProducer_cff.py' for vertex constraint
  • 'TwoBodyDecayMomentumConstraintProducer_cff.py' for momentum constraint
  • 'TwoBodyDecayConstraintProducer_cff.py' for trajectory state constraint

The module sequences of these files are based on the same sketch :

  • selecting the tracks with a TrackSelector
  • refitting the tracks according to the alignment and calibration configuration
  • constructing a constraint with TwoBodyDecay from the selected tracks
  • refitting the selected track with the produced constraint

To uses these files, you have just to include in your main python script le following lines (example in the case of the momentum constraint) :

process.load("refitter.TwoBodyDecayMomentumConstraintProducer_cff.py")
AlignmentTrackSelector.src = cms.InputTag( "generalTracks" )

The first line allows to call the correct 'cff' file ; the second one to specify the origin the source of the tracks (by default 'generalTracks'). The sequence returns a collection of 'reco::Track' with the tag 'TrackRefitterTBDFullConstraint'.

Advanced use : change recipe settings

Track selection

TwoBodyDecay

Several parts in the configuration.

Parameters Description
beamSpot InputTag of the beamSpot
primaryMass mean value of the Z mass
primaryWidth width of the Z boson = weight to the Z mass in the chi2 estimation
secondaryMass mean value of the muon mass

  • cut

ParametersSorted ascending Description
chi2cut chi2 max value allowed for the TwoBodyDecay fit quality

-- EricConte - 14-Feb-2012


This topic: CMSPublic > DefaultWeb > WebHome > SWGuide > SWGuideTrackReco > SWGuideRefitterWithConstraints > ReffiterWithTwobodydecayConstraint
Topic revision: r1 - 2012-02-14 - EricConte
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback