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 //____________________________________________________________________
31 ; // This is here to keep Emacs for indenting the next line
35 //____________________________________________________________________
36 AliFMDHit::AliFMDHit()
52 //____________________________________________________________________
53 AliFMDHit::AliFMDHit(Int_t shunt,
68 : AliHit(shunt, track),
80 // Normal FMD hit ctor
86 // detector Detector # (1, 2, or 3)
87 // ring Ring ID ('I' or 'O')
88 // sector Sector # (For inner/outer rings: 0-19/0-39)
89 // strip Strip # (For inner/outer rings: 0-511/0-255)
90 // x Track's X-coordinate at hit
91 // y Track's Y-coordinate at hit
92 // z Track's Z-coordinate at hit
93 // px X-component of track's momentum
94 // py Y-component of track's momentum
95 // pz Z-component of track's momentum
96 // edep Energy deposited by track
97 // pdg Track's particle Id #
98 // t Time when the track hit
105 //____________________________________________________________________
107 AliFMDHit::Print(Option_t* /* option */) const
109 // Print Hit to standard out
110 cout << "AliFMDHit: FMD"
111 << fDetector << fRing << "["
112 << setw(3) << fSector << ","
113 << setw(3) << fStrip << "] = "
117 //____________________________________________________________________