Skip to content

Commit f9e9bf3

Browse files
committed
Fix O2 linter: align workflow file and struct naming
1 parent cf4f8f3 commit f9e9bf3

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

PWGLF/Tasks/Resonances/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ o2physics_add_dpl_workflow(f1protoncorrelation
114114
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
115115
COMPONENT_NAME Analysis)
116116

117-
o2physics_add_dpl_workflow(chargedkstaranalysis
118-
SOURCES chargedkstaranalysis.cxx
117+
o2physics_add_dpl_workflow(chargedKStarAnalysis
118+
SOURCES ChargedKStarAnalysis.cxx
119119
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
120120
COMPONENT_NAME Analysis)
121121

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx renamed to PWGLF/Tasks/Resonances/ChargedKStarAnalysis.cxx

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

12-
/// \file chargedkstaranalysis.cxx
12+
/// \file ChargedKStarAnalysis.cxx
1313
/// \brief Reconstruction of track-track decay resonance candidates
1414
///
1515
///
16-
/// \author Protay
1716
/// \author Navneet
1817

1918
#include "PWGLF/DataModel/LFStrangenessTables.h"
@@ -75,7 +74,7 @@ using namespace o2::framework::expressions;
7574
using namespace o2::soa;
7675
using namespace o2::constants::physics;
7776

78-
struct chargedkstaranalysis {
77+
struct ChargedKStarAnalysis {
7978

8079
struct : ConfigurableGroup {
8180

@@ -1104,7 +1103,7 @@ struct chargedkstaranalysis {
11041103
colCuts.fillQA(collision);
11051104
fillHistograms<false, false>(collision, tracks, v0s);
11061105
}
1107-
PROCESS_SWITCH(chargedkstaranalysis, processDataSE, "Process Event for data without Partitioning", true);
1106+
PROCESS_SWITCH(ChargedKStarAnalysis, processDataSE, "Process Event for data without Partitioning", true);
11081107

11091108
SliceCache cache;
11101109
using BinningTypeVertexContributor = ColumnBinningPolicy<aod::collision::PosZ, aod::cent::CentFT0M>;
@@ -1151,7 +1150,7 @@ struct chargedkstaranalysis {
11511150
}
11521151
}
11531152
}
1154-
PROCESS_SWITCH(chargedkstaranalysis, processDataME, "Process Event for data without Partitioning", true);
1153+
PROCESS_SWITCH(ChargedKStarAnalysis, processDataME, "Process Event for data without Partitioning", true);
11551154

11561155
// process MC reconstructed level
11571156
void processMC(MCEventCandidates::iterator const& collision,
@@ -1163,9 +1162,9 @@ struct chargedkstaranalysis {
11631162

11641163
fillHistograms<true, false>(collision, tracks, v0s);
11651164
}
1166-
PROCESS_SWITCH(chargedkstaranalysis, processMC, "Process Event for MC", false);
1165+
PROCESS_SWITCH(ChargedKStarAnalysis, processMC, "Process Event for MC", false);
11671166
};
11681167
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
11691168
{
1170-
return WorkflowSpec{adaptAnalysisTask<chargedkstaranalysis>(cfgc)};
1169+
return WorkflowSpec{adaptAnalysisTask<ChargedKStarAnalysis>(cfgc)};
11711170
}

0 commit comments

Comments
 (0)