Project
Loading...
Searching...
No Matches
DCA.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
13#include <iostream>
14
17
18namespace o2
19{
20namespace dataformats
21{
22
23#ifndef GPUCA_GPUCODE_DEVICE
24std::ostream& operator<<(std::ostream& os, const o2::dataformats::DCA& d)
25{
26 // stream itself
27 os << "DCA YZ {" << d.getY() << ", " << d.getZ() << "} Cov {" << d.getSigmaY2() << ", " << d.getSigmaYZ() << ", " << d.getSigmaZ2() << "}";
28 return os;
29}
30#endif
31
32void DCA::print() const
33{
34#ifndef GPUCA_GPUCODE_DEVICE
35 std::cout << *this << '\n';
36#endif
37}
38
39} // namespace dataformats
40} // namespace o2
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 ...