Global Tracking Ntuple Generator (package gtr_tuple)
05jun01 1200
Code version 0.21
An introduction to D0 global tracking may be found at
http://www-d0.fnal.gov/global_tracking.
Links to code
The description below includes links to the code contained in this
package. This
version
of the code may not be the most recent.
Description
GTR package gtr_evt defines a framework package for filling
an ntuple with global tracks.
The following framework package is defined:
- GtrTuplePkg constructs and fills a ntuple from the tracks
in the global track chunk (GTrackChunk). It may be registered
using the object RegisterGtrTuplePkg.o.
The physical components include:
This package depends on the following external packages:
The classes defined in the above components are described below.
Each class is defined in a component of the same name unless otherwise
indicated.
The descriptions are brief.
See the header files for details.
Tuple makers
Class GTrackTupleMaker defines an event processsor which extracts
the global Monte Carlo and global reconstructed tracks from an event
and uses them to fill an ntuple.
GtrRecoTupleMaker does the same for two sets of reco tracks.
Interface to D0 framework
Class GTrackTuplePkg is a framework package which provides an interface
to GTrackTupleMaker.
RegisterGTrackTuplePkg contains header which creates the framework
registry object for GTrackTuplePkg.
It also has a source including this header. The object built from this
source is saved as a bare object which can be included on the link line
to register this framework package.
Ntuple contents
Each ntuple row corresponds to one reconstructed track (GTrack) and/or
one Monte Carlo track (MCTrack). Ntuple words are organized into three
groups, which may be separately turned on or off via rcp.
-
mc - MCTracks at initial surface (=dca).
-
mc2 - MCTracks at final surface.
-
reco - GTracks.
The initial surface is defined as the first state in an MCTrack, which is
typically the dca.
The final surface is specified via rcp or the last state
in an MCTrack. Regardless of the definition of the initial and final
surfaces, tracks are propagated to the matching surface before filling
the ntuple. The default matching surface is the dca.
General ntuple words
MC ntuple words
- stat - 0=mc/reco match, 1=mc only, 2=reco only.
- mchsq - Match chisquare at initial surface.
- MC track parameters at initial surface.
- mrs - Signed radius = radius * sign(alpha) (DCA match surface).
- malf - Alpha (cylinder match surface).
- mz - Z.
- mphid - Phi position.
- mtln - Tan(lambda)
- mqpt - q/pT.
- mstates - Number of track states.
- mcfthits - Number of track states in cft.
- msmthits - Number of track states in smt.
- mcparent - MC parent word.
- pdgid - MC PDG particle type.
- mcid - MC particle index.
- mcidclus - MC particle index from clusters.
- numshar - Number of shared clusters.
- clus_pur - Cluster purity.
- mri - Radius of track at initial surface.
- mzi - Z of track at initial surface.
MC2 ntuple words
- mchsq2 - Match chisquare at final surface.
- MC track parameters at final surface.
- mrs2 - Signed radius (DCA match surface).
- malf2 - Alpha (cylinder match surface).
- mz2 - Z.
- mphid2 - Phi position.
- mtlm2 - Tan(lambda).
- mqpt2 - q/pT.
- mrf - Radius of track at final surface.
- mzf - Z of track at final surface.
Reco ntuple words
- Reco track parameters at initial surface.
- rrs - Signed radius (DCA match surface).
- ralf - Alpha (cylinder match surface).
- rz - Z.
- rphid - Phi position.
- rtlm - Tan(lambda).
- rqpt - q/pT.
- Diagonal components of error matrix.
- err - Radius.
- ezz - Z.
- epp - Phi position.
- ell - Tan(lambda).
- eqq - q/pT.
- chisq - Fit chisquare.
- nhit - Number of hits.
- nmeas - Number of measurements.
- nmcft - Number of measurements in cft.
- nmsmt - Number of measurements in smt.
- pmiss - Product of all miss probabilities.
Questions or comments to greenlee@fnal.gov.