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.
11
16
18
19namespace o2
20{
21namespace mch
22{
23
24//_________________________________________________________________________
25std::ostream& operator<<(std::ostream& stream, const Cluster& cluster)
26{
27 auto oldflags = stream.flags();
28 stream << "{x = " << cluster.x << ", y = " << cluster.y << ", z = " << cluster.z << ", ex = " << cluster.ex
29 << ", ey = " << cluster.ey << ", uid = " << cluster.uid << "}";
30 stream.flags(oldflags);
31 return stream;
32}
33
34} // namespace mch
35} // namespace o2
Definition of the MCH cluster minimal structure.
GLuint GLuint stream
Definition glcorearb.h:1806
std::ostream & operator<<(std::ostream &os, const o2::dataformats::MeanVertexObject &o)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
cluster minimal structure
Definition Cluster.h:31
float ey
cluster resolution along y
Definition Cluster.h:36
uint32_t uid
cluster unique ID
Definition Cluster.h:37
float y
cluster position along y
Definition Cluster.h:33
float x
cluster position along x
Definition Cluster.h:32
float z
cluster position along z
Definition Cluster.h:34
float ex
cluster resolution along x
Definition Cluster.h:35