Project
Loading...
Searching...
No Matches
CalGain.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
14
15
#ifndef ALICEO2_CALGAIN_H
16
#define ALICEO2_CALGAIN_H
17
18
#include "
DataFormatsTRD/Constants.h
"
19
#include "Rtypes.h"
20
#include <array>
21
22
namespace
o2
23
{
24
namespace
trd
25
{
26
27
class
CalGain
28
{
29
public
:
30
CalGain
() =
default
;
31
CalGain
(
const
CalGain
&) =
default
;
32
~CalGain
() =
default
;
33
34
void
setMPVdEdx
(
int
iDet,
float
mpv) { mMPVdEdx[iDet] = mpv; }
35
36
float
getMPVdEdx
(
int
iDet)
const
{
return
mMPVdEdx[iDet]; }
37
38
private
:
39
std::array<float, constants::MAXCHAMBER> mMPVdEdx{};
40
41
ClassDefNV(
CalGain
, 1);
42
};
43
44
}
// namespace trd
45
}
// namespace o2
46
47
#endif
// ALICEO2_CALGAIN_H
Constants.h
Global TRD definitions and constants.
o2::trd::CalGain
Definition
CalGain.h:28
o2::trd::CalGain::setMPVdEdx
void setMPVdEdx(int iDet, float mpv)
Definition
CalGain.h:34
o2::trd::CalGain::CalGain
CalGain(const CalGain &)=default
o2::trd::CalGain::~CalGain
~CalGain()=default
o2::trd::CalGain::CalGain
CalGain()=default
o2::trd::CalGain::getMPVdEdx
float getMPVdEdx(int iDet) const
Definition
CalGain.h:36
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
DataFormats
Detectors
TRD
include
DataFormatsTRD
CalGain.h
Generated on Tue Feb 25 2025 17:02:52 for Project by
1.9.8