Project
Loading...
Searching...
No Matches
Point.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
12
#include "
TPCSimulation/Point.h
"
13
#include <iostream>
14
15
using
std::cout;
16
using
std::endl;
17
18
using namespace
o2::tpc
;
19
20
void
Point::Print(
const
Option_t* opt)
const
21
{
22
cout <<
"-I- Point: O2tpc point for track "
<<
GetTrackID
()
23
<<
" in detector "
<<
GetDetectorID
() << endl;
24
cout <<
" Position ("
<<
GetX
() <<
", "
<<
GetY
() <<
", "
<<
GetZ
()
25
<<
") cm"
<< endl;
26
cout <<
" Time "
<<
GetTime
() <<
" ns, n electrons "
<<
GetEnergyLoss
() << endl;
27
}
28
29
ClassImp
(
Point
);
30
ClassImp
(
HitGroup
);
31
ClassImp
(
ElementalHit
);
ClassImp
ClassImp(IdPath)
Point.h
Class for TPC Point.
o2::BaseHit::GetTrackID
int GetTrackID() const
Definition
BaseHits.h:30
o2::BasicXYZEHit< float >::GetEnergyLoss
float GetEnergyLoss() const
Definition
BaseHits.h:103
o2::BasicXYZVHit::GetTime
E GetTime() const
Definition
BaseHits.h:71
o2::BasicXYZVHit::GetZ
T GetZ() const
Definition
BaseHits.h:66
o2::BasicXYZVHit::GetY
T GetY() const
Definition
BaseHits.h:65
o2::BasicXYZVHit::GetX
T GetX() const
Definition
BaseHits.h:64
o2::BasicXYZVHit::GetDetectorID
short GetDetectorID() const
Definition
BaseHits.h:73
o2::tpc::ElementalHit
Definition
Point.h:28
o2::tpc::HitGroup
Definition
Point.h:90
o2::tpc::Point
Definition
Point.h:187
o2::tpc
Global TPC definitions and constants.
Definition
SimTraits.h:167
Detectors
TPC
simulation
src
Point.cxx
Generated on Tue Feb 25 2025 23:16:29 for Project by
1.9.8