Skip to content

Commit

Permalink
Adding process function for B+ (AliceO2Group#850)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucamicheletti93 <[email protected]>
  • Loading branch information
lucamicheletti93 and lucamicheletti authored Jun 14, 2022
1 parent e912f0f commit 9990f4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions PWGDQ/Tasks/dqEfficiency.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1081,12 +1081,20 @@ struct AnalysisDileptonTrack {
groupedMCTracks.bindInternalIndicesTo(&tracksMC);
runMCGen(groupedMCTracks);
}
void processDielectronKaonSkimmed(soa::Filtered<MyEventsVtxCovSelected>::iterator const& event, MyBarrelTracksSelectedWithCov const& tracks, soa::Join<aod::Dileptons, aod::DileptonsExtra> const& dileptons, ReducedMCEvents const& eventsMC, ReducedMCTracks const& tracksMC)
{
runDileptonTrack<VarManager::kBtoJpsiEEK, gkEventFillMapWithCov, gkMCEventFillMap, gkTrackFillMap>(event, tracks, dileptons, eventsMC, tracksMC);
auto groupedMCTracks = tracksMC.sliceBy(aod::reducedtrackMC::reducedMCeventId, event.reducedMCevent().globalIndex());
groupedMCTracks.bindInternalIndicesTo(&tracksMC);
runMCGen(groupedMCTracks);
}
void processDummy(MyEvents&)
{
// do nothing
}

PROCESS_SWITCH(AnalysisDileptonTrack, processDimuonMuonSkimmed, "Run dimuon-muon pairing, using skimmed data", false);
PROCESS_SWITCH(AnalysisDileptonTrack, processDielectronKaonSkimmed, "Run dielectron-kaon pairing, using skimmed data", false);
PROCESS_SWITCH(AnalysisDileptonTrack, processDummy, "Dummy function", false);
};

Expand Down

0 comments on commit 9990f4e

Please sign in to comment.