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
12 changes: 6 additions & 6 deletions ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/workflow-file]

Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)

Check failure on line 1 in ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Provide mandatory file documentation.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand All @@ -19,7 +19,7 @@
/// being used in the onTheFly tracker task.
///
/// \author David Dobrigkeit Chinellato, UNICAMP
/// \author Nicola Nicassio, University and INFN Bari

Check failure on line 22 in ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.

#include <utility>
#include <map>
Expand Down Expand Up @@ -423,12 +423,12 @@
/// \param detRadius the radius of the cylindrical layer
/// \param magneticField the magnetic field (along Z)
double calculateTrackTimeResolutionAdvanced(float pt,
float eta,
float trackPtResolution,
float trackEtaResolution,
float mass,
float detRadius,
float magneticField)
float eta,
float trackPtResolution,
float trackEtaResolution,
float mass,
float detRadius,
float magneticField)
{
// Compute tracking contribution to timing using the error propagation formula
// Uses light speed in m/ps, magnetic field in T (*0.1 for conversion kGauss -> T)
Expand Down Expand Up @@ -585,7 +585,7 @@
static std::array<float, kParticles> expectedTimeInnerTOF, expectedTimeOuterTOF;
static std::array<float, kParticles> deltaTimeInnerTOF, deltaTimeOuterTOF;
static std::array<float, kParticlex> nSigmaInnerTOF, nSigmaOuterTOF;
static constexpr int pdgArray[kParticles] = {kElectron, kMuonMinus, kPiPlus, kKPlus, kProton};

Check failure on line 588 in ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/constexpr-constant]

Use UpperCamelCase for names of constexpr constants. Names of special constants may be prefixed with "k".
float masses[kParticles];

if (plotsConfig.doQAplots) {
Expand Down
Loading