Project
Loading...
Searching...
No Matches
ChamberResponseParams.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
16#ifndef O2_MID_CHAMBERRESPONSEPARAMS_H
17#define O2_MID_CHAMBERRESPONSEPARAMS_H
18
19#include <array>
20
21namespace o2
22{
23namespace mid
24{
26{
27 public:
28 double getParA(double hv) const;
29 double getParB(int cathode, int deId) const;
30 double getParC(double hv) const;
31
33 const std::array<double, 2> getParametersA() const { return mParA; }
34
36 const std::array<double, 2> getParametersC() const { return mParC; }
37
38 void setParA(double a0, double a1);
39 void setParC(double c0, double c1);
40 void setParB(int cathode, int deId, double val);
41
42 private:
43 std::array<double, 2> mParA;
44 std::array<double, 2> mParC;
45 std::array<double, 144> mParB;
46};
47
48ChamberResponseParams createDefaultChamberResponseParams();
49
50} // namespace mid
51} // namespace o2
52
53#endif /* O2_MID_CHAMBERRESPONSEPARAMS_H */
const GPUTPCGMMerger::trackCluster & a1
bool const GPUTPCGMMerger::trackCluster * c1
void setParB(int cathode, int deId, double val)
const std::array< double, 2 > getParametersC() const
Gets the parameters to compute C.
double getParB(int cathode, int deId) const
const std::array< double, 2 > getParametersA() const
Gets the parameters to compute A.
void setParA(double a0, double a1)
void setParC(double c0, double c1)
GLuint GLfloat * val
Definition glcorearb.h:1582
ChamberResponseParams createDefaultChamberResponseParams()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...