1 /**************************************************************************
2 * Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //____________________________________________________________________
22 // Latest changes by Christian Holm Christensen
24 #include "AliFMDHit.h" // ALIFMDHIT_H
25 #include "AliLog.h" // ALILOG_H
26 #include "Riostream.h" // ROOT_Riostream
28 //____________________________________________________________________
32 //____________________________________________________________________
33 AliFMDHit::AliFMDHit()
49 //____________________________________________________________________
50 AliFMDHit::AliFMDHit(Int_t shunt,
65 : AliHit(shunt, track),
77 // Normal FMD hit ctor
83 // detector Detector # (1, 2, or 3)
84 // ring Ring ID ('I' or 'O')
85 // sector Sector # (For inner/outer rings: 0-19/0-39)
86 // strip Strip # (For inner/outer rings: 0-511/0-255)
87 // x Track's X-coordinate at hit
88 // y Track's Y-coordinate at hit
89 // z Track's Z-coordinate at hit
90 // px X-component of track's momentum
91 // py Y-component of track's momentum
92 // pz Z-component of track's momentum
93 // edep Energy deposited by track
94 // pdg Track's particle Id #
95 // t Time when the track hit
102 //____________________________________________________________________
104 AliFMDHit::Print(Option_t* /* option */) const
106 // Print Hit to standard out
107 cout << "AliFMDHit: FMD"
108 << fDetector << fRing << "["
109 << setw(3) << fSector << ","
110 << setw(3) << fStrip << "] = "
114 //____________________________________________________________________