Project
Loading...
Searching...
No Matches
poissonEM.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// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
13// See https://alice-o2.web.cern.ch/copyright for details of the copyright
14// holders. All rights not expressly granted are reserved.
15//
16// This software is distributed under the terms of the GNU General Public
17// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
18//
19// In applying this license CERN does not waive the privileges and immunities
20// granted to it by virtue of its status as an Intergovernmental Organization
21// or submit itself to any jurisdiction.
22
32
33#ifndef O2_MCH_POISSONEM_H_
34#define O2_MCH_POISSONEM_H_
35
36namespace o2
37{
38namespace mch
39{
40
41// namespace PEM {
42// public :
43static constexpr int nMacroIterations = 8;
44static int nIterations[nMacroIterations] = {5, 10, 10, 10,
45 10, 10, 10, 30};
46/*
47static constexpr double minPadResidues[nMacroIterations] = {2.0, 2.0, 1.5, 1.5,
48 1.0, 1.0, 0.5, 0.5};
49*/
50static constexpr double minPadResidues[nMacroIterations] = {0.8, 0.6, 0.5, 0.4,
51 0.3, 0.25, 0.2, 0.15};
52
53std::pair<double, double> PoissonEMLoop(const Pads& pads, Pads& pixels,
54 const double* Cij, Mask_t* maskCij,
55 int qCutMode, double minPadResidu,
56 int nItMax);
57// static double computeChiSquare( const Pads &pads, const double
58// *qPredictedPads);
59//};
60
61} // namespace mch
62} // namespace o2
63
64#endif // O2_MCH_POISSONEM_H_
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
Definition glcorearb.h:275
short Mask_t
std::pair< double, double > PoissonEMLoop(const Pads &pads, Pads &pixels, const double *Cij, Mask_t *maskCij, int qCutMode, double minPadError, int nItMax)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...