Skip to content

Commit 25369d2

Browse files
committed
Changing megalinter.yml to the newest version and renaming file jetHadronsPid.cxx to JetHadronsPid.cxx
1 parent be3d669 commit 25369d2

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.mega-linter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ DISABLE_LINTERS:
2121
- REPOSITORY_DEVSKIM
2222
- REPOSITORY_GITLEAKS
2323
- REPOSITORY_KICS
24+
- REPOSITORY_OSV_SCANNER
2425
- REPOSITORY_SECRETLINT
2526
- REPOSITORY_TRIVY
2627
- YAML_PRETTIER
2728
- YAML_V8R
2829
DISABLE_ERRORS_LINTERS: # If errors are found by these linters, they will be considered as non blocking.
30+
- ACTION_ZIZMOR
2931
- PYTHON_BANDIT # The bandit check is overly broad and complains about subprocess usage.
3032
SHOW_ELAPSED_TIME: true
3133
FILEIO_REPORTER: false
@@ -42,3 +44,4 @@ CPP_CLANG_FORMAT_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".c
4244
CPP_CPPCHECK_FILE_EXTENSIONS: [".C", ".c", ".c++", ".cc", ".cl", ".cpp", ".cu", ".cuh", ".cxx", ".cxx.in", ".h", ".h++", ".hh", ".h.in", ".hpp", ".hxx", ".inc", ".inl", ".macro"]
4345
CPP_CPPCHECK_ARGUMENTS: --language=c++ --std=c++20 --check-level=exhaustive --suppressions-list=cppcheck_config
4446
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: true
47+
ACTION_ZIZMOR_UNSECURED_ENV_VARIABLES: [GITHUB_TOKEN]
Lines changed: 7 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-
/// \file jetHadronsPid.cxx
12+
/// \file JetHadronsPid.cxx
1313
/// \brief Analysis of hadrons in jets
1414
/// \author Leonard Lorenc, WUT Warsaw, leonard.lorenc@cern.ch
1515
/// \author Aleksandra Mulewicz, WUT Warsaw, aleksandra.mulewicz@cern.ch
@@ -68,7 +68,7 @@ using HadronTracksMC = soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelect
6868
aod::pidTPCFullPr, aod::pidTOFFullPr,
6969
aod::McTrackLabels>;
7070

71-
struct jetHadronsPid {
71+
struct JetHadronsPid {
7272

7373
HistogramRegistry registryData{"registryData", {}, OutputObjHandlingPolicy::AnalysisObject, true, true};
7474

@@ -338,7 +338,7 @@ struct jetHadronsPid {
338338
}
339339
}
340340
}
341-
PROCESS_SWITCH(jetHadronsPid, processPureTracks, "Pure Tracks Analysis", true);
341+
PROCESS_SWITCH(JetHadronsPid, processPureTracks, "Pure Tracks Analysis", true);
342342

343343
void processJets(JetEvents::iterator const& collision,
344344
soa::Join<aod::ChargedJets, aod::ChargedJetConstituents> const& jets,
@@ -540,7 +540,7 @@ struct jetHadronsPid {
540540
registryData.fill(HIST("tracks_n_in_ue"), nTracksOut);
541541
}
542542
}
543-
PROCESS_SWITCH(jetHadronsPid, processJets, "Jets Analysis", true);
543+
PROCESS_SWITCH(JetHadronsPid, processJets, "Jets Analysis", true);
544544

545545
void processMC(StandardEvents::iterator const& collision, HadronTracksMC const& tracks, aod::McParticles const&)
546546
{
@@ -618,7 +618,7 @@ struct jetHadronsPid {
618618
}
619619
}
620620
}
621-
PROCESS_SWITCH(jetHadronsPid, processMC, "Run on Monte Carlo", false);
621+
PROCESS_SWITCH(JetHadronsPid, processMC, "Run on Monte Carlo", false);
622622

623623
void processMCTruth(aod::McCollisions::iterator const& mcCollision, aod::McParticles const& mcParticles)
624624
{
@@ -647,10 +647,10 @@ struct jetHadronsPid {
647647
}
648648
}
649649
}
650-
PROCESS_SWITCH(jetHadronsPid, processMCTruth, "Run on Monte Carlo (Pure Truth)", false);
650+
PROCESS_SWITCH(JetHadronsPid, processMCTruth, "Run on Monte Carlo (Pure Truth)", false);
651651
};
652652

653653
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
654654
{
655-
return WorkflowSpec{adaptAnalysisTask<jetHadronsPid>(cfgc)};
655+
return WorkflowSpec{adaptAnalysisTask<JetHadronsPid>(cfgc)};
656656
}

0 commit comments

Comments
 (0)