Skip to content

Commit d8ef539

Browse files
authored
U
1 parent 5bf9a68 commit d8ef539

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

ALICE3/Core/DelphesO2LutWriter.h

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88
// In applying this license CERN does not waive the privileges and immunities
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
11-
1211
///
13-
/// @file DelphesO2LutWriter.h
14-
/// @brief Porting to O2Physics of DelphesO2 code.
12+
/// \file DelphesO2LutWriter.h
13+
/// \brief Porting to O2Physics of DelphesO2 code.
1514
/// Minimal changes have been made to the original code for adaptation purposes, formatting and commented parts have been considered.
1615
/// Relevant sources:
1716
/// DelphesO2/src/lutWrite.cc https://github.com/AliceO2Group/DelphesO2/blob/master/src/lutWrite.cc
18-
/// @author: Roberto Preghenella
19-
/// @email: preghenella@bo.infn.it
17+
/// \author: Roberto Preghenella
18+
/// \email: preghenella@bo.infn.it
2019
///
2120

2221
#ifndef ALICE3_CORE_DELPHESO2LUTWRITER_H_
@@ -25,6 +24,8 @@
2524
#include "ALICE3/Core/DelphesO2TrackSmearer.h"
2625
#include "ALICE3/Core/FastTracker.h"
2726

27+
#include "ReconstructionDataFormats/PID.h"
28+
2829
#include "TGraph.h"
2930

3031
#include <string>
@@ -49,15 +50,15 @@ class DelphesO2LutWriter
4950
bool fatSolve(lutEntry_t& lutEntry,
5051
float pt = 0.1,
5152
float eta = 0.0,
52-
const float mass = 0.13957000,
53+
const float mass = o2::track::pid_constants::sMasses[o2::track::PID::Pion],
5354
size_t itof = 0,
5455
size_t otof = 0,
5556
int q = 1,
5657
const float nch = 1);
5758

5859
void print() const;
59-
bool fwdSolve(float* covm, float pt = 0.1, float eta = 0.0, float mass = 0.13957000);
60-
bool fwdPara(lutEntry_t& lutEntry, float pt = 0.1, float eta = 0.0, float mass = 0.13957000, float Bfield = 0.5);
60+
bool fwdSolve(float* covm, float pt = 0.1, float eta = 0.0, float mass = o2::track::pid_constants::sMasses[o2::track::PID::Pion]);
61+
bool fwdPara(lutEntry_t& lutEntry, float pt = 0.1, float eta = 0.0, float mass = o2::track::pid_constants::sMasses[o2::track::PID::Pion], float Bfield = 0.5);
6162
void lutWrite(const char* filename = "lutCovm.dat", int pdg = 211, float field = 0.2, size_t itof = 0, size_t otof = 0);
6263
TGraph* lutRead(const char* filename, int pdg, int what, int vs, float nch = 0., float radius = 0., float eta = 0., float pt = 0.);
6364

0 commit comments

Comments
 (0)