Skip to content

Commit 4890a9f

Browse files
authored
Add files via upload
1 parent e872c7a commit 4890a9f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ struct HStrangeCorrelation {
8686
Configurable<bool> selectINELgtZERO{"selectINELgtZERO", true, "select INEL>0 events"};
8787
Configurable<float> zVertexCut{"zVertexCut", 10, "Cut on PV position"};
8888
Configurable<bool> requireAllGoodITSLayers{"requireAllGoodITSLayers", false, " require that in the event all ITS are good"};
89+
Configurable<bool> requireGoodTriggerTVX{"requireGoodTriggerTVX", false, " require acceptable FT0C-FT0A time difference"};
90+
Configurable<bool> requireGoodZvtxFT0vsPV{"requireGoodZvtxFT0vsPV", false, " require small difference between z-vertex from PV and from FT0"};
8991
Configurable<bool> skipUnderOverflowInTHn{"skipUnderOverflowInTHn", false, "skip under/overflow in THns"};
9092
Configurable<int> mixingParameter{"mixingParameter", 10, "how many events are mixed"};
9193
Configurable<bool> doMCassociation{"doMCassociation", false, "fill everything only for MC associated"};
@@ -1912,7 +1914,7 @@ struct HStrangeCorrelation {
19121914
if (fillHists)
19131915
histos.fill(HIST("hEventSelection"), 1.5 /* collisions after sel8*/);
19141916

1915-
if (!collision.selection_bit(aod::evsel::kIsTriggerTVX)) {
1917+
if (!collision.selection_bit(aod::evsel::kIsTriggerTVX) && masterConfigurations.requireGoodTriggerTVX) {
19161918
return false;
19171919
}
19181920
if (fillHists)
@@ -1924,14 +1926,14 @@ struct HStrangeCorrelation {
19241926
if (fillHists)
19251927
histos.fill(HIST("hEventSelection"), 3.5 /* collisions after sel pvz sel*/);
19261928

1927-
if (!collision.selection_bit(o2::aod::evsel::kIsGoodITSLayersAll)) {
1929+
if (!collision.selection_bit(aod::evsel::kIsGoodITSLayersAll) && masterConfigurations.requireAllGoodITSLayers) {
19281930
// cut time intervals with dead ITS staves
19291931
return false;
19301932
}
19311933
if (fillHists)
19321934
histos.fill(HIST("hEventSelection"), 4.5 /* collisions after cut time intervals with dead ITS staves*/);
19331935

1934-
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) {
1936+
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV) && masterConfigurations.requireGoodZvtxFT0vsPV) {
19351937
// removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference
19361938
// use this cut at low multiplicities with caution
19371939
return false;

0 commit comments

Comments
 (0)