ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

/* $Id$ */
// AliT0hit is the hit class for the T0. Hits are the information
// that comes from a Monte Carlo at each step as a particle mass through
// sensitive detector elements as particles are transported through a
// detector.
//
// Data members:
//
// Int_t fTrack
//     See AliHit for a full description. The track number of the track
// that made this hit.
//
// Float_t fX
//     See AliHit for a full description. The global x position of the
// hit (in the standard units of the Monte Carlo).
//
// Float_t fY
//     See AliHit for a full description. The global y position of the
// hit (in the standard units of the Monte Carlo).
//
// Float_t fZ
//     See AliHit for a full description. The global z position of the
// hit (in the standard units of the Monte Carlo).
//
// Int_t fStatus
//     The track status flag. This flag indicates the track status
// at the time of creating this hit. It is made up of the following 8
// status bits from highest order to lowest order bits
// 0           :  IsTrackAlive():    IsTrackStop():IsTrackDisappeared():
// IsTrackOut():IsTrackExiting():IsTrackEntering():IsTrackInside()     .
// See AliMC for a description of these functions. If the function is
// true then the bit is set to one, otherwise it is zero.
//
// Int_t fVolume
//     The number of the T0 detector that contains this hit.
//     0 - right array; 1 - left array 
// Int_t fPmt 
// the number of PMT tube that contains hit
// Float_t fEdep
//     The energy lost by the particle during the step ending in this
// hit. The units are those determined by the Monte Carlo.
//
// Float_t fTime
//     The time of flight associated with the particle  in this
// hit. The time is typically measured from the point of creation of the
// original particle (if this particle is a daughter).  The units
// are those determined by the Monte Carlo.
///////////////////////////////////////////////////////////////////////
  

#include "AliT0hit.h"

ClassImp(AliT0hit)


  AliT0hit::AliT0hit(): AliHit(),
			fVolume(0),  
			fPmt(0),     
			fParticle(0),
			fEtot(0),     
			fTime(0)  
  
{
  //
}
AliT0hit::AliT0hit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
  AliHit(shunt, track),
  fVolume(0),  
  fPmt(0),     
  fParticle(0),
  fEtot(0),     
  fTime(0)  
 
  {
//Normal T0 hit ctor
  
   fVolume = vol[0];
   fPmt=vol[1];
   fX=hits[0];
   fY=hits[1];
   fZ=hits[2];
   fEtot=Double_t (hits[3]);
   fParticle=Int_t (hits[4]);
   fTime=hits[5];
}
 
 AliT0hit.cxx:1
 AliT0hit.cxx:2
 AliT0hit.cxx:3
 AliT0hit.cxx:4
 AliT0hit.cxx:5
 AliT0hit.cxx:6
 AliT0hit.cxx:7
 AliT0hit.cxx:8
 AliT0hit.cxx:9
 AliT0hit.cxx:10
 AliT0hit.cxx:11
 AliT0hit.cxx:12
 AliT0hit.cxx:13
 AliT0hit.cxx:14
 AliT0hit.cxx:15
 AliT0hit.cxx:16
 AliT0hit.cxx:17
 AliT0hit.cxx:18
 AliT0hit.cxx:19
 AliT0hit.cxx:20
 AliT0hit.cxx:21
 AliT0hit.cxx:22
 AliT0hit.cxx:23
 AliT0hit.cxx:24
 AliT0hit.cxx:25
 AliT0hit.cxx:26
 AliT0hit.cxx:27
 AliT0hit.cxx:28
 AliT0hit.cxx:29
 AliT0hit.cxx:30
 AliT0hit.cxx:31
 AliT0hit.cxx:32
 AliT0hit.cxx:33
 AliT0hit.cxx:34
 AliT0hit.cxx:35
 AliT0hit.cxx:36
 AliT0hit.cxx:37
 AliT0hit.cxx:38
 AliT0hit.cxx:39
 AliT0hit.cxx:40
 AliT0hit.cxx:41
 AliT0hit.cxx:42
 AliT0hit.cxx:43
 AliT0hit.cxx:44
 AliT0hit.cxx:45
 AliT0hit.cxx:46
 AliT0hit.cxx:47
 AliT0hit.cxx:48
 AliT0hit.cxx:49
 AliT0hit.cxx:50
 AliT0hit.cxx:51
 AliT0hit.cxx:52
 AliT0hit.cxx:53
 AliT0hit.cxx:54
 AliT0hit.cxx:55
 AliT0hit.cxx:56
 AliT0hit.cxx:57
 AliT0hit.cxx:58
 AliT0hit.cxx:59
 AliT0hit.cxx:60
 AliT0hit.cxx:61
 AliT0hit.cxx:62
 AliT0hit.cxx:63
 AliT0hit.cxx:64
 AliT0hit.cxx:65
 AliT0hit.cxx:66
 AliT0hit.cxx:67
 AliT0hit.cxx:68
 AliT0hit.cxx:69
 AliT0hit.cxx:70
 AliT0hit.cxx:71
 AliT0hit.cxx:72
 AliT0hit.cxx:73
 AliT0hit.cxx:74
 AliT0hit.cxx:75
 AliT0hit.cxx:76
 AliT0hit.cxx:77
 AliT0hit.cxx:78
 AliT0hit.cxx:79
 AliT0hit.cxx:80
 AliT0hit.cxx:81
 AliT0hit.cxx:82
 AliT0hit.cxx:83
 AliT0hit.cxx:84
 AliT0hit.cxx:85
 AliT0hit.cxx:86
 AliT0hit.cxx:87
 AliT0hit.cxx:88
 AliT0hit.cxx:89
 AliT0hit.cxx:90
 AliT0hit.cxx:91
 AliT0hit.cxx:92
 AliT0hit.cxx:93
 AliT0hit.cxx:94
 AliT0hit.cxx:95
 AliT0hit.cxx:96
 AliT0hit.cxx:97
 AliT0hit.cxx:98
 AliT0hit.cxx:99
 AliT0hit.cxx:100
 AliT0hit.cxx:101