====== Track strategy tuning ====== The LCSim Java package (nameley the SeedTracker driver) used for track reconstruction in the FPaDSim software chain relies on a list of "tracking strategies," which is a list of tracking layer collections for seeding, confirming, and extending tracks. These collections must be optimized for a particular geometry configuration and can be tuned for minimum number of hits, max chi^2, etc. In order to optimize the strategies list, a representative data set must be simulated, containing a significant number of tracks that span the phase space and particle species to be tracked. This then serves as an input to the strategy list builder built into the LCSim package. Additionally, a set of configuration files specify the requirements of the track fit, and the parameters used for the seeding algorithm. The ingredients for building the strategy list are... * traningSample.slcio - An LCIO file filled with simulated particles * strategyBuilder.xml - A configuration file for building the strategy list * prototypeStrategy.xml - A prototype tracking strategy * layerWeights.xml - A file for specifying weights for seed layers ===== trainingSample.slcio ===== Generated in FPaDSim with SLIC, this file serves as a broad representation of tracks to be fitted. A reasonable approach is to fill this file with various species of particles, each flatly distributed in pseudorapidity and an appropriate range of transverse momenta. It is possible to simulate the different particle species separately, and then concatenate the slcio files. ===== strategyBuilder.xml ===== An example file is found below. This file tells LCSim to run the StrategyBuilder driver, and gives seed parameters like minimum number of hit layers, and the number of layers used for seeding are specified. ${trainingSampleFile} -1 false true true ${outputStrategyFile} true ${layerWeightsFile} ${prototypeStrategyFile} 5 1 3 true ===== prototypeStrategy.xml === An example file is found below. In this file, fit requirements like maximum chi^2 are specified. sieic5 0.2 5 1 5.0 10.0 10.0 5.0 ===== layerWeights.xml ===== An example file is found below. 1.0 1. 1. 0.99 0.99 0.99 1.0 sieic5 0.5 2.01 2.02 2.03 2.04 2.05 3.06 3.07 3.08 0 0 1.01 1.02 1.03 1.04 1.05 1.06 1.07 2.08 2.09 2.10 2.11 1.01 1.02 1.03 1.04 1.05 1.06 1.07 2.08 2.09 2.10 2.11 ===== Running the strategy builder ===== The strategies list can then be built by running the following command... java -jar \ -DprototypeStrategyFile=prototypeStrategy.xml \ -DlayerWeightsFile=layerWeights.xml \ -DtrainingSampleFile=trainingSample.slcio \ -DoutputStrategyFile=trackingStrategies.xml \ strategyBuilder.xml The trackingStrategies.xml file is the output of the StrategyBuilder driver, which can then be passed to the SeedTracker driver during reconstruction.