* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
/*
$Log$
-*/
+Revision 1.1.1.1 2000/02/15 15:20:19 kir
+Initial import to mni CVS
+*/
#include "AliSTARThit.h"
ClassImp(AliSTARThit)
-
-//_____________________________________________________________________________
+
AliSTARThit::AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits):
AliHit(shunt, track)
{
- //
- // Add a START hit
- //
+//Normal START hit ctor
- fVolume = vol[0];
- fPmt=vol[1];
- fX=hits[0];
- fY=hits[1];
- fZ=hits[2];
- fEdep=hits[3];
- fEtot=hits[4];
- fParticle=Int_t (hits[5]);
- fTime=hits[6];
-
- // for (Int_t i=0; i<=6; i++) {printf("Hits up %f\n",hits[i]);}
+ fVolume = vol[0];
+ fPmt=vol[1];
+ fX=hits[0];
+ fY=hits[1];
+ fZ=hits[2];
+ fEdep=hits[3];
+ fEtot=hits[4];
+ fParticle=Int_t (hits[5]);
+ fTime=hits[6];
}
+
-#ifndef STARTHIT_H
-#define STARTHIT_H
+#ifndef AliSTARThit_H
+#define AliSTARThit_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
-
////////////////////////////////////////////////
// Manager and hits classes for set:START //
////////////////////////////////////////////////
class AliSTARThit : public AliHit {
public:
- Int_t fVolume;
- Int_t fPmt;
- Int_t fParticle; //Particle identificator
- Float_t fEdep; //Energy deposition
- Float_t fEtot; //Energy of particle
- Float_t fTime; //Time of flight
+ Int_t fVolume; //T0 arm mark
+ Int_t fPmt; //PMT number in the arm
+ Int_t fParticle; //Primary particle ID
+ Float_t fEdep; //Energy deposition
+ Float_t fEtot; //Energy of primary particle at the entrance to radiator
+ Float_t fTime; //Primary particle TOF
public:
- AliSTARThit() {}
- AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
- virtual ~AliSTARThit() {}
+ AliSTARThit(){}//Empty ctor
+ AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
+ virtual ~AliSTARThit(){}//Empty virtual dtor
- ClassDef(AliSTARThit,1) //Hits for detector START
+ ClassDef(AliSTARThit,1) //Hits for detector START
};
-#endif
+
+
+#endif//AliSTARThit_H