Skip to content

Commit

Permalink
Fix typos in UPC candidate producer and analyzer (AliceO2Group#1345)
Browse files Browse the repository at this point in the history
* Fix missing skimMCInfo() in MC processors

* Fix missing ampersand in getTrackBC() arguments, fix file naming
  • Loading branch information
nburmaso authored Oct 11, 2022
1 parent c636c9b commit c012e9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PWGUD/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ o2physics_add_dpl_workflow(dgbccand-producer
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(upccand-producer
SOURCES UPCandidateProducer.cxx
SOURCES UPCCandidateProducer.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::AnalysisCCDB
COMPONENT_NAME Analysis)
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ struct UpcCandProducer {
template <typename TTrack, typename TAmbTracks>
uint64_t getTrackBC(TTrack track,
TAmbTracks* ambTracks,
std::unordered_map<int32_t, int32_t> ambTrIDs,
std::unordered_map<int32_t, int32_t>& ambTrIDs,
o2::aod::Collisions const& collisions,
o2::aod::BCs const& bcs)
{
Expand Down Expand Up @@ -942,6 +942,7 @@ struct UpcCandProducer {
{
fDoMC = true;
fDoSemiFwd = true;
skimMCInfo(mcCollisions, mcParticles, bcs);
createCandidates(&fwdTracks, &barrelTracks,
&ambFwdTracks, &ambTracks,
bcs, collisions,
Expand All @@ -963,6 +964,7 @@ struct UpcCandProducer {
{
fDoMC = true;
fDoSemiFwd = false;
skimMCInfo(mcCollisions, mcParticles, bcs);
createCandidates((ForwardTracks*)nullptr, &barrelTracks,
(o2::aod::AmbiguousFwdTracks*)nullptr, &ambBarrelTracks,
bcs, collisions,
Expand Down

0 comments on commit c012e9e

Please sign in to comment.