AliRoot Core
ee782a0 (ee782a0)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AliHit.h
Go to the documentation of this file.
1
#ifndef ALIHIT_H
2
#define ALIHIT_H
3
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4
* See cxx source for full Copyright notice */
5
6
/* $Id$ */
7
8
// Base class for hits
9
// This class is used as a base class for
10
// hits in the different detectors
11
12
#include "TObject.h"
13
14
class
AliHit
:
public
TObject {
15
public
:
16
AliHit
();
17
AliHit
(Int_t shunt, Int_t
track
);
18
virtual
~AliHit
() {}
19
Int_t
GetTrack
()
const
{
return
fTrack
;}
20
void
SetTrack
(Int_t track) {
fTrack
=
track
;}
21
Float_t
X
()
const
{
return
fX
;}
22
Float_t
Y
()
const
{
return
fY
;}
23
Float_t
Z
()
const
{
return
fZ
;}
24
Int_t
Track
()
const
{
return
fTrack
;}
25
26
protected
:
27
Int_t
fTrack
;
// Track number
28
Float_t
fX
;
// X position of the hit
29
Float_t
fY
;
// Y position of the hit
30
Float_t
fZ
;
// Z position of the hit
31
32
ClassDef(
AliHit
,1)
//Base class for all Alice hits
33
};
34
#endif
AliHit
Definition:
AliHit.h:14
AliHit::GetTrack
Int_t GetTrack() const
Definition:
AliHit.h:19
AliHit::AliHit
AliHit()
Definition:
AliHit.cxx:35
track
AliTPCfastTrack * track
Definition:
AliTPCclusterAnalysis.C:20
AliHit::Z
Float_t Z() const
Definition:
AliHit.h:23
AliHit::X
Float_t X() const
Definition:
AliHit.h:21
AliHit::Track
Int_t Track() const
Definition:
AliHit.h:24
AliHit::Y
Float_t Y() const
Definition:
AliHit.h:22
AliHit::fZ
Float_t fZ
Definition:
AliHit.h:30
AliHit::fTrack
Int_t fTrack
Definition:
AliHit.h:27
AliHit::SetTrack
void SetTrack(Int_t track)
Definition:
AliHit.h:20
AliHit::fX
Float_t fX
Definition:
AliHit.h:28
AliHit::~AliHit
virtual ~AliHit()
Definition:
AliHit.h:18
AliHit::fY
Float_t fY
Definition:
AliHit.h:29
STEER
STEER
AliHit.h
Generated on Thu Aug 23 2018 16:14:19 for AliRoot Core by
1.8.11