Skip to content

Commit 6ecebf3

Browse files
authored
[PWGLF] store centrality with high granularity for HM-triggered events (#9080)
1 parent c5a951e commit 6ecebf3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

PWGLF/TableProducer/Nuspex/ebyeMaker.cxx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ struct ebyeMaker {
237237
Configurable<float> etaMaxV0dau{"etaMaxV0dau", 0.8f, "maximum eta V0 daughters"};
238238
Configurable<float> outerPIDMin{"outerPIDMin", -4.f, "minimum outer PID"};
239239

240-
Configurable<uint8_t> triggerCut{"triggerCut", 0x1, "trigger class to select"};
241-
242240
Configurable<bool> fillOnlySignal{"fillOnlySignal", false, "fill histograms only for true signal candidates (MC)"};
243241
Configurable<std::string> genName{"genname", "", "Genearator name: HIJING, PYTHIA8, ... Default: \"\""};
244242

@@ -1167,17 +1165,14 @@ struct ebyeMaker {
11671165
fillRecoEvent(collision, tracks, V0Table_thisCollision, cV0M);
11681166

11691167
uint8_t trigger = collision.alias_bit(kINT7) ? 0x1 : 0x0;
1170-
bool hasHMV0M = false;
11711168
for (auto& classId : classIds) {
11721169
if (bc.triggerMask() & BIT(classId)) {
1173-
hasHMV0M = true;
1170+
trigger |= 0x2;
1171+
cV0M = cV0M < 104.f ? cV0M * 100. : cV0M;
11741172
break;
11751173
}
11761174
}
1177-
if (!hasHMV0M && trigger == 0x0) {
1178-
continue;
1179-
}
1180-
if (trigger != triggerCut && triggerCut != 0x2) {
1175+
if (trigger == 0x0) {
11811176
continue;
11821177
}
11831178
miniCollTable(static_cast<int8_t>(collision.posZ() * 10), trigger, nTrackletsColl, cV0M);

0 commit comments

Comments
 (0)