You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MC/bin/o2dpg_sim_workflow.py
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,7 @@
157
157
parser.add_argument('--fwdmatching-cut-4-param', action='store_true', help='apply selection cuts on position and angular parameters')
158
158
# TPC loopers with external WGAN generator
159
159
parser.add_argument('--disable-loopers', action='store_true', help='disables fast simulated TPC loopers')
160
+
parser.add_argument('-confKeyLoopers',help='Config key parameters influencing the number of loopers in the simulation', default='')
160
161
161
162
# Matching training for machine learning
162
163
parser.add_argument('--fwdmatching-save-trainingdata', action='store_true', help='enables saving parameters at plane for matching training with machine learning')
LOG(info) << "Size mParticles at loopers stage " << mParticles.size();
449
508
} else {
450
509
LOG(error) << "Failed to import particles from O2 Kinematics or TPCLoopers";
451
510
return false;
@@ -457,7 +516,7 @@ class GenLoopersInjector : public Generator
457
516
std::unique_ptr<GeneratorFromO2Kine>mKineGen=nullptr; // Instance of GeneratorFromO2Kine to read particles from O2 kinematics file
458
517
std::unique_ptr<GenTPCLoopers>mGenTPCLoopers=nullptr; // Instance of GenTPCLoopers to generate loopers
459
518
Bool_tmAdaptiveLoopers= true; // Flag to indicate if adaptive loopers are used
460
-
floatmLoopsFraction=0.1; // Fraction of loopers to be injected adaptively
519
+
floatmLoopsFraction=0.05; // Fraction of loopers to be injected adaptively
461
520
floatmLoopsFractionPairs=0.08; // Fraction of loopers from Pairs
462
521
};
463
522
@@ -541,7 +600,7 @@ FairGenerator *
541
600
// Loopers are considered adaptive by default, meaning that the number of loopers is determined by the number of particles in the kinematics file per event
0 commit comments