Project
Loading...
Searching...
No Matches
FV0RecoConfig.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_FV0_RECO_PARAM
13#define ALICEO2_FV0_RECO_PARAM
14
17
18namespace o2::fv0
19{
21 double AmplitudeLowerThreshold = 24; // only channels with amplitude higher will participate in calibration and collision time
22 double AmplitudeThresholdForMeanTime = 5; // Charge threshold, only above which the time is taken into account in calculating the mean time of all qualifying channels
23 double TimeUpperThreshold = 1000.0; // only channels with time below will participate in calibration and collision time
24 uint8_t mValidPmInputFlagMask = static_cast<uint8_t>(~(1u << ChannelData::kNumberADC));
25 uint8_t mValidPmInputFlags = static_cast<uint8_t>((1u << ChannelData::kIsCFDinADCgate) | (1u << ChannelData::kIsEventInTVDC));
26
27 bool areChannelDataFlagsGood(uint8_t flags) const
28 {
30 }
31 O2ParamDef(FV0RecoConfig, "FV0RecoConfig");
33};
34
35} // namespace o2::fv0
36
37#endif
Container class to store time and charge values of single FV0 channel.
GLbitfield flags
Definition glcorearb.h:1570
O2ParamDef(FV0RecoConfig, "FV0RecoConfig")
bool areChannelDataFlagsGood(uint8_t flags) const
ClassDefNV(FV0RecoConfig, 1)