Project
Loading...
Searching...
No Matches
SpectraInfoObject.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 O2_FT0_SPECTRAINFOOBJECT_H
13#define O2_FT0_SPECTRAINFOOBJECT_H
14
15#include <array>
16#include "Rtypes.h"
17#include "FT0Base/Geometry.h"
18
19namespace o2::ft0
20{
21
23 float mGausMean{}; // Peak of Gausian function
24 float mGausRMS{}; // RMS of Gausian function
25 float mGausConstant{}; // Constant of Gausian function
26 float mFitChi2{}; // Chi2 of Gausian fitting
27 float mStatMean{}; // Spectra mean
28 float mStatRMS{}; // Spectra RMS
29 float mStat{}; // Statistic
30 uint32_t mStatusBits{}; // Status bits for extra info
32};
33
35 std::array<SpectraInfoObject, o2::ft0::Geometry::Nchannels> mTime;
40 static constexpr const char* getObjectPath() { return "FT0/Calib/TimeSpectraInfo"; }
42};
43
45 std::array<SpectraInfoObject, o2::ft0::Geometry::Nchannels> mAmpADC0;
46 std::array<SpectraInfoObject, o2::ft0::Geometry::Nchannels> mAmpADC1;
47 static constexpr const char* getObjectPath() { return "FT0/Calib/AmpSpectraInfo"; }
49};
50
51} // namespace o2::ft0
52
53#endif // O2_FT0_TIMESPECTRAINFOOBJECT_H
std::array< SpectraInfoObject, o2::ft0::Geometry::Nchannels > mAmpADC0
static constexpr const char * getObjectPath()
std::array< SpectraInfoObject, o2::ft0::Geometry::Nchannels > mAmpADC1
ClassDefNV(AmpSpectraInfoObject, 1)
ClassDefNV(SpectraInfoObject, 1)
static constexpr const char * getObjectPath()
ClassDefNV(TimeSpectraInfoObject, 1)
std::array< SpectraInfoObject, o2::ft0::Geometry::Nchannels > mTime