Skip to content

Commit

Permalink
Modified to follow conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
motomioya committed May 18, 2024
1 parent 81a7c67 commit fd3fe9e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions PWGDQ/TableProducer/tableMakerMC.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ struct TableMakerMC {
context.mOptions.get<bool>("processMuonOnlyWithCent") || context.mOptions.get<bool>("processMuonOnlyWithCov") ||
context.mOptions.get<bool>("processAmbiguousMuonOnlyWithCov") || context.mOptions.get<bool>("processAmbiguousMuonOnly") ||
context.mOptions.get<bool>("processAssociatedMuonOnly") || context.mOptions.get<bool>("processAssociatedMuonOnlyWithCov") ||
context.mOptions.get<bool>("processAssociatedMuonOnlyWithCovAndCent") || context.mOptions.get<bool>("processAssociatedMuonOnlyWithCovAndMults");
context.mOptions.get<bool>("processAssociatedMuonOnlyWithCovAndCent") || context.mOptions.get<bool>("processAssociatedMuonOnlyWithCovAndMults"));
// TODO: switch on/off histogram classes depending on which process function we run
if (enableBarrelHistos) {
if (fDoDetailedQA) {
Expand Down Expand Up @@ -1592,25 +1592,29 @@ struct TableMakerMC {
}
// Produce muon tables only based on track-collision association tables --------------------------------------------------------------------------------------
void processAssociatedMuonOnly(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs,
soa::Filtered<MyMuonsColl> const& tracksMuon, aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
soa::Filtered<MyMuonsColl> const& tracksMuon,
aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
{
fullSkimmingIndices<gkEventFillMap, 0u, gkMuonFillMapWithAmbi>(collisions, bcs, nullptr, tracksMuon, mcEvents, mcTracks, nullptr, fwdtrackIndices);
}

void processAssociatedMuonOnlyWithCov(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs,
soa::Filtered<MyMuonsColl> const& tracksMuon, aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
soa::Filtered<MyMuonsColl> const& tracksMuon,
aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
{
fullSkimmingIndices<gkEventFillMap, 0u, gkMuonFillMapWithAmbi>(collisions, bcs, nullptr, tracksMuon, mcEvents, mcTracks, nullptr, fwdtrackIndices);
}

void processAssociatedMuonOnlyWithCovAndCent(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs,
soa::Filtered<MyMuonsColl> const& tracksMuon, aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
soa::Filtered<MyMuonsColl> const& tracksMuon,
aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
{
fullSkimmingIndices<gkEventFillMap, 0u, gkMuonFillMapWithAmbi>(collisions, bcs, nullptr, tracksMuon, mcEvents, mcTracks, nullptr, fwdtrackIndices);
}

void processAssociatedMuonOnlyWithCovAndMults(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs,
soa::Filtered<MyMuonsColl> const& tracksMuon, aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
soa::Filtered<MyMuonsColl> const& tracksMuon,
aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, aod::FwdTrackAssoc const& fwdtrackIndices)
{
fullSkimmingIndices<gkEventFillMap, 0u, gkMuonFillMapWithAmbi>(collisions, bcs, nullptr, tracksMuon, mcEvents, mcTracks, nullptr, fwdtrackIndices);
}
Expand Down

0 comments on commit fd3fe9e

Please sign in to comment.