--
RicardoVazquezGomez - 2015-07-20
Stripping23 FAQ
If you want to create a new stripping line, you should look
here. The general way of testing the lines is described
here. Below follows a more detailed explanation for specific S23 testing.
How to deal with Vertex and PVRefit in the Stripping
The inclusion of PVRefit and Vertex fitters inside the stripping is detailed in this
link.
How to run the tests for timing/retention in S23?
In order to perform any test related to S23 you should use the
DaVinci HEAD present in the nightlies build. To set up the environment do
lb-dev --nightly DaVinci HEAD
After getting the head of the Phys/StrippingSelections package, do
cd Phys/StrippingSelections/tests/users
Inside the folder you will find the script
TestMyStrippingLine.py that is used to evaluate the retention and timing of the required stripping lines. Inside the script you will need to modify the line that sets the name of the
StrippingLine.
For lines going to DST the retention MUST BE 0.05%, while for lines going to mDST the retention MUST BE 0.5%. The timing per line needs to be under 1ms/event.
If the requirements are not satisifed, the changes to the configuration dictionary can be done inside the testing script without needing to modify and compile the stripping algorithm. To do so uncomment the line
confs[confname]["CONFIG"]["CutName"] = NewValue
You need to change only
CutName
and
NewValue
with the appropriate name and value that you want to test. This will change at the configuration time the value for the selected cut. Remember to update the
default_config
dictionary inside the stripping algorithm after arriving to the desired configuration.
To evaluate the timing, the script creates a copy of all the lines with the name XXX_TIMING to get the real timing consumption by the lines without taking into account the creation of
CommonParticles. This is the time that must be under 1ms/event.