Skip to content

Commit 8121eaf

Browse files
EloviyoShirajum Monira
andauthored
[PWGCF] fixed typo and added TOF tables (#11137)
Co-authored-by: Shirajum Monira <shirajum.monira@cernch>
1 parent 93781a0 commit 8121eaf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

PWGCF/TableProducer/filter2Prong.cxx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
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+
12+
/// \author Jasper Parkkila <jasper.parkkila@cern.ch>
13+
1114
#include <experimental/type_traits>
1215
#include <vector>
1316
#include <string>
@@ -39,11 +42,10 @@ using namespace o2::math_utils::detail;
3942
struct Filter2Prong {
4043
O2_DEFINE_CONFIGURABLE(cfgVerbosity, int, 0, "Verbosity level (0 = major, 1 = per collision)")
4144
O2_DEFINE_CONFIGURABLE(cfgYMax, float, -1.0f, "Maximum candidate rapidity")
42-
//
4345
O2_DEFINE_CONFIGURABLE(cfgImPart1Mass, float, o2::constants::physics::MassKPlus, "Daughter particle 1 mass in GeV")
4446
O2_DEFINE_CONFIGURABLE(cfgImPart2Mass, float, o2::constants::physics::MassKMinus, "Daughter particle 2 mass in GeV")
45-
O2_DEFINE_CONFIGURABLE(cfgImPart1PID, float, o2::track::PID::Kaon, "PID of daughter particle 1 (O2 PID ID)")
46-
O2_DEFINE_CONFIGURABLE(cfgImPart2PID, float, o2::track::PID::Kaon, "PID of daughter particle 1 (O2 PID ID)")
47+
O2_DEFINE_CONFIGURABLE(cfgImPart1PID, int, o2::track::PID::Kaon, "PID of daughter particle 1 (O2 PID ID)")
48+
O2_DEFINE_CONFIGURABLE(cfgImPart2PID, int, o2::track::PID::Kaon, "PID of daughter particle 2 (O2 PID ID)")
4749
O2_DEFINE_CONFIGURABLE(cfgImCutPt, float, 0.2f, "Minimal pT for candidates")
4850
O2_DEFINE_CONFIGURABLE(cfgImMinInvMass, float, 0.95f, "Minimum invariant mass (GeV)")
4951
O2_DEFINE_CONFIGURABLE(cfgImMaxInvMass, float, 1.07f, "Maximum invariant mass (GeV)")
@@ -165,7 +167,7 @@ struct Filter2Prong {
165167
PROCESS_SWITCH(Filter2Prong, processMC, "Process MC 2-prong daughters", false);
166168

167169
// Generic 2-prong invariant mass method candidate finder. Only works for non-identical daughters of opposite charge for now.
168-
using PIDTrack = soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection, aod::pidTPCPi, aod::pidTPCKa, aod::pidTPCPr>;
170+
using PIDTrack = soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection, aod::pidTPCPi, aod::pidTPCKa, aod::pidTPCPr, aod::pidTOFPi, aod::pidTOFKa, aod::pidTOFPr>;
169171
void processDataInvMass(aod::Collisions::iterator const&, aod::BCsWithTimestamps const&, aod::CFCollRefs const& cfcollisions, aod::CFTrackRefs const& cftracks, PIDTrack const& tracks)
170172
{
171173
if (cfcollisions.size() <= 0 || cftracks.size() <= 0)

0 commit comments

Comments
 (0)