Skip to content

Commit a353f85

Browse files
NucleiTask - Files renamed
1 parent 2aa2b5f commit a353f85

4 files changed

Lines changed: 20 additions & 24 deletions

File tree

PWGLF/TableProducer/Nuspex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ o2physics_add_dpl_workflow(lnn-reco-task
3030
COMPONENT_NAME Analysis)
3131

3232
o2physics_add_dpl_workflow(nucleustreecreator
33-
SOURCES LFTreeCreatorNuclei.cxx
33+
SOURCES lfTreeCreatorNuclei.cxx
3434
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
3535
COMPONENT_NAME Analysis)
3636

PWGLF/TableProducer/Nuspex/LFTreeCreatorNuclei.cxx renamed to PWGLF/TableProducer/Nuspex/lfTreeCreatorNuclei.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@
1010
// or submit itself to any jurisdiction.
1111

1212
///
13-
/// \file LFTreeCreatorNuclei.cxx
13+
/// \file lfTreeCreatorNuclei.cxx
1414
/// \brief Writer of the nuclei candidates in the form of flat tables to be stored in TTrees.
1515
/// Intended for debug or for the local optimization of analysis on small samples.
1616
/// In this file are defined and filled the output tables
1717
///
1818
/// \author Nicolò Jacazio <nicolo.jacazio@cern.ch> and Francesca Bellini <fbellini@cern.ch>
1919

20-
// o2-linter: disable=name/workflow-file (not a workout)
21-
2220
#include "PWGLF/DataModel/LFNucleiTables.h"
2321
#include "PWGLF/DataModel/LFParticleIdentification.h"
2422
#include "PWGLF/Utils/inelGt.h"

PWGLF/Tasks/Nuspex/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# or submit itself to any jurisdiction.
1111

1212
o2physics_add_dpl_workflow(nuclei-batask
13-
SOURCES LFNucleiBATask.cxx
13+
SOURCES lfNucleiBATask.cxx
1414
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::EventFilteringUtils
1515
COMPONENT_NAME Analysis)
1616

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010
// or submit itself to any jurisdiction.
1111

1212
///
13-
/// \file LFNucleiBATask.cxx
13+
/// \file lfNucleiBATask.cxx
1414
///
1515
/// \brief Analysis task for the measurement of the coalescence parameter B2/B3 in pp collisions for (anti)deuteron/(anti)helium-3
1616
///
1717
/// \author Giovanni Malfattore <giovanni.malfattore@cern.ch> and Rutuparna Rath <rutuparna.rath@cern.ch>
1818

19-
// o2-linter: disable=name/workflow-file
20-
2119
#include "PWGLF/DataModel/LFNucleiTables.h"
2220
#include "PWGLF/DataModel/LFParticleIdentification.h"
2321
#include "PWGLF/DataModel/mcCentrality.h"
@@ -67,7 +65,7 @@ using namespace o2;
6765
using namespace o2::framework;
6866
using namespace o2::framework::expressions;
6967

