Skip to content

Commit ea22e70

Browse files
authored
Merge pull request #174 from alibuild/alibot-cleanup-14490
Please consider the following formatting changes to #14490
2 parents 54dc850 + e11f961 commit ea22e70

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

PWGLF/Tasks/Resonances/heptaquark.cxx

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,32 @@
1212
/// \brief this is a starting point for the Resonances tutorial
1313
/// \author junlee kim
1414

15+
#include "PWGLF/DataModel/ReducedHeptaQuarkTables.h"
16+
17+
#include "Common/Core/trackUtilities.h"
18+
19+
#include "CommonConstants/PhysicsConstants.h"
20+
#include "Framework/ASoAHelpers.h"
21+
#include "Framework/AnalysisDataModel.h"
22+
#include "Framework/AnalysisTask.h"
23+
#include "Framework/StepTHn.h"
24+
#include "Framework/runDataProcessing.h"
1525
#include <Framework/Configurable.h>
16-
#include <TLorentzVector.h>
26+
1727
#include <Math/GenVector/Boost.h>
18-
#include <Math/Vector4D.h>
1928
#include <Math/Vector3D.h>
29+
#include <Math/Vector4D.h>
30+
#include <TLorentzVector.h>
2031
#include <TMath.h>
2132
#include <TRandom3.h>
33+
2234
#include <fairlogger/Logger.h>
35+
36+
#include <algorithm>
2337
#include <iostream>
2438
#include <iterator>
2539
#include <string>
2640
#include <vector>
27-
#include <algorithm>
28-
29-
#include "Framework/AnalysisTask.h"
30-
#include "Framework/ASoAHelpers.h"
31-
#include "Framework/runDataProcessing.h"
32-
#include "Framework/AnalysisDataModel.h"
33-
#include "Framework/StepTHn.h"
34-
#include "Common/Core/trackUtilities.h"
35-
#include "PWGLF/DataModel/ReducedHeptaQuarkTables.h"
36-
#include "CommonConstants/PhysicsConstants.h"
3741

3842
using namespace o2;
3943
using namespace o2::framework;
@@ -203,15 +207,15 @@ struct heptaquark {
203207
double cosHel = hqlambda_boost.Vect().Dot(hqphipair_boost.Vect()) / (hqlambda_boost.Vect().Mag() * hqphipair_boost.Vect().Mag());
204208
if (std::abs(cosHel) > cfgCollinear)
205209
selection += 4;
206-
/*
207-
ROOT::Math::XYZVector rPV(col.posX(), col.posY(), col.posZ());
208-
ROOT::Math::XYZVector rSV(hq3.hqx(), hq3.hqy(), hq3.hqz());
209-
ROOT::Math::XYZVector L = rSV - rPV;
210-
ROOT::Math::XYZVector exMom(ex.Px(), ex.Py(), ex.Pz());
211-
double cosPoint = L.Dot(exMom) / (L.R() * pEx.R() + 1e-9);
212-
if (cosPoint < cfgCosPoint)
213-
return 8;
214-
*/
210+
/*
211+
ROOT::Math::XYZVector rPV(col.posX(), col.posY(), col.posZ());
212+
ROOT::Math::XYZVector rSV(hq3.hqx(), hq3.hqy(), hq3.hqz());
213+
ROOT::Math::XYZVector L = rSV - rPV;
214+
ROOT::Math::XYZVector exMom(ex.Px(), ex.Py(), ex.Pz());
215+
double cosPoint = L.Dot(exMom) / (L.R() * pEx.R() + 1e-9);
216+
if (cosPoint < cfgCosPoint)
217+
return 8;
218+
*/
215219
return selection;
216220
}
217221

0 commit comments

Comments
 (0)