Project
Loading...
Searching...
No Matches
CalibParam.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 ALICEO2_CALIB_PARAM_H_
13#define ALICEO2_CALIB_PARAM_H_
14
16#include "FT0Base/Geometry.h"
17
18#include <array>
19
20namespace o2
21{
22namespace ft0
23{
24
26 static constexpr auto Nchannels = o2::ft0::Geometry::Nchannels;
27 // Logic for obtaining bad channels and for making decision concerning slot finalization
28 std::size_t mMinEntriesThreshold = 500; // Min number of entries
29 std::size_t mMaxEntriesThreshold = 1000; // Max number of entries
30 uint8_t mNExtraSlots = 0; // Number of extra slots
31 // Fitting ranges
32 double mMinFitRange = -200.; // Min fit range
33 double mMaxFitRange = 200.; // Max fit range
34 // Conditions for checking fit quality, otherwise hist mean will be taken as offset
35 double mMaxDiffMean = 5; // Max differnce between mean and fit result
36 double mMinRMS = 3; // Min RMS
37 double mMaxSigma = 32; // Max fit sigma
38 int mRebinFactorPerChID[Nchannels] = {0}; //[Nchannels]
39 //
40 bool mUseDynamicRange = true; // use dynamic ranges [mean-RMS*mRangeInRMS,mean+RMS*mRangeInRMS] for fitting
41 double mRangeInRMS = 1.5; // Range for RMS in dynamic case
42
43 O2ParamDef(CalibParam, "FT0CalibParam");
44};
45
46} // end namespace ft0
47} // end namespace o2
48
49#endif /* FT0_CALIB_PARAM_H_ */
static constexpr int Nchannels
Definition Geometry.h:50
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(CalibParam, "FT0CalibParam")
static constexpr auto Nchannels
Definition CalibParam.h:26
int mRebinFactorPerChID[Nchannels]
Definition CalibParam.h:38
std::size_t mMaxEntriesThreshold
Definition CalibParam.h:29
std::size_t mMinEntriesThreshold
Definition CalibParam.h:28