Skip to content

Commit 5e50478

Browse files
committed
Removing redundant files
1 parent e0ccf97 commit 5e50478

File tree

8 files changed

+132
-1890
lines changed

8 files changed

+132
-1890
lines changed

DPG/Tasks/AOTTrack/PID/HMPID/CMakeLists.txt

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,16 @@
1010
# or submit itself to any jurisdiction.
1111

1212
# HMPID
13-
o2physics_add_dpl_workflow(hmpid-qa-pp
14-
SOURCES hmpidQaPp.cxx
13+
o2physics_add_dpl_workflow(hmpid-qa
14+
SOURCES hmpidQa.cxx
1515
PUBLIC_LINK_LIBRARIES O2::HMPIDBase O2Physics::AnalysisCore
1616
COMPONENT_NAME Analysis)
1717

18-
o2physics_add_dpl_workflow(hmpid-qa-pb-pb
19-
SOURCES hmpidQaPbPb.cxx
20-
PUBLIC_LINK_LIBRARIES O2::HMPIDBase O2Physics::AnalysisCore
21-
COMPONENT_NAME Analysis)
22-
23-
o2physics_add_dpl_workflow(hmpid-table-producer-pp
24-
SOURCES hmpidTableProducerPp.cxx
18+
o2physics_add_dpl_workflow(hmpid-table-producer
19+
SOURCES hmpidTableProducer.cxx
2520
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
2621
COMPONENT_NAME Analysis)
2722

28-
o2physics_add_dpl_workflow(hmpid-table-producer-pb-pb
29-
SOURCES hmpidTableProducerPbPb.cxx
30-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DetectorsBase
31-
COMPONENT_NAME Analysis)
32-
3323
o2physics_add_dpl_workflow(hmpid-deuteron
3424
SOURCES hmpidDeuteron.cxx
3525
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2::ReconstructionDataFormats O2Physics::AnalysisCore

DPG/Tasks/AOTTrack/PID/HMPID/hmpidDeuteron.cxx

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#include "tableHMPIDPbPb.h"
12+
#include "tableHMPID.h"
1313

1414
#include <Framework/AnalysisTask.h>
1515
#include <Framework/runDataProcessing.h>
@@ -81,7 +81,7 @@ struct HmpidDeuteron {
8181
registryDA.add("hmpidCkovvsMom", "hmpidCkovvsMom", kTH2F, {{500, 0, 10., "#it{p} (GeV/#it{c})"}, {800, 0., 0.8, "#theta_{Ch} (rad)"}});
8282
}
8383

84-
void process(aod::HmpidAnalysisPbPb const& hmpidTable)
84+
void process(aod::HmpidAnalysis const& hmpidTable)
8585
{
8686
for (const auto& hmpid : hmpidTable) {
8787

DPG/Tasks/AOTTrack/PID/HMPID/hmpidQaPp.cxx renamed to DPG/Tasks/AOTTrack/PID/HMPID/hmpidQa.cxx

Lines changed: 117 additions & 112 deletions
Large diffs are not rendered by default.

DPG/Tasks/AOTTrack/PID/HMPID/hmpidQaPbPb.cxx

Lines changed: 0 additions & 1521 deletions
This file was deleted.

DPG/Tasks/AOTTrack/PID/HMPID/hmpidTableProducerPbPb.cxx renamed to DPG/Tasks/AOTTrack/PID/HMPID/hmpidTableProducer.cxx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#include "tableHMPIDPbPb.h"
12+
#include "tableHMPID.h"
1313

1414
#include "Common/Core/PID/PIDTOF.h"
1515
#include "Common/Core/trackUtilities.h"
@@ -38,14 +38,12 @@
3838

3939
#include <string>
4040

41-
// CREATE AND FILL TABLE FOR PBPB COLLISIONS
42-
4341
using namespace o2;
4442
using namespace o2::framework;
4543
using namespace o2::framework::expressions;
4644
using namespace o2::constants::physics;
4745

48-
struct HmpidTableProducerPbPb {
46+
struct HmpidTableProducer {
4947
HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject};
5048

5149
const AxisSpec axisEvtCounter{1, 0, +1, ""};
@@ -56,7 +54,7 @@ struct HmpidTableProducerPbPb {
5654
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "URL of the CCDB repository"};
5755
} ccdbConfig;
5856

59-
Produces<aod::HmpidAnalysisPbPb> hmpidAnalysisPbPb;
57+
Produces<aod::HmpidAnalysis> hmpidAnalysis;
6058

6159
// using TrackCandidates = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection>;
6260

@@ -120,7 +118,7 @@ struct HmpidTableProducerPbPb {
120118
float centrality = col.centFV0A();
121119

122120
/////FILL TABLE
123-
hmpidAnalysisPbPb(
121+
hmpidAnalysis(
124122
t.hmpidSignal(), globalTrack.phi(), globalTrack.eta(), t.hmpidMom(),
125123
globalTrack.p(), t.hmpidXTrack(), t.hmpidYTrack(), t.hmpidXMip(),
126124
t.hmpidYMip(), t.hmpidNPhotons(), t.hmpidQMip(), (t.hmpidClusSize() % 1000000) / 1000,
@@ -134,4 +132,4 @@ struct HmpidTableProducerPbPb {
134132
}
135133
};
136134

137-
WorkflowSpec defineDataProcessing(ConfigContext const& cfg) { return WorkflowSpec{adaptAnalysisTask<HmpidTableProducerPbPb>(cfg)}; }
135+
WorkflowSpec defineDataProcessing(ConfigContext const& cfg) { return WorkflowSpec{adaptAnalysisTask<HmpidTableProducer>(cfg)}; }

DPG/Tasks/AOTTrack/PID/HMPID/hmpidTableProducerPp.cxx

Lines changed: 0 additions & 126 deletions
This file was deleted.

DPG/Tasks/AOTTrack/PID/HMPID/tableHMPIDPbPb.h renamed to DPG/Tasks/AOTTrack/PID/HMPID/tableHMPID.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#ifndef DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPBPB_H_
13-
#define DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPBPB_H_
12+
#ifndef DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_
13+
#define DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_
1414

1515
#include "Framework/ASoA.h"
1616
#include "Framework/AnalysisDataModel.h"
@@ -65,7 +65,7 @@ DECLARE_SOA_COLUMN(Centrality, centrality, float);
6565

6666
} // namespace variables_table
6767

68-
DECLARE_SOA_TABLE(HmpidAnalysisPbPb, "AOD", "HMPIDANALYSISPBPB",
68+
DECLARE_SOA_TABLE(HmpidAnalysis, "AOD", "HMPIDANALYSIS",
6969
variables_table::ChAngle,
7070
variables_table::Phi,
7171
variables_table::Eta,
@@ -104,4 +104,4 @@ DECLARE_SOA_TABLE(HmpidAnalysisPbPb, "AOD", "HMPIDANALYSISPBPB",
104104

105105
} // namespace o2::aod
106106

107-
#endif // DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPIDPBPB_H_
107+
#endif // DPG_TASKS_AOTTRACK_PID_HMPID_TABLEHMPID_H_

DPG/Tasks/AOTTrack/PID/HMPID/tableHMPIDpp.h

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)