@@ -112,13 +112,17 @@ struct EventselectionRun3 { // o2-linter: disable=name/workflow-file (exception
112112
113113 o2::common::eventselection::EvselConfigurables evselOpts;
114114 o2::common::eventselection::EventSelectionModule evselmodule;
115+ o2::common::eventselection::BcOccConfigurables bcoccOpts;
116+ o2::common::eventselection::BcOccAllConfigurables bcoccAllOpts;
115117
116118 o2::common::eventselection::LumiConfigurables lumiOpts;
117119 o2::common::eventselection::LumiModule lumimodule;
118120
119121 Produces<aod::Timestamps> timestampTable; // / Table with SOR timestamps produced by the task
120122 Produces<aod::BcSels> bcsel;
121123 Produces<aod::EvSels> evsel;
124+ Produces<aod::BcOccs> bcocc;
125+ Produces<aod::BcOccsAll> bcoccall;
122126
123127 // for slicing
124128 SliceCache cache;
@@ -149,6 +153,8 @@ struct EventselectionRun3 { // o2-linter: disable=name/workflow-file (exception
149153 timestampMod.init (timestampConfigurables, metadataInfo);
150154 bcselmodule.init (context, bcselOpts, histos, metadataInfo);
151155 evselmodule.init (context, evselOpts, histos, metadataInfo);
156+ evselmodule.initBcOccupancy (context, bcoccOpts);
157+ evselmodule.initBcOccupancyAll (context, bcoccAllOpts);
152158 lumimodule.init (context, lumiOpts, histos);
153159 }
154160
@@ -163,6 +169,8 @@ struct EventselectionRun3 { // o2-linter: disable=name/workflow-file (exception
163169 timestampMod.process (bcs, ccdb, timestamps, timestampTable);
164170 bcselmodule.processRun3 (ccdb, histos, bcs, timestamps, bcselsbuffer, bcsel);
165171 evselmodule.processRun3 (ccdb, histos, bcs, collisions, pvTracks, ft0s, cache, timestamps, bcselsbuffer, evsel);
172+ evselmodule.processRun3BcOccupancy (bcs, bcselsbuffer, bcocc);
173+ evselmodule.processRun3BcOccupancyAll (bcs, bcoccall);
166174 lumimodule.process (ccdb, histos, bcs, timestamps, bcselsbuffer);
167175 }
168176};
0 commit comments