@@ -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 ()) {
0 commit comments