Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
aphecetche committed Nov 29, 2023
1 parent abe865b commit 03e933f
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 218 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@ class DsChannelId

ClassDefNV(DsChannelId, 1); // class for MCH readout channel
};

bool operator<(const DsChannelId& d1, const DsChannelId& d2);
} // namespace o2::mch
#endif
5 changes: 5 additions & 0 deletions DataFormats/Detectors/MUON/MCH/src/DsChannelId.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@ std::string DsChannelId::asString() const
return fmt::format("solarid {:4d} elinkid {:4d} ch {:2d}",
getSolarId(), getElinkId(), getChannel());
}

bool operator<(const DsChannelId& d1, const DsChannelId& d2)
{
return d1.value() < d2.value();
}
} // namespace o2::mch
2 changes: 2 additions & 0 deletions Detectors/MUON/MCH/Conditions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ o2_add_executable(
SOURCES src/dcs-ccdb-to-rejectlist.cxx
PUBLIC_LINK_LIBRARIES
O2::MCHConditions
O2::DetectorsDCS
O2::CCDB
O2::DataFormatsMCH
O2::Framework
O2::MCHMappingImpl4
O2::MCHRawElecMap
O2::MCHGlobalMapping
)


Expand Down
Loading

0 comments on commit 03e933f

Please sign in to comment.