70-
struct LFNucleiBATask {
68+
struct lfNucleiBATask {
7169
Service<o2::ccdb::BasicCCDBManager> ccdb;
7270
Service<o2::framework::O2DatabasePDG> pdgDB;
7371

@@ -2169,7 +2167,7 @@ struct LFNucleiBATask {
21692167
}
21702168
// To be optimised
21712169
if (!doprocessMCGen && !doprocessMCReco && !doprocessMCRecoLfPid && !doprocessMCRecoFiltered && !doprocessMCRecoFilteredLight) {
2172-
LOG(info) << "Histograms of LFNucleiBATask:";
2170+
LOG(info) << "Histograms of lfNucleiBATask:";
21732171
histos.print();
21742172
return;
21752173
}
@@ -2308,7 +2306,7 @@ struct LFNucleiBATask {
23082306
spectraGen.add("alpha/histGenPtantiAlSec", "generated particles", HistType::kTH1F, {ptAxis});
23092307
spectraGen.add("alpha/histSecTransportPtantiAl", "generated particles", HistType::kTH1F, {ptAxis});
23102308
}
2311-
LOG(info) << "Histograms of LFNucleiBATask:";
2309+
LOG(info) << "Histograms of lfNucleiBATask:";
23122310
histos.print();
23132311
if (doprocessMCGen)
23142312
spectraGen.print();
@@ -6151,7 +6149,7 @@ struct LFNucleiBATask {
61516149
{
61526150
fillHistograms<false /*MC*/, false /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
61536151
}
6154-
PROCESS_SWITCH(LFNucleiBATask, processData, "process data", true);
6152+
PROCESS_SWITCH(lfNucleiBATask, processData, "process data", true);
61556153

61566154
// Process function that runs on the original AO2D
61576155
void processDataLfPid(EventCandidates::iterator const& event,
@@ -6160,7 +6158,7 @@ struct LFNucleiBATask {
61606158
{
61616159
fillHistograms<false /*MC*/, false /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
61626160
}
6163-
PROCESS_SWITCH(LFNucleiBATask, processDataLfPid, "process data with LF PID", false);
6161+
PROCESS_SWITCH(lfNucleiBATask, processDataLfPid, "process data with LF PID", false);
61646162

61656163
// Process function that runs on the filtered data
61666164
void processDataFiltered(o2::aod::LfNuclEvents::iterator const& event,
@@ -6171,7 +6169,7 @@ struct LFNucleiBATask {
61716169
// Takes as input full AO2Ds
61726170
fillHistograms<false /*MC*/, true /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
61736171
}
6174-
PROCESS_SWITCH(LFNucleiBATask, processDataFiltered, "process data on the filtered data", false);
6172+
PROCESS_SWITCH(lfNucleiBATask, processDataFiltered, "process data on the filtered data", false);
61756173

61766174
void processDataLight(o2::aod::LfNuclEvents::iterator const& event,
61776175
o2::aod::LfCandNucleusDummy const& tracks,
@@ -6181,7 +6179,7 @@ struct LFNucleiBATask {
61816179
// Takes as input derived trees
61826180
fillHistograms<false /*MC*/, true /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
61836181
}
6184-
PROCESS_SWITCH(LFNucleiBATask, processDataLight, "process data on the derived trees", false);
6182+
PROCESS_SWITCH(lfNucleiBATask, processDataLight, "process data on the derived trees", false);
61856183

61866184
/////////////
61876185
// MC Reco //
@@ -6229,7 +6227,7 @@ struct LFNucleiBATask {
62296227

62306228
fillHistograms<true /*MC*/, false /*Filtered*/>(event, tracks, mcParticles, mcCentFT0M);
62316229
} // CLOSING PROCESS MC RECO
6232-
PROCESS_SWITCH(LFNucleiBATask, processMCReco, "process mc reco", false);
6230+
PROCESS_SWITCH(lfNucleiBATask, processMCReco, "process mc reco", false);
62336231

62346232
// Process function that runs on the original AO2D (for the MC) with the LfPIDcalibration
62356233
void processMCRecoLfPid(EventCandidatesMC::iterator const& event,
@@ -6270,7 +6268,7 @@ struct LFNucleiBATask {
62706268

62716269
fillHistograms<true /*MC*/, false /*Filtered*/>(event, tracks, mcParticles, mcCentFT0M);
62726270
} // CLOSING PROCESS MC RECO
6273-
PROCESS_SWITCH(LFNucleiBATask, processMCRecoLfPid, "process mc reco with LfPid", false);
6271+
PROCESS_SWITCH(lfNucleiBATask, processMCRecoLfPid, "process mc reco with LfPid", false);
62746272

62756273
// Process function that runs on the original AO2D (for the MC) with the LfPIDcalibration
62766274
void processMCRecoLfPidEv(EventCandidatesMC const& collisions,
@@ -6382,7 +6380,7 @@ struct LFNucleiBATask {
63826380
}
63836381
}
63846382
// CLOSING PROCESS MC RECO
6385-
PROCESS_SWITCH(LFNucleiBATask, processMCRecoLfPidEv, "process mc reco with LfPid w/ Event", false);
6383+
PROCESS_SWITCH(lfNucleiBATask, processMCRecoLfPidEv, "process mc reco with LfPid w/ Event", false);
63866384

63876385
// Process function that runs on the filtered AO2D (for the MC)
63886386
void processMCRecoFiltered(o2::aod::LfNuclEvents::iterator const& event,
@@ -6391,15 +6389,15 @@ struct LFNucleiBATask {
63916389
{
63926390
fillHistograms<true /*MC*/, true /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
63936391
} // CLOSING PROCESS MC RECO ON FILTERED DATA
6394-
PROCESS_SWITCH(LFNucleiBATask, processMCRecoFiltered, "process mc reco on the filtered data", false);
6392+
PROCESS_SWITCH(lfNucleiBATask, processMCRecoFiltered, "process mc reco on the filtered data", false);
63956393

63966394
void processMCRecoFilteredLight(o2::aod::LfNuclEvents::iterator const& event,
63976395
soa::Join<o2::aod::LfCandNucleusDummy, o2::aod::LfCandNucleusMC> const& tracks,
63986396
o2::aod::BCsWithTimestamps const&)
63996397
{
64006398
fillHistograms<true /*MC*/, true /*Filtered*/>(event, tracks, true /*dummy*/, event.centFT0M());
64016399
} // CLOSING PROCESS MC RECO ON FILTERED DATA
6402-
PROCESS_SWITCH(LFNucleiBATask, processMCRecoFilteredLight, "process mc reco on the derived trees", false);
6400+
PROCESS_SWITCH(lfNucleiBATask, processMCRecoFilteredLight, "process mc reco on the derived trees", false);
64036401

64046402
////////////
64056403
// MC Gen //
@@ -6669,7 +6667,7 @@ struct LFNucleiBATask {
66696667
}
66706668
}
66716669
} // Close processMCGen
6672-
PROCESS_SWITCH(LFNucleiBATask, processMCGen, "process MC Generated", true);
6670+
PROCESS_SWITCH(lfNucleiBATask, processMCGen, "process MC Generated", true);
66736671

66746672
void processEvSgLossMC(soa::Join<aod::McCollisions, aod::McCentFT0Ms>::iterator const& mcCollision,
66756673
aod::McParticles const& mcParticles,
@@ -6755,7 +6753,7 @@ struct LFNucleiBATask {
67556753
}
67566754
}
67576755
}
6758-
PROCESS_SWITCH(LFNucleiBATask, processEvSgLossMC, "process MC SignLoss", false);
6756+
PROCESS_SWITCH(lfNucleiBATask, processEvSgLossMC, "process MC SignLoss", false);
67596757

67606758
// void processMCGen(soa::Join<aod::McCollisions, aod::McCentFT0Ms>::iterator const& mcCollision,
67616759
// aod::McParticles const& mcParticles)
@@ -6931,10 +6929,10 @@ struct LFNucleiBATask {
69316929
}
69326930
}
69336931
}
6934-
PROCESS_SWITCH(LFNucleiBATask, processMCGenLosses, "process MCGen losses", false);
6932+
PROCESS_SWITCH(lfNucleiBATask, processMCGenLosses, "process MCGen losses", false);
69356933
};
69366934

69376935
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
69386936
{
6939-
return WorkflowSpec{adaptAnalysisTask<LFNucleiBATask>(cfgc)};
6937+
return WorkflowSpec{adaptAnalysisTask<lfNucleiBATask>(cfgc)};
69406938
}

0 commit comments

Comments
 (0)