Skip to content

Commit f516797

Browse files
authored
Function with cov Mult and Cent (#6210)
* Function with cov Mult and Cent * Fix
1 parent 44f7383 commit f516797

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

PWGDQ/TableProducer/tableMakerMC.cxx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ struct TableMakerMC {
227227
bool enableBarrelHistos = (context.mOptions.get<bool>("processFull") || context.mOptions.get<bool>("processFullWithCov") ||
228228
context.mOptions.get<bool>("processBarrelOnly") || context.mOptions.get<bool>("processBarrelOnlyWithDalitzBits") ||
229229
context.mOptions.get<bool>("processBarrelOnlyWithCent") || context.mOptions.get<bool>("processBarrelOnlyWithCov") ||
230+
context.mOptions.get<bool>("processBarrelOnlyWithCovWithCentAndMults") ||
230231
context.mOptions.get<bool>("processBarrelOnlyWithMults") || context.mOptions.get<bool>("processAmbiguousBarrelOnly"));
231232
bool enableMuonHistos = (context.mOptions.get<bool>("processFull") || context.mOptions.get<bool>("processFullWithCov") ||
232233
context.mOptions.get<bool>("processMuonOnlyWithCent") || context.mOptions.get<bool>("processMuonOnlyWithCov") ||
@@ -1561,6 +1562,14 @@ struct TableMakerMC {
15611562
fullSkimming<gkEventFillMapWithMults, gkTrackFillMapWithCov, 0u>(collisions, bcs, tracksBarrel, nullptr, mcEvents, mcTracks, nullptr, nullptr);
15621563
}
15631564

1565+
// Produce barrel only tables, with centrality, multiplicity and cov matrix -------------------------------------------------------------------
1566+
void processBarrelOnlyWithCovWithCentAndMults(MyEventsWithCentAndMults const& collisions, aod::BCsWithTimestamps const& bcs,
1567+
soa::Filtered<MyBarrelTracksWithCov> const& tracksBarrel,
1568+
aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks)
1569+
{
1570+
fullSkimming<gkEventFillMapWithCentAndMults, gkTrackFillMapWithCov, 0u>(collisions, bcs, tracksBarrel, nullptr, mcEvents, mcTracks, nullptr, nullptr);
1571+
}
1572+
15641573
// Produce barrel only tables, with cov matrix and dalitz bits-----------------------------------------------------------------------
15651574
void processBarrelOnlyWithDalitzBits(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs,
15661575
soa::Filtered<MyBarrelTracksWithDalitzBits> const& tracksBarrel,
@@ -1658,6 +1667,7 @@ struct TableMakerMC {
16581667
PROCESS_SWITCH(TableMakerMC, processBarrelOnlyWithCent, "Produce barrel skims, w/ centrality", false);
16591668
PROCESS_SWITCH(TableMakerMC, processBarrelOnlyWithCentAndMults, "Produce barrel skims, w/ centrality and mults", false);
16601669
PROCESS_SWITCH(TableMakerMC, processBarrelOnlyWithCov, "Produce barrel skims, with track covariance matrix", false);
1670+
PROCESS_SWITCH(TableMakerMC, processBarrelOnlyWithCovWithCentAndMults, "Produce barrel skims, w/ centrality and mults, with track covariance matrix", false);
16611671
PROCESS_SWITCH(TableMakerMC, processBarrelOnlyWithDalitzBits, "Produce barrel skims, and dalitz bits", false);
16621672
PROCESS_SWITCH(TableMakerMC, processMuonOnly, "Produce muon skims", false);
16631673
PROCESS_SWITCH(TableMakerMC, processMuonOnlyWithCov, "Produce muon skims, with muon covariance matrix", false);

0 commit comments

Comments
 (0)