Jeff Hartnell + Chris Smith.
This package provides a custom tracker for the MINOS calibration
detector that was used extensively in the calibration and analysis of
the CalDet data. There are two distinct tracking modes: one for
straight cosmics muons and one for particles that have track-like
energy depositions and that may stop in the detector.
Much of the information from CalDetSI
packages is written out so as to allow selection of a clean sample of a
given particle type.
There is also code to analyse the output of the tracker to perform
strip-to-strip and MEU calibrations among other things.
The tracker requires a "triggered" (event-like snarls) input file; they
can be distinguished by *.tdaq.root rather than the more common
The output objects of the tracker are all stored in a TTree in a file
typically called Tracker*.root. Some of the objects are created on a
per snarl basis and others only once per file.
The tree is called:
ftree=new TTree("TrackerTree","Tracker Tree");
These tree branches are written to on a per snarl basis:
These branches are written to once per file:
TTree opt_tree("TrackerOptions","Tracker Options");
The TrackedHitInfo objects are stored in a separate TClonesArray for
each event. There is a separate TrackedHitInfo object in the
TClonesArray for each stripend in the event. Similarly for the
CCHitInfo, XTalkHitInfo, UnTrackedHitInfo, StraightTrackedHitInfo.
The TruthHitInfo object is similar to the TrackedHitInfo object except
that the information is stored on a strip rather than stripend basis.
The TrackerOptions branch stores the tracker configuration parameters.
The PIDInfo stores the information about the Ckv counters and TOF hits
etc. It also stores the auto PID results from the CalDetPID package. In
the case of MC it stores the true particle momentum and PID but nothing
The Truth and PID objects are not written out by default.
The analysis classes output various histogram files, text files,
graphics and text output on the screen.
The event display can be found in the CalDetTracker/CDEvDisplay
directory. There are scripts to run it there too.
Most of the database access in this package is done via other packages,
e.g. Calibrator, Plex, CalDetSI/PID, etc. However the beam momentum for
the actual beam-data runs is obtained directly from a database table.
The tracker is configured using the tracker.C
macro. There are options to configure the CDPreFilterModule, which can
perform cuts on the data at an early to eliminate unwanted output.
For running on MC the mcTracker.C
macro should be used.
The analysis is run using the CDAna.C
macro; analysis methods are run by uncommenting them in the file.
Chris's strip-to-strip calibration code is to be found in the CalDetTracker/MuonCalib
- Chris Smith and Ryan Nichol's PhD theses
contain details of the tracking algorithms.
- Much of the work done on the MEU calibrations can be found here.
Last Modified: $Date: 2004/07/13 13:47:59 $