Project
Loading...
Searching...
No Matches
ClusterAccumulator.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
14
15#ifndef O2_GPU_CLUSTER_ACCUMULATOR_H
16#define O2_GPU_CLUSTER_ACCUMULATOR_H
17
18#include "clusterFinderDefs.h"
19#include "PackedCharge.h"
20
21namespace o2
22{
23
24namespace tpc
25{
26struct ClusterNative;
27}
28
29namespace gpu
30{
31
32struct ChargePos;
33class GPUTPCGeometry;
34struct GPUParam;
35
37{
38
39 public:
42
43 GPUd() void finalize(const ChargePos&, tpccf::Charge, tpccf::TPCTime, const GPUTPCGeometry&);
44 GPUd() bool toNative(const ChargePos&, tpccf::Charge, tpc::ClusterNative&, const GPUParam&) const;
45
46 private:
47 float mQtot = 0;
48 float mPadMean = 0;
49 float mPadSigma = 0;
50 float mTimeMean = 0;
51 float mTimeSigma = 0;
52 uint8_t mSplitInTime = 0;
53 uint8_t mSplitInPad = 0;
54
55 GPUd() void update(tpccf::Charge, tpccf::Delta2);
56};
57
58} // namespace gpu
59} // namespace o2
60
61#endif
GPUd() tpccf GPUd() tpccf const GPUTPCGeometry tpc::ClusterNative const GPUParam & const
GPUd() tpccf GPUd() tpccf GPUd() void final ize(const ChargePos &
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GPUd() const expr uint32_t MultivariatePolynomialHelper< Dim
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...