Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PWGEM/Dilepton/Utils/EMTrackUtilities.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
Expand All @@ -10,7 +10,7 @@
// or submit itself to any jurisdiction.

/// \commonly used to calculate track variables
/// \author daiki.sekihata@cern.ch

Check warning on line 13 in PWGEM/Dilepton/Utils/EMTrackUtilities.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \brief is missing, incorrect or misplaced.

Check warning on line 13 in PWGEM/Dilepton/Utils/EMTrackUtilities.h

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.

#ifndef PWGEM_DILEPTON_UTILS_EMTRACKUTILITIES_H_
#define PWGEM_DILEPTON_UTILS_EMTRACKUTILITIES_H_
Expand All @@ -27,8 +27,8 @@
template <typename T>
float sigmaDca3D(T const& track)
{
float dcaXY = track.dcaXY(); // in cm
float dcaZ = track.dcaZ(); // in cm
float dcaXY = track.dcaXY(); // in cm
float dcaZ = track.dcaZ(); // in cm
float dca3d = std::sqrt(dcaXY * dcaXY + dcaZ * dcaZ); // in cm
return dca3d / dca3DinSigma(track);
}
Expand Down Expand Up @@ -80,7 +80,7 @@
float dcaX = track.fwdDcaX(); // in cm
float dcaY = track.fwdDcaY(); // in cm
float dcaXY = std::sqrt(dcaX * dcaX + dcaY * dcaY); // in cm
float det = cXX * cYY - cXY * cXY; // determinant
float det = cXX * cYY - cXY * cXY; // determinant

if (det < 0) {
return 999.f;
Expand All @@ -94,7 +94,7 @@
{
// this is only for muon at forward rapidity
if (track.trackType() == o2::aod::fwdtrack::ForwardTrackTypeEnum::GlobalMuonTrack) {
std::map<int64_t, float> map_chi2MCHMFT;

Check warning on line 97 in PWGEM/Dilepton/Utils/EMTrackUtilities.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
map_chi2MCHMFT[track.globalIndex()] = track.chi2MatchMCHMFT(); // add myself
for (const auto& glmuonId : track.globalMuonsWithSameMFTIds()) {
const auto& candidate = tracks.rawIteratorAt(glmuonId);
Expand Down
Loading