trf_proptest: a tool to ensure that similar propagators yield similar results

27nov00 1210
Code version 0.63


The proptest binary reads two lists of propagators and surfaces from the input file trf_proptest.input. It also reads the number of "events" to process; each event will consist of a randomly generated track which starts on an ideal cylinder 0.0001 cm from the beampipe. The code generates a random track (with ETrackGenerator) that lies within the specified ETrackGeneratorLimits. The track travels along each of the two paths specified in the input file. The two results comprise a single event in the final ntuple.

Excluding integrated tests, the physical components include:

trf_proptest currently depends on the following external packages:

A user that wishes to test propagators or surfaces that are new to the framework must introduce new dependencies.

Operating Instructions



If you want to test new or high-level propagators or surfaces, then check out a private version of trf_proptest and then:
  1. go into the "bin" directory that holds trf_proptest_registrations.hpp. Edit this file to include headers and calls that will "register" your new objects with objstream. Your new code must make use of registration functions as defined in objstream to use trf_proptest.
  2. edit LIBRARIES to include your package(s).
  3. remake the package ( cd ../.. ; gmake trf_proptest.bin )
  4. continue with the instructions below.



If you want to test only the rudimentary propagators and surfaces that reside in trfcyl, trfdca, etc., or if you have completed the above, simply:

  1. Copy trf_proptest.input to your local area and edit it. It contains the number of events to process at the top, followed by two lists of propagators and surfaces. The proptest package can only test objects that can read themselves from objstream.

    Execute trf_proptest (the binary file). It should report that it is making an ntuple with the specified number of events. When it is complete...

    Go into paw and execute the trf_proptest.kumac file. This will make several diagnostic histograms and includes several macros to help you take a look at them.

    The ntuple contains the following words:



    At the tree-level, the tracks should have identical parameters because they start and end in the same place. You should expect small differences if for instance you have different matter effects, which will change error matrices in the case of multiple scattering, or if you have different dE/dx losses.


    Questions or comments to dladams@fnal.gov or jkrane@fnal.gov

    .