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
16
17#include <iostream>
18#include <iostream>
19
21
22using std::cout;
23using std::endl;
24using namespace o2::itsmft;
25using namespace o2; //::base;
26
27void Hit::Print(const Option_t* opt) const
28{
29 printf(
30 "Det: %5d Track: %6d E.loss: %.3e P: %+.3e %+.3e %+.3e\n"
31 "PosIn: %+.3e %+.3e %+.3e PosOut: %+.3e %+.3e %+.3e\n",
33 GetStartX(), GetStartY(), GetStartZ(), GetX(), GetY(), GetZ());
34}
Definition of the ITSMFT Hit class.
ClassImp(o2::itsmft::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:63
Float_t GetStartY() const
Definition Hit.h:62
Float_t GetPz() const
Definition Hit.h:76
Float_t GetPx() const
Definition Hit.h:74
Float_t GetStartX() const
Definition Hit.h:61
Float_t GetPy() const
Definition Hit.h:75
void Print(const Option_t *opt) const
Output to screen.
Definition Hit.cxx:27
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...