methods for private members
[u/mrichter/AliRoot.git] / FMD / AliFMDhit.h
CommitLineData
d28dcc0d 1#ifndef AliFMDhit_H
2#define AliFMDhit_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5////////////////////////////////////////////////
6// Manager and hits classes for set:FMD //
7////////////////////////////////////////////////
8#include "AliHit.h"
9
10
11class AliFMDhit : public AliHit {
12///////////////////////////////////////////////////////////////////////
13// AliFMDhit is the hit class for the FMD. Hits are the information
14// that comes from a Monte Carlo at each step as a particle mass through
15// sensitive detector elements as particles are transported through a
16// detector.
17//
18// Data members:
19//
20// Int_t fTrack
21// See AliHit for a full description. The track number of the track
22// that made this hit.
23//
24// Float_t fX
25// See AliHit for a full description. The global x position of the
26// hit (in the standard units of the Monte Carlo).
27//
28// Float_t fY
29// See AliHit for a full description. The global y position of the
30// hit (in the standard units of the Monte Carlo).
31//
32// Float_t fZ
33// See AliHit for a full description. The global z position of the
34// hit (in the standard units of the Monte Carlo).
35//
36// Int_t fStatus
37// The track status flag. This flag indicates the track status
38// at the time of creating this hit. It is made up of the following 8
39// status bits from highest order to lowest order bits
40// 0 : IsTrackAlive(): IsTrackStop():IsTrackDisappeared():
41// IsTrackOut():IsTrackExiting():IsTrackEntering():IsTrackInside() .
42// See AliMC for a description of these functions. If the function is
43// true then the bit is set to one, otherwise it is zero.
44
45// Int_t fVolume
46// The number of the FMD detector that contains this hit.
47
48// Float_t fEdep
49// The energy lost by the particle during the step ending in this
50// hit. The units are those determined by the Monte Carlo.
51//
52// Float_t fPx
53// The x momentum, in global coordinates, of the particle that
54// "created" the hit at the time and position of the hit. The units
55// are those determined by the Monte Carlo.
56//
57// Float_t fPy
58// The y momentum, in global coordinates, of the particle that
59// "created" the hit at the time and position of the hit. The units
60// are those determined by the Monte Carlo.
61//
62// Float_t fPz
63// The z momentum, in global coordinates, of the particle that
64// "created" the hit at the time and position of the hit. The units
65// are those determined by the Monte Carlo.
66//
67///
68// Float_t fTime
69// The time of flight associated with the particle ending in this
70// hit. The time is typically measured from the point of creation of the
71// original particle (if this particle is a daughter). The units
72// are those determined by the Monte Carlo.
73
74private:
75 Int_t fVolume; //Volume copy identifier
76 Int_t fParticle; //Particle identificator
77 Float_t fEdep; //Energy deposition
78 Float_t fPx; // Particle's momentum X
79 Float_t fPy; // Particle's momentum Y
80 Float_t fPz; // Particle's momentum Z
81 Float_t fTime; // Particle's time of flight
82
83public:
84 AliFMDhit() {}
85 AliFMDhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
86 virtual ~AliFMDhit() {}
c50e4c92 87 Int_t Volume();
88 Float_t Particle();
89 Float_t Edep();
90 Float_t Px();
91 Float_t Py();
92 Float_t Pz();
93 Float_t Time();
94
d28dcc0d 95 ClassDef(AliFMDhit,1) //Hits for detector FMD
96};
c50e4c92 97inline Int_t AliFMDhit::Volume(){return fVolume;}
98inline Float_t AliFMDhit::Particle(){return fParticle;}
99inline Float_t AliFMDhit::Edep(){return fEdep;}
100inline Float_t AliFMDhit::Px(){return fPx;}
101inline Float_t AliFMDhit::Py(){return fPy;}
102inline Float_t AliFMDhit::Pz(){return fPz;}
103inline Float_t AliFMDhit::Time(){return fTime;}
d28dcc0d 104#endif