@@ -1192,7 +1192,7 @@ struct HigherMassResonances {
11921192 }
11931193
11941194 for (int i = 0 ; i < config.cRotations ; i++) {
1195- theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
1195+ config. theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
11961196
11971197 daughterRot = ROOT::Math::PxPyPzMVector (daughter1.Px () * std::cos (config.theta2 ) - daughter1.Py () * std::sin (config.theta2 ), daughter1.Px () * std::sin (config.theta2 ) + daughter1.Py () * std::cos (config.theta2 ), daughter1.Pz (), daughter1.M ());
11981198
@@ -1359,7 +1359,7 @@ struct HigherMassResonances {
13591359 }
13601360
13611361 for (int i = 0 ; i < config.cRotations ; i++) {
1362- theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
1362+ config. theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
13631363
13641364 daughterRot = ROOT::Math::PxPyPzMVector (daughter1.Px () * std::cos (config.theta2 ) - daughter1.Py () * std::sin (config.theta2 ), daughter1.Px () * std::sin (config.theta2 ) + daughter1.Py () * std::cos (config.theta2 ), daughter1.Pz (), daughter1.M ());
13651365
@@ -2031,7 +2031,7 @@ struct HigherMassResonances {
20312031 }
20322032
20332033 for (int i = 0 ; i < config.cRotations ; i++) {
2034- theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
2034+ config. theta2 = rn->Uniform (o2::constants::math::PI - o2::constants::math::PI / config.rotationalCut , o2::constants::math::PI + o2::constants::math::PI / config.rotationalCut );
20352035
20362036 daughterRot = ROOT::Math::PxPyPzMVector (daughter1.Px () * std::cos (config.theta2 ) - daughter1.Py () * std::sin (config.theta2 ), daughter1.Px () * std::sin (config.theta2 ) + daughter1.Py () * std::cos (config.theta2 ), daughter1.Pz (), daughter1.M ());
20372037
0 commit comments