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

Parameters Description
chi2cut chi2 max value allowed for the TwoBodyDecay fit quality

-- EricConte - 14-Feb-2012

Edit | Attach | Watch | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-02-14 - EricConte
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 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