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
o2::framework::Configurable<int> limitTrack1{"limitTrack1", 1, "At least this many tracks of type 1 need to be in the collision"};
757
-
o2::framework::Configurable<int> limitTrack2{"limitTrack2", 0, "At least this many tracks of type 2 need to be in the collision"};
756
+
o2::framework::Configurable<int> limitTrack1{"limitTrack1", 1, "At least this many tracks of type 1 need to be in the collision. Ignored if set to 0."};
757
+
o2::framework::Configurable<int> limitTrack2{"limitTrack2", 0, "At least this many tracks of type 2 need to be in the collision. Ignored if set to 0."};
758
758
};
759
759
760
760
classTrackBuilderDerivedToDerived
@@ -768,43 +768,51 @@ class TrackBuilderDerivedToDerived
768
768
{
769
769
mLimitTrack1 = config.limitTrack1.value;
770
770
mLimitTrack2 = config.limitTrack2.value;
771
+
772
+
if (mLimitTrack1 == 0 && mLimitTrack2 == 0) {
773
+
LOG(fatal) << "Both track limits are 0. Breaking...";
0 commit comments