Skip to content

Commit 939cdbd

Browse files
authored
Update jetChargedV2.cxx
1 parent 86af8e8 commit 939cdbd

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

PWGJE/Tasks/jetChargedV2.cxx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -612,17 +612,7 @@ struct JetChargedV2 {
612612
bool applyMCCollisionCuts(TMCColl const& mccollision, TCollisions const& collisions, bool fillHistograms = false, bool isWeighted = false, float eventWeight = 1.0)
613613
{
614614
float centrality = -1.0;
615-
switch (centralityMode) {
616-
case 1:
617-
centrality = mccollision.centFT0M();
618-
break;
619-
case 2:
620-
centrality = mccollision.centFT0A();
621-
break;
622-
default:
623-
centrality = mccollision.centFT0C();
624-
break;
625-
}
615+
centrality = mccollision.centFT0M();
626616

627617
if (fillHistograms) {
628618
registry.fill(HIST("h_mccollisions"), 0.5);

0 commit comments

Comments
 (0)