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: DPG/Tasks/AOTTrack/qaImpPar.cxx
+26-11Lines changed: 26 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ struct QaImpactPar {
116
116
Configurable<int> customITShitmap_exclude{"customITShitmap_exclude", 0, "Custom ITS hitmap of layers to be excluded (consider the binary representation)"};
117
117
Configurable<int> n_customMinITShits{"n_customMinITShits", 0, "Minimum number of layers crossed by a track among those in \"customITShitmap\""};
118
118
Configurable<bool> custom_forceITSTPCmatching{"custom_forceITSTPCmatching", false, "Consider or not only ITS-TPC macthed tracks when using custom ITS hitmap"};
119
+
Configurable<float> downsamplingFraction{"downsamplingFraction", 1.1, "Fraction of tracks to be used to fill the output objects"};
119
120
120
121
/// Custom cut selection objects
121
122
TrackSelection selector_ITShitmap;
@@ -492,6 +493,11 @@ struct QaImpactPar {
492
493
/// loop over tracks
493
494
float pt = -999.f;
494
495
float p = -999.f;
496
+
float eta = -999.f;
497
+
float phi = -999.f;
498
+
int8_t sign = -1;
499
+
bool isPvContributor = false;
500
+
int nContributors = -1;
495
501
float impParRPhi = -999.f;
496
502
float impParZ = -999.f;
497
503
float impParRPhiSigma = 999.f;
@@ -511,7 +517,8 @@ struct QaImpactPar {
511
517
int cnt = 0;
512
518
for (constauto& track : tracks) {
513
519
514
-
if (keepOnlyPvContrib && !track.isPVContributor()) {
520
+
isPvContributor = track.isPVContributor();
521
+
if (keepOnlyPvContrib && !isPvContributor) {
515
522
/// let's skip all tracks that were not PV contributors originally
516
523
/// this let us ignore tracks flagged as ambiguous
0 commit comments