Project
Loading...
Searching...
No Matches
CaloRawFitterStandard.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 EMCALRAWFITTERSTANDARD_H_
13#define EMCALRAWFITTERSTANDARD_H_
14
15#include <iosfwd>
16#include <array>
17#include <optional>
18#include <Rtypes.h>
23
24class TGraph;
25
26namespace o2
27{
28
29namespace emcal
30{
31
44{
45
46 public:
49
51 ~CaloRawFitterStandard() final = default;
52
57 static double rawResponseFunction(double* x, double* par);
58
63 CaloFitResults evaluate(const gsl::span<const Bunch> bunchvector) final;
64
70 std::tuple<float, float, float> fitRaw(int firstTimeBin, int lastTimeBin) const;
71
72 private:
73 ClassDefNV(CaloRawFitterStandard, 1);
74}; // End of CaloRawFitterStandard
75
76} // namespace emcal
77
78} // namespace o2
79#endif
ALTRO bunch information.
Definition Bunch.h:40
Container class to hold results from fitting.
Raw data fitting: standard TMinuit fit.
CaloFitResults evaluate(const gsl::span< const Bunch > bunchvector) final
Evaluation Amplitude and TOF.
static double rawResponseFunction(double *x, double *par)
Approximate response function of the EMCal electronics.
~CaloRawFitterStandard() final=default
Destructor.
std::tuple< float, float, float > fitRaw(int firstTimeBin, int lastTimeBin) const
Fits the raw signal time distribution using TMinuit.
GLint GLenum GLint x
Definition glcorearb.h:403
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.