Project
Loading...
Searching...
No Matches
CaloRawFitterGS.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
22
23#ifndef PHOSRAWFITTERGS_H
24#define PHOSRAWFITTERGS_H
26
27namespace o2
28{
29
30namespace phos
31{
32
33class CaloRawFitterGS final : public CaloRawFitter
34{
35
36 public:
37 static constexpr int NMAXSAMPLES = 40;
40
42 ~CaloRawFitterGS() final = default;
43
45 FitStatus evaluate(gsl::span<short unsigned int> signal) final;
46
48 void init();
49 FitStatus evalFit(gsl::span<short unsigned int> signal);
50
51 private:
52 short mMinTimeCalc = 10;
53 float mDecTime = 0.058823529;
54 float mQAccuracy = 1.e-3;
55 float mexp[NMAXSAMPLES];
56 float ma0[NMAXSAMPLES];
57 float ma1[NMAXSAMPLES];
58 float ma2[NMAXSAMPLES];
59 float ma3[NMAXSAMPLES];
60 float ma4[NMAXSAMPLES];
61
62 ClassDef(CaloRawFitterGS, 2);
63}; // End of CaloRawFitterGS
64
65} // namespace phos
66
67} // namespace o2
68#endif
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
#define protected
FitStatus evaluate(gsl::span< short unsigned int > signal) final
Evaluation Amplitude and TOF.
~CaloRawFitterGS() final=default
Destructor.
FitStatus evalFit(gsl::span< short unsigned int > signal)
static constexpr int NMAXSAMPLES
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...