Skip to content

Commit f55aa9c

Browse files
committed
Fix linter errors with filename
1 parent e46bfc4 commit f55aa9c

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

Common/DataModel/ZDCInterCalib.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace o2::aod
2222
{
23-
namespace znoutput
23+
namespace znoutput // o2-linter: disable=name/workflow-file
2424
{
2525
DECLARE_SOA_COLUMN(ZNApmc, commonPMZNA, float); //! PMC ZNA // o2-linter: disable=name/o2-column
2626
DECLARE_SOA_COLUMN(ZNApm1, ZNAPM1, float); //! PM1 ZNA // o2-linter: disable=name/o2-column
@@ -34,9 +34,9 @@ DECLARE_SOA_COLUMN(ZNCpm2, ZNCPM2, float); //! PM2 ZNC /
3434
DECLARE_SOA_COLUMN(ZNCpm3, ZNCPM3, float); //! PM3 ZNC // o2-linter: disable=name/o2-column
3535
DECLARE_SOA_COLUMN(ZNCpm4, ZNCPM4, float); //! PM4 ZNC // o2-linter: disable=name/o2-column
3636
DECLARE_SOA_COLUMN(ZNCtdc, ZNCTDC, float); //! TDC ZNC // o2-linter: disable=name/o2-column
37-
DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Centrality ZN // o2-linter: disable=name/o2-column
38-
DECLARE_SOA_COLUMN(Timestamp, timestamp, uint64_t); //! Timestamp // o2-linter: disable=name/o2-column
39-
DECLARE_SOA_COLUMN(SelectionBits, selectionBits, uint8_t); //! Selection Flags // o2-linter: disable=name/o2-column
37+
DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Centrality
38+
DECLARE_SOA_COLUMN(Timestamp, timestamp, uint64_t); //! Timestamp
39+
DECLARE_SOA_COLUMN(SelectionBits, selectionBits, uint8_t); //! Selection Flags
4040
} // namespace znoutput
4141

4242
DECLARE_SOA_TABLE(ZDCInterCalib, "AOD", "ZDCIC", o2::soa::Index<>,

Common/TableProducer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ o2physics_add_dpl_workflow(match-mft-ft0
121121
COMPONENT_NAME Analysis)
122122

123123
o2physics_add_dpl_workflow(zdc-task-intercalib
124-
SOURCES zdc-task-intercalib.cxx
124+
SOURCES zdcTaskIntercalib.cxx
125125
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
126126
COMPONENT_NAME Analysis)
127127

Common/TableProducer/interCalibrationZDC.cxx renamed to Common/TableProducer/zdcTaskInterCalib.cxx

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

12-
/// \file zdc-task-intercalib.cxx
12+
/// \file zdcTaskIntercalib.cxx
1313
/// \brief Task for ZDC tower inter-calibration
1414
/// \author chiara.oppedisano@cern.ch
1515

1616
// o2-linter: disable=name/workflow-file
1717
// o2-linter: disable=name/file-cpp
18+
// o2-linter: disable=doc/file
19+
1820
#include "Framework/AnalysisTask.h"
1921
#include "Framework/AnalysisDataModel.h"
2022
#include "Framework/HistogramRegistry.h"
@@ -24,7 +26,7 @@
2426
#include "Common/CCDB/TriggerAliases.h"
2527
#include "Common/DataModel/Centrality.h"
2628
#include "Common/DataModel/Multiplicity.h"
27-
#include "Common/DataModel/InterCalibrationZDC.h"
29+
#include "Common/DataModel/ZDCInterCalib.h"
2830

2931
#include "TH1F.h"
3032
#include "TH2F.h"
@@ -37,9 +39,9 @@ using namespace o2::aod::evsel;
3739
using BCsRun3 = soa::Join<aod::BCs, aod::Timestamps, aod::BcSels, aod::Run3MatchedToBCSparse>;
3840
using ColEvSels = soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs>;
3941

40-
struct InterCalibrationZDC {
42+
struct ZDCCalibTower {
4143

42-
Produces<aod::InterCalibrationZDC> zTab;
44+
Produces<aod::ZDCInterCalib> zTab;
4345

4446
// Configurable parameters
4547
//
@@ -252,5 +254,5 @@ struct InterCalibrationZDC {
252254
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) // o2-linter: disable=name/file-cpp
253255
{
254256
return WorkflowSpec{
255-
adaptAnalysisTask<InterCalibrationZDC>(cfgc)};
257+
adaptAnalysisTask<ZDCCalibTower>(cfgc)};
256258
}

0 commit comments

Comments
 (0)