Skip to content

Commit e85c101

Browse files
author
ayatsuji
committed
Add EP-preserving track rotation
1 parent 73d4a77 commit e85c101

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

PWGDQ/Core/VarManager.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ void VarManager::FillEfficiency(float* values)
454454
}
455455
}
456456

457-
458457
//__________________________________________________________________
459458
std::tuple<float, float, float, float, float> VarManager::BimodalityCoefficientUnbinned(const std::vector<float>& data)
460459
{

PWGDQ/Core/VarManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3965,9 +3965,9 @@ void VarManager::FillPairRotation(T1 const& t1, T2 const& t2, int rotation, floa
39653965
if (rotation == 1) {
39663966
rotationphi2 = t2.phi() + o2::constants::math::PI;
39673967
} else if (rotation == 2) {
3968-
rotationphi2 = 2*values[kPsi2A] - t2.phi() ;
3968+
rotationphi2 = 2 * values[kPsi2A] - t2.phi();
39693969
} else if (rotation == 3) {
3970-
rotationphi2 = 2*values[kPsi2A] - t2.phi() + o2::constants::math::PI;
3970+
rotationphi2 = 2 * values[kPsi2A] - t2.phi() + o2::constants::math::PI;
39713971
}
39723972

39733973
if (rotationphi2 >= o2::constants::math::TwoPI) {

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ struct AnalysisSameEventPairing {
24142414
fHistMan->FillHistClass(Form("PairsBarrelTRPM_ambiguousextra_%s", fTrackCuts[icut].Data()), dqtablereader_helpers::varValues());
24152415
}
24162416
}
2417-
} else if(fConfigNRotations.value == 3) {
2417+
} else if (fConfigNRotations.value == 3) {
24182418
for (int irot = 1; irot <= fConfigNRotations.value; irot++) {
24192419
VarManager::FillPairRotation<TPairType, TTrackFillMap>(t1, t2, irot);
24202420
if constexpr (TPairType == VarManager::kDecayToEE) {

0 commit comments

Comments
 (0)