Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
291 changes: 145 additions & 146 deletions PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Large diffs are not rendered by default.

32 changes: 31 additions & 1 deletion PWGDQ/Tasks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,37 @@ o2physics_add_dpl_workflow(table-reader
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc
SOURCES tableReader_withAssoc.cxx
SOURCES tableReader_withAssoc_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-same-event-pairing-barrel-only
SOURCES tableReader_withAssoc_SameEventPairingBarrelOnly_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-same-event-pairing-muon-only
SOURCES tableReader_withAssoc_SameEventPairingMuonOnly_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-same-event-pairing
SOURCES tableReader_withAssoc_SameEventPairing_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-asymmetric-pairing
SOURCES tableReader_withAssoc_AsymmetricPairing_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-dilepton-track-pairing
SOURCES tableReader_withAssoc_DileptonTrackPairing_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(table-reader-with-assoc-dilepton-track-track-pairing
SOURCES tableReader_withAssoc_DileptonTrackTrackPairing_workflowSpec.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::PWGDQCore O2Physics::MLCore
COMPONENT_NAME Analysis)

Expand Down
13 changes: 0 additions & 13 deletions PWGDQ/Tasks/tableReader_withAssoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4818,19 +4818,6 @@ struct AnalysisDileptonTrackTrack {
PROCESS_SWITCH(AnalysisDileptonTrackTrack, processDummy, "Dummy function", true);
};

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisMuonSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc),
adaptAnalysisTask<AnalysisAsymmetricPairing>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrack>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrackTrack>(cfgc)};
}

void DefineHistograms(HistogramManager* histMan, const TString& histClasses, const char* histGroups)
{
//
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc),
adaptAnalysisTask<AnalysisAsymmetricPairing>(cfgc)};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisMuonSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc),
adaptAnalysisTask<AnalysisAsymmetricPairing>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrack>(cfgc)};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrackTrack>(cfgc)};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc)};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisMuonSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc)};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisMuonSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc)};
}
30 changes: 30 additions & 0 deletions PWGDQ/Tasks/tableReader_withAssoc_workflowSpec.cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
// Configurable workflow for running several DQ or other PWG analyses

#include "PWGDQ/Tasks/tableReader_withAssoc.cxx"

#include <Framework/runDataProcessing.h>

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<AnalysisEventSelection>(cfgc),
adaptAnalysisTask<AnalysisTrackSelection>(cfgc),
adaptAnalysisTask<AnalysisMuonSelection>(cfgc),
adaptAnalysisTask<AnalysisPrefilterSelection>(cfgc),
adaptAnalysisTask<AnalysisSameEventPairing>(cfgc),
adaptAnalysisTask<AnalysisAsymmetricPairing>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrack>(cfgc),
adaptAnalysisTask<AnalysisDileptonTrackTrack>(cfgc)};
}
Loading