File tree Expand file tree Collapse file tree
PWGCF/EbyEFluctuations/Tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -884,7 +884,7 @@ struct NetchargeFluctuations {
884884 int sign = 0 ;
885885 auto * pd = pdgService->GetParticle (pid);
886886 if (pd != nullptr ) {
887- sign = pd->Charge () / 3 ;
887+ sign = static_cast < int >( pd->Charge () / 3.0 ) ;
888888 }
889889 if (sign == 0 ) {
890890 continue ;
@@ -1187,7 +1187,7 @@ struct NetchargeFluctuations {
11871187 auto sign = 0 ;
11881188 auto * pd = pdgService->GetParticle (pid);
11891189 if (pd != nullptr ) {
1190- sign = pd->Charge () / 3 ;
1190+ sign = static_cast < int >( pd->Charge () / 3.0 ) ;
11911191 }
11921192 if (sign == 0 ) {
11931193 continue ;
@@ -1331,7 +1331,7 @@ struct NetchargeFluctuations {
13311331 auto sign = 0 ;
13321332 auto * pd = pdgService->GetParticle (pid);
13331333 if (pd != nullptr ) {
1334- sign = pd->Charge () / 3 ;
1334+ sign = static_cast < int >( pd->Charge () / 3.0 ) ;
13351335 }
13361336 if (sign == 0 ) {
13371337 continue ;
@@ -1408,7 +1408,7 @@ struct NetchargeFluctuations {
14081408 auto sign = 0 ;
14091409 auto * pd = pdgService->GetParticle (pid);
14101410 if (pd != nullptr ) {
1411- sign = pd->Charge () / 3 ;
1411+ sign = static_cast < int >( pd->Charge () / 3.0 ) ;
14121412 }
14131413 if (sign == 0 ) {
14141414 continue ;
You can’t perform that action at this time.
0 commit comments