Skip to content

Commit 80e82f1

Browse files
committed
Fix O2 Linter Errors for the CascadeCascade Task
1 parent 0fc74e2 commit 80e82f1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

PWGCF/FemtoDream/Tasks/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ o2physics_add_dpl_workflow(femtodream-pair-track-cascade
3030
COMPONENT_NAME Analysis)
3131

3232
o2physics_add_dpl_workflow(femtodream-pair-casdcade-cascade
33-
SOURCES femtoDreamPairTaskCascadeCascade.cxx
33+
SOURCES femtoDreamPairCascadeCascade.cxx
3434
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
3535
COMPONENT_NAME Analysis)
3636

PWGCF/FemtoDream/Tasks/femtoDreamPairTaskCascadeCascade.cxx renamed to PWGCF/FemtoDream/Tasks/femtoDreamPairCascadeCascade.cxx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
// In applying this license CERN does not waive the privileges and immunities
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
11-
/// \file femtoDreamPairTaskCascadeCascade.cxx
11+
12+
/// \file femtoDreamPairCascadeCascade.cxx
1213
/// \brief Tasks that reads the track tables used for the pairing and builds pairs of two cascades
1314
/// \author Andi Mathis, Anton Riedel, Georgios Mantzaridis, Oton Vazquez Doce.
15+
1416
#include "PWGCF/DataModel/FemtoDerived.h"
1517
#include "PWGCF/FemtoDream/Core/femtoDreamContainer.h"
1618
#include "PWGCF/FemtoDream/Core/femtoDreamDetaDphiStar.h"
@@ -37,7 +39,7 @@ using namespace o2::soa;
3739
using namespace o2::framework;
3840
using namespace o2::framework::expressions;
3941
using namespace o2::analysis::femtoDream;
40-
struct FemtoDreamPairTaskCascadeCascade {
42+
struct FemtoDreamPairCascadeCascade {
4143
SliceCache cache;
4244
Preslice<aod::FDParticles> perCol = aod::femtodreamparticle::fdCollisionId;
4345

@@ -362,7 +364,7 @@ struct FemtoDreamPairTaskCascadeCascade {
362364
auto sliceCascade2 = partitionCascade2->sliceByCached(aod::femtodreamparticle::fdCollisionId, col.globalIndex(), cache);
363365
doSameEvent<false>(sliceCascade1, sliceCascade2, parts, col);
364366
}
365-
PROCESS_SWITCH(FemtoDreamPairTaskCascadeCascade, processSameEvent, "Enable processing same event", true);
367+
PROCESS_SWITCH(FemtoDreamPairCascadeCascade, processSameEvent, "Enable processing same event", true);
366368

367369
// Mixed events
368370
template <bool isMC, typename CollisionType, typename PartType, typename PartitionType, typename BinningType>
@@ -435,12 +437,12 @@ struct FemtoDreamPairTaskCascadeCascade {
435437
LOG(fatal) << "Invalid binning policiy specifed. Breaking...";
436438
}
437439
}
438-
PROCESS_SWITCH(FemtoDreamPairTaskCascadeCascade, processMixedEvent, "Enable processing mixed events", true);
440+
PROCESS_SWITCH(FemtoDreamPairCascadeCascade, processMixedEvent, "Enable processing mixed events", true);
439441
};
440442
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
441443
{
442444
WorkflowSpec workflow{
443-
adaptAnalysisTask<FemtoDreamPairTaskCascadeCascade>(cfgc),
445+
adaptAnalysisTask<FemtoDreamPairCascadeCascade>(cfgc),
444446
};
445447
return workflow;
446448
}

0 commit comments

Comments
 (0)