@@ -949,7 +949,7 @@ struct TaskPi0FlowEMC {
949949
950950 ROOT::Math::PtEtaPhiMVector v1 (g1.pt (), g1.eta (), g1.phi (), 0 .);
951951 ROOT::Math::PtEtaPhiMVector v2 (g2.pt (), g2.eta (), g2.phi (), 0 .);
952- if (cfgDoReverseScaling) {
952+ if (cfgDoReverseScaling. value ) {
953953 // Convert to PxPyPzEVector to modify energy
954954 ROOT::Math::PxPyPzEVector v1Mod (v1);
955955 v1Mod.SetE (v1Mod.E () * 1.0505 );
@@ -1057,7 +1057,7 @@ struct TaskPi0FlowEMC {
10571057 ROOT::Math::PtEtaPhiMVector v1 (g1.pt (), g1.eta (), g1.phi (), 0 .);
10581058 ROOT::Math::PtEtaPhiMVector v2 (g2.pt (), g2.eta (), g2.phi (), 0 .);
10591059
1060- if (cfgDoReverseScaling) {
1060+ if (cfgDoReverseScaling. value ) {
10611061 // Convert to PxPyPzEVector to modify energy
10621062 ROOT::Math::PxPyPzEVector v1Mod (v1);
10631063 v1Mod.SetE (v1Mod.E () * 1.0505 );
@@ -1283,7 +1283,7 @@ struct TaskPi0FlowEMC {
12831283
12841284 ROOT::Math::PtEtaPhiMVector v1 (g1.pt (), g1.eta (), g1.phi (), 0 .);
12851285 ROOT::Math::PtEtaPhiMVector v2 (g2.pt (), g2.eta (), g2.phi (), 0 .);
1286- if (cfgDoReverseScaling) {
1286+ if (cfgDoReverseScaling. value ) {
12871287 // Convert to PxPyPzEVector to modify energy
12881288 ROOT::Math::PxPyPzEVector v1Mod (v1);
12891289 v1Mod.SetE (v1Mod.E () * 1.0505 );
0 commit comments