|
8 | 8 | // In applying this license CERN does not waive the privileges and immunities |
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
| 11 | + |
| 12 | +/// \author Jasper Parkkila <jasper.parkkila@cern.ch> |
| 13 | + |
11 | 14 | #include <experimental/type_traits> |
12 | 15 | #include <vector> |
13 | 16 | #include <string> |
@@ -39,11 +42,10 @@ using namespace o2::math_utils::detail; |
39 | 42 | struct Filter2Prong { |
40 | 43 | O2_DEFINE_CONFIGURABLE(cfgVerbosity, int, 0, "Verbosity level (0 = major, 1 = per collision)") |
41 | 44 | O2_DEFINE_CONFIGURABLE(cfgYMax, float, -1.0f, "Maximum candidate rapidity") |
42 | | - // |
43 | 45 | O2_DEFINE_CONFIGURABLE(cfgImPart1Mass, float, o2::constants::physics::MassKPlus, "Daughter particle 1 mass in GeV") |
44 | 46 | 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)") |
47 | 49 | O2_DEFINE_CONFIGURABLE(cfgImCutPt, float, 0.2f, "Minimal pT for candidates") |
48 | 50 | O2_DEFINE_CONFIGURABLE(cfgImMinInvMass, float, 0.95f, "Minimum invariant mass (GeV)") |
49 | 51 | O2_DEFINE_CONFIGURABLE(cfgImMaxInvMass, float, 1.07f, "Maximum invariant mass (GeV)") |
@@ -165,7 +167,7 @@ struct Filter2Prong { |
165 | 167 | PROCESS_SWITCH(Filter2Prong, processMC, "Process MC 2-prong daughters", false); |
166 | 168 |
|
167 | 169 | // 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>; |
169 | 171 | void processDataInvMass(aod::Collisions::iterator const&, aod::BCsWithTimestamps const&, aod::CFCollRefs const& cfcollisions, aod::CFTrackRefs const& cftracks, PIDTrack const& tracks) |
170 | 172 | { |
171 | 173 | if (cfcollisions.size() <= 0 || cftracks.size() <= 0) |
|
0 commit comments