Project
Loading...
Searching...
No Matches
Hit.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
14
15#include "DataFormatsFV0/Hit.h"
16#include <iostream>
17
19
20namespace o2
21{
22namespace fv0
23{
24
25void Hit::Print(const Option_t* opt) const
26{
27 printf(
28 "Det: %5d Track: %6d E.loss: %.3e P: %+.3e %+.3e %+.3e\n"
29 "PosIn: %+.3e %+.3e %+.3e PosOut: %+.3e %+.3e %+.3e\n",
31 GetStartX(), GetStartY(), GetStartZ(), GetX(), GetY(), GetZ());
32}
33
34} // namespace fv0
35} // namespace o2
Definition of the FV0 Hit class (based on ITSMFT)
ClassImp(o2::fv0::Hit)
int GetTrackID() const
Definition BaseHits.h:30
T GetZ() const
Definition BaseHits.h:66
T GetY() const
Definition BaseHits.h:65
T GetX() const
Definition BaseHits.h:64
short GetDetectorID() const
Definition BaseHits.h:73
Float_t GetStartZ() const
Definition Hit.h:59
Float_t GetPy() const
Definition Hit.h:72
void Print(const Option_t *opt) const
Definition Hit.cxx:25
Float_t GetPz() const
Definition Hit.h:73
Float_t GetStartX() const
Definition Hit.h:57
Float_t GetStartY() const
Definition Hit.h:58
Float_t GetPx() const
Definition Hit.h:71
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...