|
|
|
||||||||||||||||||||||||||
set ConfigPatch MC set levelOfDetail cache set BetaMiniTuple hbook set histFileName myMiniAnalysisJob.hbk ## "NEvent" specifies the number of events to process. If omitted, process all events ## set NEvent 1000 ## specify input collections. ## source SP-B0B0bar-Run4.tcl ## add any job-specific module parameters to the module talk stanza below, e.g.: # module talk MyMiniAnalysis # btaMicroListToPrint set ChargedTracks # exit sourceFoundFile BetaMiniUser/MyMiniAnalysis.tcl |
Table 6 shows an example TCL snippet needed to configure MyMiniAnalysis, including both the TCL and module parameters.
To run this example, copy the contents of this table to workdir/myMiniAnalysisJob.tcl, set the TCL and module parameters to their desired values, and then type the command
BetaMiniApp myMiniAnalysisJob.tcl
Doing so will produce a histogram file with this example's histograms in
directory MYMINIANALYSIS.
Notes:
set NEevent <number>
If this TCL variable is not set, then all data in the input collections
become available for processing.
BbkDatasetTcl --datasets SP-B0B0bar-Run4
|
Figure 1(left) shows the difference between the reconstructed and Monte Carlo truth momenta for charged tracks from a 1000 event
sample of SP6 generic
events Monte Carlo events simulated
in release 14.4.0c.
In the same sample, Table 7 shows the number of reco BtaCandidates with and without a Monte Carlo truth BtaCandidate match as a function of the
charge of the reconstructed BtaCandidate: