Skip to content

Commit e6d380f

Browse files
authored
Merge pull request #139 from alibuild/alibot-cleanup-10885
Please consider the following formatting changes to #10885
2 parents bfd5b07 + 516b12e commit e6d380f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

EventFiltering/PWGLF/strangenessFilter.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ struct strangenessFilter {
210210
float getV0V0Radius(TVector3 v01pos, TVector3 v01mom, TVector3 v02pos, TVector3 v02mom)
211211
{
212212
TVector3 posdiff = v02pos - v01pos;
213-
v01mom *= 1./v01mom.Mag();
214-
v02mom *= 1./v02mom.Mag();
213+
v01mom *= 1. / v01mom.Mag();
214+
v02mom *= 1. / v02mom.Mag();
215215
float dd = 1. - TMath::Power(v01mom.Dot(v02mom), 2);
216216
if (dd < 1e-5)
217217
return 999;
@@ -631,7 +631,7 @@ struct strangenessFilter {
631631

632632
std::vector<int> v0sLambdaSel;
633633
for (auto& v00 : v0Base) { // loop over v0 for pre selection
634-
hCandidate->Fill(0.5); // All candidates
634+
hCandidate->Fill(0.5); // All candidates
635635

636636
const auto posTrack0 = v00.posTrack_as<TrackCandidates>();
637637
const auto negTrack0 = v00.negTrack_as<TrackCandidates>();
@@ -664,7 +664,7 @@ struct strangenessFilter {
664664
}
665665

666666
for (auto& v00 : v0Base) { // loop over lambda using previous selection
667-
if (std::find(v0sLambdaSel.begin(), v0sLambdaSel.end(), v00.globalIndex()) == v0sLambdaSel.end() ) {
667+
if (std::find(v0sLambdaSel.begin(), v0sLambdaSel.end(), v00.globalIndex()) == v0sLambdaSel.end()) {
668668
continue;
669669
}
670670

@@ -682,7 +682,7 @@ struct strangenessFilter {
682682
TVector3 v00mom(mStraHelper.v0.momentum[0], mStraHelper.v0.momentum[1], mStraHelper.v0.momentum[2]);
683683

684684
for (auto& v01 : v0Base) {
685-
if (std::find(v0sLambdaSel.begin(), v0sLambdaSel.end(), v01.globalIndex()) == v0sLambdaSel.end() ) {
685+
if (std::find(v0sLambdaSel.begin(), v0sLambdaSel.end(), v01.globalIndex()) == v0sLambdaSel.end()) {
686686
continue;
687687
}
688688
if (v00.globalIndex() <= v01.globalIndex()) {

EventFiltering/filterTables.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ DECLARE_SOA_COLUMN(TrackedXi, hasTrackedXi, bool); //! at least 1
154154
DECLARE_SOA_COLUMN(TrackedOmega, hasTrackedOmega, bool); //! at least 1 tracked Omega
155155
DECLARE_SOA_COLUMN(Tracked3Body, hasTracked3Body, bool); //! at least 1 tracked 3Body
156156
DECLARE_SOA_COLUMN(OmegaHighMult, hasOmegaHighMult, bool); //! at least 1 Omega + high-mult event
157-
DECLARE_SOA_COLUMN(LambdaLambda, lambdaLambda, bool); //! at least 2 lambda satisfying selection
157+
DECLARE_SOA_COLUMN(LambdaLambda, lambdaLambda, bool); //! at least 2 lambda satisfying selection
158158

159159
// F1-proton
160160
DECLARE_SOA_COLUMN(TriggerEventF1Proton, triggereventf1proton, bool); //! F1 - proton femto trigger event

0 commit comments

Comments
 (0)