New AliSTARThit
[u/mrichter/AliRoot.git] / START / AliSTARThit.cxx
CommitLineData
971579f6 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
971579f6 15/*
16$Log$
c30bf53a 17Revision 1.1.1.1 2000/02/15 15:20:19 kir
18Initial import to mni CVS
971579f6 19
c30bf53a 20*/
971579f6 21#include "AliSTARThit.h"
22
23ClassImp(AliSTARThit)
c30bf53a 24
971579f6 25AliSTARThit::AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
26 AliHit(shunt, track)
27{
c30bf53a 28//Normal START hit ctor
971579f6 29
c30bf53a 30 fVolume = vol[0];
31 fPmt=vol[1];
32 fX=hits[0];
33 fY=hits[1];
34 fZ=hits[2];
35 fEdep=hits[3];
36 fEtot=hits[4];
37 fParticle=Int_t (hits[5]);
38 fTime=hits[6];
971579f6 39}
c30bf53a 40