@@ -233,7 +233,7 @@ struct TableMaker {
233233 // Zorro selection
234234 struct : ConfigurableGroup {
235235 Configurable<bool > fConfigRunZorro {" cfgRunZorro" , false , " Enable event selection with zorro" };
236- Configurable<std::string> fConfigZorroTrigMask {" cfgZorroTriggerMask" , " fDiMuon" , " DQ Trigger masks: fSingleE,fLMeeIMR,fLMeeHMR,fDiElectron,fSingleMuLow,fSingleMuHigh,fDiMuon" };
236+ Configurable<std::string> fConfigZorroTrigMask {" cfgZorroTriggerMask" , " fDiMuon" , " DQ Trigger masks: fSingleE,fLMeeIMR,fLMeeHMR,fDiElectron,fSingleMuLow,fSingleMuHigh,fDiMuon,fElectronMuon " };
237237 Configurable<bool > fConfigRunZorroSel {" cfgRunZorroSel" , false , " Select events with trigger mask" };
238238 Configurable<uint64_t > fBcTolerance {" cfgBcTolerance" , 100 , " Number of BCs of margin for software triggers" };
239239 } fConfigZorro ;
@@ -467,11 +467,11 @@ struct TableMaker {
467467 }
468468
469469 // Check whether we have to define barrel or muon histograms
470- bool enableBarrelHistos = (context.mOptions .get <bool >(" processPPWithFilter" ) || context.mOptions .get <bool >(" processPPWithFilterBarrelOnly" ) || context.mOptions .get <bool >(" processPPBarrelOnly" ) ||
470+ bool enableBarrelHistos = (context.mOptions .get <bool >(" processPP " ) || context. mOptions . get < bool >( " processPPWithFilter" ) || context.mOptions .get <bool >(" processPPWithFilterBarrelOnly" ) || context.mOptions .get <bool >(" processPPBarrelOnly" ) ||
471471 context.mOptions .get <bool >(" processPbPb" ) || context.mOptions .get <bool >(" processPbPbBarrelOnly" ) || context.mOptions .get <bool >(" processPbPbBarrelOnlyWithV0Bits" ) || context.mOptions .get <bool >(" processPbPbBarrelOnlyWithV0BitsNoTOF" )) ||
472472 context.mOptions .get <bool >(" processPbPbWithFilterBarrelOnly" ) || context.mOptions .get <bool >(" processPPBarrelOnlyWithV0s" ) || context.mOptions .get <bool >(" processPbPbBarrelOnlyNoTOF" );
473473
474- bool enableMuonHistos = (context.mOptions .get <bool >(" processPPWithFilter" ) || context.mOptions .get <bool >(" processPPWithFilterMuonOnly" ) || context.mOptions .get <bool >(" processPPWithFilterMuonMFT" ) || context.mOptions .get <bool >(" processPPMuonOnly" ) || context.mOptions .get <bool >(" processPPRealignedMuonOnly" ) || context.mOptions .get <bool >(" processPPMuonMFT" ) || context.mOptions .get <bool >(" processPPMuonMFTWithMultsExtra" ) ||
474+ bool enableMuonHistos = (context.mOptions .get <bool >(" processPP " ) || context. mOptions . get < bool >( " processPPWithFilter" ) || context.mOptions .get <bool >(" processPPWithFilterMuonOnly" ) || context.mOptions .get <bool >(" processPPWithFilterMuonMFT" ) || context.mOptions .get <bool >(" processPPMuonOnly" ) || context.mOptions .get <bool >(" processPPRealignedMuonOnly" ) || context.mOptions .get <bool >(" processPPMuonMFT" ) || context.mOptions .get <bool >(" processPPMuonMFTWithMultsExtra" ) ||
475475 context.mOptions .get <bool >(" processPbPb" ) || context.mOptions .get <bool >(" processPbPbMuonOnly" ) || context.mOptions .get <bool >(" processPbPbMuonOnlyWithQvect" ) || context.mOptions .get <bool >(" processPbPbRealignedMuonOnly" ) || context.mOptions .get <bool >(" processPbPbMuonMFT" ));
476476
477477 if (enableBarrelHistos) {
@@ -1837,6 +1837,16 @@ struct TableMaker {
18371837 fullSkimming<gkEventFillMapWithMultsAndEventFilter, gkTrackFillMapWithCov, gkMuonFillMapWithCov, gkMFTFillMap>(collisions, bcs, nullptr , tracksBarrel, muons, mftTracks, trackAssocs, fwdTrackAssocs, mftAssocs, nullptr , nullptr , nullptr , nullptr );
18381838 }
18391839
1840+ // produce the full DQ skimmed data model for pp/p-Pb or UPC Pb-Pb (no centrality),
1841+ // no DQ event filter; use Zorro for event selection (cfgRunZorro, cfgZorroTriggerMask)
1842+ void processPP (MyEventsWithMultsExtra const & collisions, MyBCs const & bcs,
1843+ MyBarrelTracksWithCov const & tracksBarrel,
1844+ MyMuonsWithCov const & muons,
1845+ TrackAssoc const & trackAssocs, FwdTrackAssoc const & fwdTrackAssocs)
1846+ {
1847+ fullSkimming<gkEventFillMapWithMultsExtra, gkTrackFillMapWithCov, gkMuonFillMapWithCov, 0u >(collisions, bcs, nullptr , tracksBarrel, muons, nullptr , trackAssocs, fwdTrackAssocs, nullptr , nullptr , nullptr , nullptr , nullptr );
1848+ }
1849+
18401850 // produce the barrel-only DQ skimmed data model typically for pp/p-Pb or UPC Pb-Pb (no centrality), subscribe to the DQ event filter (filter-pp or filter-PbPb)
18411851 void processPPWithFilterBarrelOnly (MyEventsWithMultsAndFilter const & collisions, MyBCs const & bcs, aod::Zdcs& zdcs,
18421852 MyBarrelTracksWithCov const & tracksBarrel,
@@ -2015,6 +2025,7 @@ struct TableMaker {
20152025 (reinterpret_cast <TH2D*>(fStatsList ->At (kStatsEvent )))->Fill (0.0 , static_cast <float >(o2::aod::evsel::kNsel ));
20162026 }
20172027
2028+ PROCESS_SWITCH (TableMaker, processPP, " Build full DQ skimmed data model for pp/p-Pb w/o event filtering (use Zorro)" , false );
20182029 PROCESS_SWITCH (TableMaker, processPPWithFilter, " Build full DQ skimmed data model typically for pp/p-Pb and UPC Pb-Pb, w/ event filtering" , false );
20192030 PROCESS_SWITCH (TableMaker, processPPWithFilterBarrelOnly, " Build barrel only DQ skimmed data model typically for pp/p-Pb and UPC Pb-Pb, w/ event filtering" , false );
20202031 PROCESS_SWITCH (TableMaker, processPPWithFilterMuonOnly, " Build muon only DQ skimmed data model typically for pp/p-Pb and UPC Pb-Pb, w/ event filtering" , false );
0 commit comments