Project
Loading...
Searching...
No Matches
CalibRawPartInfo.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef ALICEO2_TPC_CalibRawPartInfo_H_
13#define ALICEO2_TPC_CalibRawPartInfo_H_
14
15#include <cstdint>
17
18namespace o2::tpc
19{
20
26
27constexpr bool operator==(const CalibRawPartInfo& lhs, const CalibRawPartInfo& rhs)
28{
29 return (lhs.calibType == rhs.calibType) &&
30 (lhs.publishCycle == rhs.publishCycle) &&
31 (lhs.tfIDInfo.firstTForbit == rhs.tfIDInfo.firstTForbit) &&
32 (lhs.tfIDInfo.tfCounter == rhs.tfIDInfo.tfCounter) &&
33 (lhs.tfIDInfo.runNumber == rhs.tfIDInfo.runNumber) &&
34 (lhs.tfIDInfo.startTime == rhs.tfIDInfo.startTime) &&
35 (lhs.tfIDInfo.creation == rhs.tfIDInfo.creation);
36}
37
38constexpr bool operator!=(const CalibRawPartInfo& lhs, const CalibRawPartInfo& rhs)
39{
40 return !(lhs == rhs);
41}
42
43} // namespace o2::tpc
44
45#endif
Global TPC definitions and constants.
Definition SimTraits.h:167
constexpr bool operator==(const CalibRawPartInfo &lhs, const CalibRawPartInfo &rhs)
constexpr bool operator!=(const CalibRawPartInfo &lhs, const CalibRawPartInfo &rhs)
dataformats::TFIDInfo tfIDInfo