Next: Bibliography
Up: Examples
Previous: MyDstarAnalysis
This example illustrates how to select two body decays
 |
(2) |
and by default, the complex conjugate decay as well. The resulting vee
candidates are
written to a list which is stored in the event.
A simple ntuple is also written.
The analysis module
may be cloned, which means that an analysis chain can be created to study
sequential two-body decays as well (the output lists from two clones can be
input to a third clone).
Table:
myK0MiniAnalysisJob.tcl snippet.
set levelOfDetail cache
set ConfigPatch "MC"
set BetaMiniTuple "hbook"
set histFileName "MyK0MiniAnalysis.hbook"
set NEvent 1000
## configure analysis module
##
module talk MyK0Analysis
andCC set false
beamConstraint set false
exit
## specify input collections
##
source SP-B0B0bar-Run4.tcl
sourceFoundFile BetaMiniUser/MyK0MiniAnalysis.tcl
|
There is no attempt in
this example to adjudicate multiple vee combinations per event: multiple
vee BtaCandidates within an event may share daughters. While the daughter
tracks within a vee do not overlap (by construction), there is no check that
the granddaughters (or descendents) within a vee do not overlap. By default,
the decay
is selected.
The module parameters and their
default values are listed in Table 10.
The TCL configuration parameters are listed in
Table 11.
The default selection
criteria are listed below.
and
from ChargedTracks list accessed in cache mode;
and
fit to a common vertex using GeoKin.
invariant mass
after vertexing
GeV/
;
- chisquare fit probability
;
- signed flight length sfl along momentum vector
cm;
Details about the selection procedure can be found in the source code,
MyK0Analysis.cc.
To run this example, paste the TCL snippet in Table 11 into
workdir/myK0MiniAnalysisJob.tcl,
add the desired input collections and tailor the TCL- and module parameters
as required. Then type the command
BetaMiniApp myK0MiniAnalysisJob.tcl
This command will produce a simple paw ntuple (
),
containing the variables listed in Table 12.
Table 12:
TCL MyK0Analysis ntuple columns.
| TCL column |
definition |
| run |
run number |
| evt |
event number |
| combination |
combination within event |
| chisq |
vertexing chisquare |
| ndf |
vertexing degrees of freedom |
| probab |
chisquared fit probability |
| mass |
fitted vee invariant mass |
| momentum |
fitted vee momentum |
| sfl |
signed flight length along momentum vector |
| fltcos |
cosine of angle between flight path and momentum vector |
| properTime |
proper time computed using nominal vee mass |
| coshel |
cosine of vee daughter 1 helicity angle |
Figure 3:
(left:)
invariant mass distribution
for events from an
SP6 Monte Carlo dataset of generic
events satisfying the
selection criteria described in the text and (right:) proper time distribution
for events with
GeV/
.
|
|
Figure 3 (left) shows the
invariant
mass distribution for combinations
satisfying the selection criteria listed above.
This distribution is fitted with a single Gaussian and quadratic polynomial
PDF as shown by the solid curve. For
invariant masses
satisfying
GeV/
, the proper time distribution is
shown in the right-hand plot of Figure 3. The mean of this distribution is consistent with the world average lifetime of the
,
psec.
Next: Bibliography
Up: Examples
Previous: MyDstarAnalysis
William Stephen Lockman
2004-05-08