Project
Loading...
Searching...
No Matches
FV0CalibrationInfoObject.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 O2_FV0CALIBRATIONINFOOBJECT_H
13
#define O2_FV0CALIBRATIONINFOOBJECT_H
14
15
#include "Rtypes.h"
16
17
namespace
o2
18
{
19
namespace
fv0
20
{
21
class
FV0CalibrationInfoObject
22
{
23
public
:
24
FV0CalibrationInfoObject
(uint8_t channel, int16_t
time
, int32_t
charge
, uint64_t timestamp) : mChannelIndex(channel), mTime(
time
), mCharge(
charge
), mTimeStamp(timestamp){};
25
FV0CalibrationInfoObject
() =
default
;
26
~FV0CalibrationInfoObject
() =
default
;
27
28
void
setChannelIndex
(uint8_t channel) { mChannelIndex = channel; }
29
[[nodiscard]] uint8_t
getChannelIndex
()
const
{
return
mChannelIndex; }
30
31
void
setTime
(int16_t
time
) { mTime =
time
; }
32
[[nodiscard]] int16_t
getTime
()
const
{
return
mTime; }
33
void
setCharge
(int16_t
charge
) { mCharge =
charge
; }
34
[[nodiscard]] int16_t
getCharge
()
const
{
return
mCharge; }
35
void
setTimeStamp
(int64_t timestamp) { mTimeStamp = timestamp; }
36
[[nodiscard]] int64_t
getTimeStamp
()
const
{
return
mTimeStamp; }
37
38
private
:
39
uint8_t mChannelIndex;
40
int16_t mTime;
41
int16_t mCharge;
42
uint64_t mTimeStamp;
43
44
ClassDefNV(
FV0CalibrationInfoObject
, 1);
45
};
46
}
// namespace fv0
47
}
// namespace o2
48
49
#endif
// O2_FV0CALIBRATIONINFOOBJECT_H
charge
int16_t charge
Definition
RawEventData.h:5
time
int16_t time
Definition
RawEventData.h:4
o2::fv0::FV0CalibrationInfoObject
Definition
FV0CalibrationInfoObject.h:22
o2::fv0::FV0CalibrationInfoObject::FV0CalibrationInfoObject
FV0CalibrationInfoObject()=default
o2::fv0::FV0CalibrationInfoObject::getCharge
int16_t getCharge() const
Definition
FV0CalibrationInfoObject.h:34
o2::fv0::FV0CalibrationInfoObject::setTimeStamp
void setTimeStamp(int64_t timestamp)
Definition
FV0CalibrationInfoObject.h:35
o2::fv0::FV0CalibrationInfoObject::getChannelIndex
uint8_t getChannelIndex() const
Definition
FV0CalibrationInfoObject.h:29
o2::fv0::FV0CalibrationInfoObject::getTime
int16_t getTime() const
Definition
FV0CalibrationInfoObject.h:32
o2::fv0::FV0CalibrationInfoObject::FV0CalibrationInfoObject
FV0CalibrationInfoObject(uint8_t channel, int16_t time, int32_t charge, uint64_t timestamp)
Definition
FV0CalibrationInfoObject.h:24
o2::fv0::FV0CalibrationInfoObject::setTime
void setTime(int16_t time)
Definition
FV0CalibrationInfoObject.h:31
o2::fv0::FV0CalibrationInfoObject::setCharge
void setCharge(int16_t charge)
Definition
FV0CalibrationInfoObject.h:33
o2::fv0::FV0CalibrationInfoObject::setChannelIndex
void setChannelIndex(uint8_t channel)
Definition
FV0CalibrationInfoObject.h:28
o2::fv0::FV0CalibrationInfoObject::getTimeStamp
int64_t getTimeStamp() const
Definition
FV0CalibrationInfoObject.h:36
o2::fv0::FV0CalibrationInfoObject::~FV0CalibrationInfoObject
~FV0CalibrationInfoObject()=default
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
DataFormats
Detectors
FIT
FV0
include
DataFormatsFV0
FV0CalibrationInfoObject.h
Generated on Tue Feb 25 2025 23:16:10 for Project by
1.9.8