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 //////////////////////////////////////////////////////////////////////////////
26 # include "AliFMDHit.h"
38 //____________________________________________________________________
42 //____________________________________________________________________
43 AliFMDHit::AliFMDHit()
59 //____________________________________________________________________
60 AliFMDHit::AliFMDHit(Int_t shunt,
75 : AliHit(shunt, track),
87 // Normal FMD hit ctor
93 // detector Detector # (1, 2, or 3)
94 // ring Ring ID ('I' or 'O')
95 // sector Sector # (For inner/outer rings: 0-19/0-39)
96 // strip Strip # (For inner/outer rings: 0-511/0-255)
97 // x Track's X-coordinate at hit
98 // y Track's Y-coordinate at hit
99 // z Track's Z-coordinate at hit
100 // px X-component of track's momentum
101 // py Y-component of track's momentum
102 // pz Z-component of track's momentum
103 // edep Energy deposited by track
104 // pdg Track's particle Id #
105 // t Time when the track hit
112 //____________________________________________________________________
114 AliFMDHit::Print(Option_t* /* option */) const
116 // Print Hit to standard out
117 std::cout << "AliFMDHit: FMD"
118 << fDetector << fRing << "["
119 << std::setw(3) << fSector << ","
120 << std::setw(3) << fStrip << "] = "
121 << fEdep << std::endl;
124 //____________________________________________________________________