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
if (eventSelections.requireIsVertexITSTPC && !collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) {
1962
2018
returnfalse;
1963
2019
}
1964
-
if (fillHists)
2020
+
if (fillHists) {
1965
2021
histos.fill(HIST("hEventSelection"), 6/* Contains at least one ITS-TPC track */);
2022
+
if (doEventQA) {
2023
+
histos.fill(HIST("hEventSelectionVsCentrality"), 6/* Contains at least one ITS-TPC track */, centrality);
2024
+
}
2025
+
}
1966
2026
1967
2027
if (eventSelections.requireIsGoodZvtxFT0VsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) {
1968
2028
returnfalse;
1969
2029
}
1970
-
if (fillHists)
2030
+
if (fillHists) {
1971
2031
histos.fill(HIST("hEventSelection"), 7/* PV position consistency check */);
2032
+
if (doEventQA) {
2033
+
histos.fill(HIST("hEventSelectionVsCentrality"), 7/* PV position consistency check */, centrality);
2034
+
}
2035
+
}
1972
2036
1973
2037
if (eventSelections.requireIsVertexTOFmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTOFmatched)) {
1974
2038
returnfalse;
1975
2039
}
1976
-
if (fillHists)
2040
+
if (fillHists) {
1977
2041
histos.fill(HIST("hEventSelection"), 8/* PV with at least one contributor matched with TOF */);
2042
+
if (doEventQA) {
2043
+
histos.fill(HIST("hEventSelectionVsCentrality"), 8/* PV with at least one contributor matched with TOF */, centrality);
2044
+
}
2045
+
}
1978
2046
1979
2047
if (eventSelections.requireIsVertexTRDmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTRDmatched)) {
1980
2048
returnfalse;
1981
2049
}
1982
-
if (fillHists)
2050
+
if (fillHists) {
1983
2051
histos.fill(HIST("hEventSelection"), 9/* PV with at least one contributor matched with TRD */);
2052
+
if (doEventQA) {
2053
+
histos.fill(HIST("hEventSelectionVsCentrality"), 9/* PV with at least one contributor matched with TRD */, centrality);
2054
+
}
2055
+
}
1984
2056
1985
2057
if (eventSelections.rejectSameBunchPileup && !collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) {
1986
2058
returnfalse;
1987
2059
}
1988
-
if (fillHists)
2060
+
if (fillHists) {
1989
2061
histos.fill(HIST("hEventSelection"), 10/* Not at same bunch pile-up */);
2062
+
if (doEventQA) {
2063
+
histos.fill(HIST("hEventSelectionVsCentrality"), 10/* Not at same bunch pile-up */, centrality);
2064
+
}
2065
+
}
1990
2066
1991
2067
if (eventSelections.requireNoCollInTimeRangeStd && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStandard)) {
1992
2068
returnfalse;
1993
2069
}
1994
-
if (fillHists)
2070
+
if (fillHists) {
1995
2071
histos.fill(HIST("hEventSelection"), 11/* No other collision within +/- 2 microseconds or mult above a certain threshold in -4 - -2 microseconds*/);
2072
+
if (doEventQA) {
2073
+
histos.fill(HIST("hEventSelectionVsCentrality"), 11/* No other collision within +/- 2 microseconds or mult above a certain threshold in -4 - -2 microseconds*/, centrality);
2074
+
}
2075
+
}
1996
2076
1997
2077
if (eventSelections.requireNoCollInTimeRangeStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStrict)) {
1998
2078
returnfalse;
1999
2079
}
2000
-
if (fillHists)
2080
+
if (fillHists) {
2001
2081
histos.fill(HIST("hEventSelection"), 12/* No other collision within +/- 10 microseconds */);
2082
+
if (doEventQA) {
2083
+
histos.fill(HIST("hEventSelectionVsCentrality"), 12/* No other collision within +/- 10 microseconds */, centrality);
2084
+
}
2085
+
}
2002
2086
2003
2087
if (eventSelections.requireNoCollInTimeRangeNarrow && !collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeNarrow)) {
2004
2088
returnfalse;
2005
2089
}
2006
-
if (fillHists)
2090
+
if (fillHists) {
2007
2091
histos.fill(HIST("hEventSelection"), 13/* No other collision within +/- 2 microseconds */);
2092
+
if (doEventQA) {
2093
+
histos.fill(HIST("hEventSelectionVsCentrality"), 13/* No other collision within +/- 2 microseconds */, centrality);
2094
+
}
2095
+
}
2008
2096
2009
2097
if (eventSelections.requireNoCollInROFStd && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStandard)) {
2010
2098
returnfalse;
2011
2099
}
2012
-
if (fillHists)
2100
+
if (fillHists) {
2013
2101
histos.fill(HIST("hEventSelection"), 14/* No other collision within the same ITS ROF with mult. above a certain threshold */);
2102
+
if (doEventQA) {
2103
+
histos.fill(HIST("hEventSelectionVsCentrality"), 14/* No other collision within the same ITS ROF with mult. above a certain threshold */, centrality);
2104
+
}
2105
+
}
2014
2106
2015
2107
if (eventSelections.requireNoCollInROFStrict && !collision.selection_bit(o2::aod::evsel::kNoCollInRofStrict)) {
2016
2108
returnfalse;
2017
2109
}
2018
-
if (fillHists)
2110
+
if (fillHists) {
2019
2111
histos.fill(HIST("hEventSelection"), 15/* No other collision within the same ITS ROF */);
2112
+
if (doEventQA) {
2113
+
histos.fill(HIST("hEventSelectionVsCentrality"), 15/* No other collision within the same ITS ROF */, centrality);
2114
+
}
2115
+
}
2020
2116
2021
2117
if (doPPAnalysis) { // we are in pp
2022
2118
if (eventSelections.requireINEL0 && collision.multNTracksPVeta1() < 1) {
0 commit comments