Project
Loading...
Searching...
No Matches
TrackBlock.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
17#include "MCHBase/TrackBlock.h"
18
19namespace o2
20{
21namespace mch
22{
23
24std::ostream& operator<<(std::ostream& stream, const TrackParamStruct& trackParam)
25{
26 auto oldflags = stream.flags();
27 stream << "{x = " << trackParam.x << ", y = " << trackParam.y << ", z = " << trackParam.z
28 << ", px = " << trackParam.px << ", py = " << trackParam.py << ", pz = " << trackParam.pz
29 << ", sign = " << trackParam.sign << "}";
30 stream.flags(oldflags);
31 return stream;
32}
33
34} // namespace mch
35} // namespace o2
Definition of the MCH track parameters 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 ...
track parameters minimal structure
Definition TrackBlock.h:28
double z
track position along z
Definition TrackBlock.h:31
double px
track momentum along x
Definition TrackBlock.h:32
double y
track position along y
Definition TrackBlock.h:30
short sign
track sign
Definition TrackBlock.h:35
double py
track momentum along y
Definition TrackBlock.h:33
double x
track position along x
Definition TrackBlock.h:29
double pz
track momentum along z
Definition TrackBlock.h:34