Project
Loading...
Searching...
No Matches
Cluster.cxx
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.
14
15
#include "
MFTTracking/Cluster.h
"
16
17
#include "
MathUtils/Utils.h
"
18
#include "
MathUtils/Cartesian.h
"
19
20
namespace
o2
21
{
22
namespace
mft
23
{
24
25
Cluster::Cluster
(
const
Float_t
x
,
const
Float_t
y
,
const
Float_t
z
,
const
Int_t
index
)
26
:
BaseCluster
(1,
x
,
y
,
z
),
27
phiCoordinate{0.},
28
rCoordinate{0.},
29
clusterId{
index
},
30
indexTableBin{0}
31
{
32
auto
clsPoint2D =
math_utils::Point2D<Float_t>
(
x
,
y
);
33
rCoordinate
= clsPoint2D.R();
34
phiCoordinate
= clsPoint2D.Phi();
35
o2::math_utils::bringTo02PiGen
(
phiCoordinate
);
36
}
37
38
}
// namespace mft
39
}
// namespace o2
Cartesian.h
Utils.h
General auxilliary methods.
Cluster.h
A simple structure for the MFT cluster, used by the standalone track finder.
Float_t
ROOT::Math::PositionVector2D
Definition
GPUROOTCartesianFwd.h:34
int
o2::BaseCluster
Definition
BaseCluster.h:34
o2::hmpid::Cluster::Cluster
Cluster()
Definition
Cluster.h:43
x
GLint GLenum GLint x
Definition
glcorearb.h:403
index
GLuint index
Definition
glcorearb.h:781
z
GLdouble GLdouble GLdouble z
Definition
glcorearb.h:843
o2::math_utils::bringTo02PiGen
void bringTo02PiGen(float &phi)
Definition
Utils.h:80
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::mft::Cluster::rCoordinate
Float_t rCoordinate
Definition
Cluster.h:45
o2::mft::Cluster::phiCoordinate
Float_t phiCoordinate
Definition
Cluster.h:44
Detectors
ITSMFT
MFT
tracking
src
Cluster.cxx
Generated on Tue Feb 25 2025 23:16:10 for Project by
1.9.8