Project
Loading...
Searching...
No Matches
FT0CalibrationInfoObject.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_FT0CALIBRATIONINFOOBJECT_H
13
#define O2_FT0CALIBRATIONINFOOBJECT_H
14
15
#include "Rtypes.h"
16
17
namespace
o2
18
{
19
namespace
ft0
20
{
21
class
FT0CalibrationInfoObject
22
{
23
public
:
24
FT0CalibrationInfoObject
(uint8_t channel, int16_t
time
, int32_t amp, uint64_t timestamp) : mChannelIndex(channel), mTime(
time
), mAmp(amp), mTimeStamp(timestamp){};
25
FT0CalibrationInfoObject
() =
default
;
26
~FT0CalibrationInfoObject
() =
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
setAmp
(int16_t amp) { mAmp = amp; }
34
[[nodiscard]] int16_t
getAmp
()
const
{
return
mAmp; }
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 mAmp;
42
uint64_t mTimeStamp;
43
44
ClassDefNV(
FT0CalibrationInfoObject
, 2);
45
};
46
}
// namespace ft0
47
}
// namespace o2
48
49
#endif
// O2_FT0CALIBRATIONINFOOBJECT_H
time
int16_t time
Definition
RawEventData.h:4
o2::ft0::FT0CalibrationInfoObject
Definition
FT0CalibrationInfoObject.h:22
o2::ft0::FT0CalibrationInfoObject::FT0CalibrationInfoObject
FT0CalibrationInfoObject()=default
o2::ft0::FT0CalibrationInfoObject::setAmp
void setAmp(int16_t amp)
Definition
FT0CalibrationInfoObject.h:33
o2::ft0::FT0CalibrationInfoObject::setChannelIndex
void setChannelIndex(uint8_t channel)
Definition
FT0CalibrationInfoObject.h:28
o2::ft0::FT0CalibrationInfoObject::getChannelIndex
uint8_t getChannelIndex() const
Definition
FT0CalibrationInfoObject.h:29
o2::ft0::FT0CalibrationInfoObject::getTime
int16_t getTime() const
Definition
FT0CalibrationInfoObject.h:32
o2::ft0::FT0CalibrationInfoObject::setTime
void setTime(int16_t time)
Definition
FT0CalibrationInfoObject.h:31
o2::ft0::FT0CalibrationInfoObject::getTimeStamp
int64_t getTimeStamp() const
Definition
FT0CalibrationInfoObject.h:36
o2::ft0::FT0CalibrationInfoObject::getAmp
int16_t getAmp() const
Definition
FT0CalibrationInfoObject.h:34
o2::ft0::FT0CalibrationInfoObject::FT0CalibrationInfoObject
FT0CalibrationInfoObject(uint8_t channel, int16_t time, int32_t amp, uint64_t timestamp)
Definition
FT0CalibrationInfoObject.h:24
o2::ft0::FT0CalibrationInfoObject::~FT0CalibrationInfoObject
~FT0CalibrationInfoObject()=default
o2::ft0::FT0CalibrationInfoObject::setTimeStamp
void setTimeStamp(int64_t timestamp)
Definition
FT0CalibrationInfoObject.h:35
o2::upgrades_utils::ft0
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
DataFormats
Detectors
FIT
FT0
include
DataFormatsFT0
FT0CalibrationInfoObject.h
Generated on Tue Feb 25 2025 23:16:10 for Project by
1.9.8