You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGHF/TableProducer/mcPidTof.cxx
+82-2Lines changed: 82 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
///
13
13
/// \file mcPidTof.cxx
14
14
/// \author Fabrizio Grosa fabrizio.grosa@cern.ch
15
-
/// \brief Task to produce PID tables for TOF split for pi, K, p, de, copied from https://github.com/AliceO2Group/O2Physics/blob/master/Common/TableProducer/PID/pidTofMerge.cxx
15
+
/// \brief Task to produce PID tables for TOF split for pi, K, p, de, tr, he3 copied from https://github.com/AliceO2Group/O2Physics/blob/master/Common/TableProducer/PID/pidTofMerge.cxx
16
16
/// It works only for MC and adds the possibility to apply postcalibrations for MC.
17
17
///
18
18
@@ -720,6 +720,8 @@ static constexpr int IdxPi = 2;
720
720
staticconstexprint IdxKa = 3;
721
721
staticconstexprint IdxPr = 4;
722
722
staticconstexprint IdxDe = 5;
723
+
staticconstexprint IdxTr = 6;
724
+
staticconstexprint IdxHe = 7;
723
725
724
726
/// Task to produce the response table
725
727
structMcPidTof {
@@ -728,12 +730,16 @@ struct McPidTof {
728
730
Produces<o2::aod::pidTOFKa> tablePIDKa;
729
731
Produces<o2::aod::pidTOFPr> tablePIDPr;
730
732
Produces<o2::aod::pidTOFDe> tablePIDDe;
733
+
Produces<o2::aod::pidTOFTr> tablePIDTr;
734
+
Produces<o2::aod::pidTOFHe> tablePIDHe;
731
735
732
736
// Tables to produce (full)
733
737
Produces<o2::aod::pidTOFFullPi> tablePIDFullPi;
734
738
Produces<o2::aod::pidTOFFullKa> tablePIDFullKa;
735
739
Produces<o2::aod::pidTOFFullPr> tablePIDFullPr;
736
740
Produces<o2::aod::pidTOFFullDe> tablePIDFullDe;
741
+
Produces<o2::aod::pidTOFFullTr> tablePIDFullTr;
742
+
Produces<o2::aod::pidTOFFullHe> tablePIDFullHe;
737
743
738
744
// Detector response parameters
739
745
o2::pid::tof::TOFResoParamsV3 mRespParamsV3;
@@ -768,7 +774,7 @@ struct McPidTof {
768
774
{
769
775
mTOFCalibConfig.inheritFromBaseTask(initContext);
770
776
// Checking the tables are requested in the workflow and enabling them (only pi, K, p)
0 commit comments