Skip to content

Jet hypo change the algorithm to calculate jet combinations

Peter Sherwood requested to merge peter/athena:master-25012-1 into master

040322JetStreamer.pdf

Before this commit - take all combinations sfter unrolling The jets associated with a RepeatedCondition with repeat value > 1. For such Conditions, now use an NchooseK index generator. This reduces, sometimes drastically the number of combaintions due to duplicate jet indices, or due to regenerating the same cmbination many times.

The new system uses a link list of jet indices selectors (JetStreams). The chain is driben ba a JetStreamer instance. The elements of the list are of type SimpleJetStream if the Condition repeat value is 1, and a CombinationsJetStreamer otherwise.

New streamer code: new file: TrigHLTJetHypo/src/CombinationsGenerator.cxx new file: TrigHLTJetHypo/src/CombinationsGenerator.h new file: TrigHLTJetHypo/src/CombinationsJetStream.cxx new file: TrigHLTJetHypo/src/CombinationsJetStream.h new file: TrigHLTJetHypo/src/IJetStream.h new file: TrigHLTJetHypo/src/JetStreamer.cxx new file: TrigHLTJetHypo/src/JetStreamer.h new file: TrigHLTJetHypo/src/SimpleJetStream.cxx new file: TrigHLTJetHypo/src/SimpleJetStream.h new file: TrigHLTJetHypo/src/make_jetstream.h

Modified Jet hypo code:

   modified:   TrigHLTJetHypo/src/JetGroupProduct.cxx
   modified:   TrigHLTJetHypo/src/JetGroupProduct.h

New unit testing code

   modified:   TrigHLTJetHypoUnitTests/CMakeLists.txt
   deleted:    TrigHLTJetHypoUnitTests/tests/CombinationsGenTest.cxx
   new file:   TrigHLTJetHypoUnitTests/tests/CombinationsGeneratorTest.cxx
   modified:   TrigHLTJetHypoUnitTests/tests/JetGroupProductTest.cxx
   new file:   TrigHLTJetHypoUnitTests/tests/JetStreamerTest.cxx
   new file:   TrigHLTJetHypoUnitTests/tests/make_jetstreamTest.cxx

Updated/fixed Unit testing code modified: TrigHLTJetHypoUnitTests/tests/JetGroupProductTest.cxx deleted: TrigHLTJetHypoUnitTests/tests/CombinationsGenTest.cxx

ATR-25012 @ayana @cantel @tamartin @peter

Edited by Peter Sherwood

Merge request reports