1010// or submit itself to any jurisdiction.
1111
1212// / \file strangenessBuilderModule.h
13- // / \brief strangeness builder module
13+ // / \brief strangeness builder module
1414// / \author ALICE
1515
1616// simple checkers, but ensure 8 bit integers
@@ -184,80 +184,80 @@ static constexpr float defaultOmMassWindowParameters[1][4] = {{1.43210e-03, 2.03
184184static constexpr float defaultLifetimeCuts[1 ][4 ] = {{20 , 60 , 40 , 20 }};
185185
186186struct products : o2::framework::ProducesGroup {
187- // __________________________________________________
188- // V0 tables
189- o2::framework::Produces<aod::V0Indices> v0indices; // standard part of V0Datas
190- o2::framework::Produces<aod::V0CoresBase> v0cores; // standard part of V0Datas
191- o2::framework::Produces<aod::V0Covs> v0covs; // for decay chain reco
192-
193- // __________________________________________________
194- // cascade tables
195- o2::framework::Produces<aod::CascIndices> cascidx; // standard part of CascDatas
196- o2::framework::Produces<aod::KFCascIndices> kfcascidx; // standard part of KFCascDatas
197- o2::framework::Produces<aod::TraCascIndices> tracascidx; // standard part of TraCascDatas
198- o2::framework::Produces<aod::StoredCascCores> cascdata; // standard part of CascDatas
199- o2::framework::Produces<aod::StoredKFCascCores> kfcascdata; // standard part of KFCascDatas
200- o2::framework::Produces<aod::StoredTraCascCores> tracascdata; // standard part of TraCascDatas
201- o2::framework::Produces<aod::CascCovs> casccovs; // for decay chain reco
202- o2::framework::Produces<aod::KFCascCovs> kfcasccovs; // for decay chain reco
203- o2::framework::Produces<aod::TraCascCovs> tracasccovs; // for decay chain reco
204-
205- // __________________________________________________
206- // interlink tables
207- o2::framework::Produces<aod::V0DataLink> v0dataLink; // de-refs V0s -> V0Data
208- o2::framework::Produces<aod::CascDataLink> cascdataLink; // de-refs Cascades -> CascData
209- o2::framework::Produces<aod::KFCascDataLink> kfcascdataLink; // de-refs Cascades -> KFCascData
210- o2::framework::Produces<aod::TraCascDataLink> tracascdataLink; // de-refs Cascades -> TraCascData
211-
212- // __________________________________________________
213- // secondary auxiliary tables
214- o2::framework::Produces<aod::V0TrackXs> v0trackXs; // for decay chain reco
215- o2::framework::Produces<aod::CascTrackXs> cascTrackXs; // for decay chain reco
216-
217- // __________________________________________________
218- // further auxiliary / optional if desired
219- o2::framework::Produces<aod::CascBBs> cascbb;
220- o2::framework::Produces<aod::V0DauCovs> v0daucovs; // covariances of daughter tracks
221- o2::framework::Produces<aod::V0DauCovIUs> v0daucovIUs; // covariances of daughter tracks
222- o2::framework::Produces<aod::V0TraPosAtDCAs> v0dauPositions; // auxiliary debug information
223- o2::framework::Produces<aod::V0TraPosAtIUs> v0dauPositionsIU; // auxiliary debug information
224- o2::framework::Produces<aod::V0Ivanovs> v0ivanovs; // information for Marian's tests
225-
226- // __________________________________________________
227- // MC information: V0
228- o2::framework::Produces<aod::McV0Labels> v0labels; // MC labels for V0s
229- o2::framework::Produces<aod::V0MCCores> v0mccores; // mc info storage
230- o2::framework::Produces<aod::V0CoreMCLabels> v0CoreMCLabels; // interlink V0Cores -> V0MCCores
231- o2::framework::Produces<aod::V0MCCollRefs> v0mccollref; // references collisions from V0MCCores
232-
233- // MC information: Cascades
234- o2::framework::Produces<aod::McCascLabels> casclabels; // MC labels for cascades
235- o2::framework::Produces<aod::McKFCascLabels> kfcasclabels; // MC labels for KF cascades
236- o2::framework::Produces<aod::McTraCascLabels> tracasclabels; // MC labels for tracked cascades
237- o2::framework::Produces<aod::McCascBBTags> bbtags; // bb tags (inv structure tagging in mc)
238- o2::framework::Produces<aod::CascMCCores> cascmccores; // mc info storage
239- o2::framework::Produces<aod::CascCoreMCLabels> cascCoreMClabels; // interlink CascCores -> CascMCCores
240- o2::framework::Produces<aod::CascMCCollRefs> cascmccollrefs; // references MC collisions from MC cascades
241-
242- // __________________________________________________
243- // cascade interlinks
244- // FIXME: commented out until strangederivedbuilder adjusted accordingly
245- // o2::framework::Produces<aod::CascToTraRefs> cascToTraRefs; // cascades -> tracked
246- // o2::framework::Produces<aod::CascToKFRefs> cascToKFRefs; // cascades -> KF
247- // o2::framework::Produces<aod::TraToCascRefs> traToCascRefs; // tracked -> cascades
248- // o2::framework::Produces<aod::KFToCascRefs> kfToCascRefs; // KF -> cascades
249-
250- // __________________________________________________
251- // Findable tags
252- o2::framework::Produces<aod::V0FoundTags> v0FoundTag;
253- o2::framework::Produces<aod::CascFoundTags> cascFoundTag;
187+ // __________________________________________________
188+ // V0 tables
189+ o2::framework::Produces<aod::V0Indices> v0indices; // standard part of V0Datas
190+ o2::framework::Produces<aod::V0CoresBase> v0cores; // standard part of V0Datas
191+ o2::framework::Produces<aod::V0Covs> v0covs; // for decay chain reco
192+
193+ // __________________________________________________
194+ // cascade tables
195+ o2::framework::Produces<aod::CascIndices> cascidx; // standard part of CascDatas
196+ o2::framework::Produces<aod::KFCascIndices> kfcascidx; // standard part of KFCascDatas
197+ o2::framework::Produces<aod::TraCascIndices> tracascidx; // standard part of TraCascDatas
198+ o2::framework::Produces<aod::StoredCascCores> cascdata; // standard part of CascDatas
199+ o2::framework::Produces<aod::StoredKFCascCores> kfcascdata; // standard part of KFCascDatas
200+ o2::framework::Produces<aod::StoredTraCascCores> tracascdata; // standard part of TraCascDatas
201+ o2::framework::Produces<aod::CascCovs> casccovs; // for decay chain reco
202+ o2::framework::Produces<aod::KFCascCovs> kfcasccovs; // for decay chain reco
203+ o2::framework::Produces<aod::TraCascCovs> tracasccovs; // for decay chain reco
204+
205+ // __________________________________________________
206+ // interlink tables
207+ o2::framework::Produces<aod::V0DataLink> v0dataLink; // de-refs V0s -> V0Data
208+ o2::framework::Produces<aod::CascDataLink> cascdataLink; // de-refs Cascades -> CascData
209+ o2::framework::Produces<aod::KFCascDataLink> kfcascdataLink; // de-refs Cascades -> KFCascData
210+ o2::framework::Produces<aod::TraCascDataLink> tracascdataLink; // de-refs Cascades -> TraCascData
211+
212+ // __________________________________________________
213+ // secondary auxiliary tables
214+ o2::framework::Produces<aod::V0TrackXs> v0trackXs; // for decay chain reco
215+ o2::framework::Produces<aod::CascTrackXs> cascTrackXs; // for decay chain reco
216+
217+ // __________________________________________________
218+ // further auxiliary / optional if desired
219+ o2::framework::Produces<aod::CascBBs> cascbb;
220+ o2::framework::Produces<aod::V0DauCovs> v0daucovs; // covariances of daughter tracks
221+ o2::framework::Produces<aod::V0DauCovIUs> v0daucovIUs; // covariances of daughter tracks
222+ o2::framework::Produces<aod::V0TraPosAtDCAs> v0dauPositions; // auxiliary debug information
223+ o2::framework::Produces<aod::V0TraPosAtIUs> v0dauPositionsIU; // auxiliary debug information
224+ o2::framework::Produces<aod::V0Ivanovs> v0ivanovs; // information for Marian's tests
225+
226+ // __________________________________________________
227+ // MC information: V0
228+ o2::framework::Produces<aod::McV0Labels> v0labels; // MC labels for V0s
229+ o2::framework::Produces<aod::V0MCCores> v0mccores; // mc info storage
230+ o2::framework::Produces<aod::V0CoreMCLabels> v0CoreMCLabels; // interlink V0Cores -> V0MCCores
231+ o2::framework::Produces<aod::V0MCCollRefs> v0mccollref; // references collisions from V0MCCores
232+
233+ // MC information: Cascades
234+ o2::framework::Produces<aod::McCascLabels> casclabels; // MC labels for cascades
235+ o2::framework::Produces<aod::McKFCascLabels> kfcasclabels; // MC labels for KF cascades
236+ o2::framework::Produces<aod::McTraCascLabels> tracasclabels; // MC labels for tracked cascades
237+ o2::framework::Produces<aod::McCascBBTags> bbtags; // bb tags (inv structure tagging in mc)
238+ o2::framework::Produces<aod::CascMCCores> cascmccores; // mc info storage
239+ o2::framework::Produces<aod::CascCoreMCLabels> cascCoreMClabels; // interlink CascCores -> CascMCCores
240+ o2::framework::Produces<aod::CascMCCollRefs> cascmccollrefs; // references MC collisions from MC cascades
241+
242+ // __________________________________________________
243+ // cascade interlinks
244+ // FIXME: commented out until strangederivedbuilder adjusted accordingly
245+ // o2::framework::Produces<aod::CascToTraRefs> cascToTraRefs; // cascades -> tracked
246+ // o2::framework::Produces<aod::CascToKFRefs> cascToKFRefs; // cascades -> KF
247+ // o2::framework::Produces<aod::TraToCascRefs> traToCascRefs; // tracked -> cascades
248+ // o2::framework::Produces<aod::KFToCascRefs> kfToCascRefs; // KF -> cascades
249+
250+ // __________________________________________________
251+ // Findable tags
252+ o2::framework::Produces<aod::V0FoundTags> v0FoundTag;
253+ o2::framework::Produces<aod::CascFoundTags> cascFoundTag;
254254};
255255
256256// strangenessBuilder: 1st-order configurables
257257struct coreConfigurables : o2::framework::ConfigurableGroup {
258258 o2::framework::Configurable<o2::framework::LabeledArray<int >> enabledTables{" enabledTables" ,
259- {defaultParameters[0 ], nTables, nParameters, tableNames, parameterNames},
260- " Produce this table: -1 for autodetect; otherwise, 0/1 is false/true" };
259+ {defaultParameters[0 ], nTables, nParameters, tableNames, parameterNames},
260+ " Produce this table: -1 for autodetect; otherwise, 0/1 is false/true" };
261261 std::vector<int > mEnabledTables ; // Vector of enabled tables
262262
263263 // first order deduplication implementation
@@ -371,7 +371,7 @@ class BuilderModule
371371 // constructor
372372 }
373373
374- // mass windows
374+ // mass windows
375375 float getMassSigmaK0Short (float pt)
376376 {
377377 return preSelectOpts.massCutK0 ->get (" constant" ) + pt * preSelectOpts.massCutK0 ->get (" linear" ) + preSelectOpts.massCutK0 ->get (" expoConstant" ) * TMath::Exp (-pt / preSelectOpts.massCutK0 ->get (" expoRelax" ));
@@ -494,7 +494,7 @@ class BuilderModule
494494 std::vector<int > ao2dV0toV0List; // index to relate v0s -> v0List
495495 std::vector<int > v0Map; // index to relate v0List -> v0sFromCascades
496496
497- // declaration of structs here
497+ // declaration of structs here
498498 // (N.B.: will be invisible to the outside, create your own copies)
499499 o2::pwglf::strangenessbuilder::coreConfigurables baseOpts;
500500 o2::pwglf::strangenessbuilder::v0Configurables v0BuilderOpts;
@@ -504,11 +504,11 @@ class BuilderModule
504504 template <typename TBaseConfigurables, typename TV0Configurables, typename TCascadeConfigurables, typename TPreSelOpts, typename THistoRegistry, typename TInitContext>
505505 void init (TBaseConfigurables const & inputBaseOpts, TV0Configurables const & inputV0BuilderOpts, TCascadeConfigurables const & inputCascadeBuilderOpts, TPreSelOpts const & inputPreSelectOpts, THistoRegistry& histos, TInitContext& context)
506506 {
507- // read in configurations from the task where it's used
507+ // read in configurations from the task where it's used
508508 // could be grouped even further, but should work
509509 baseOpts = inputBaseOpts;
510- v0BuilderOpts = inputV0BuilderOpts;
511- cascadeBuilderOpts = inputCascadeBuilderOpts;
510+ v0BuilderOpts = inputV0BuilderOpts;
511+ cascadeBuilderOpts = inputCascadeBuilderOpts;
512512 preSelectOpts = inputPreSelectOpts;
513513
514514 // setup bookkeeping histogram
@@ -773,7 +773,6 @@ class BuilderModule
773773 // }
774774 }
775775
776-
777776 // __________________________________________________
778777 template <class TBCs , typename THistoRegistry, typename TCollisions, typename TMCCollisions, typename TV0s, typename TCascades, typename TTracks, typename TMCParticles>
779778 void prepareBuildingLists (THistoRegistry& histos, TCollisions const & collisions, TMCCollisions const & mcCollisions, TV0s const & v0s, TCascades const & cascades, TTracks const & tracks, TMCParticles const & mcParticles)
0 commit comments