]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New AliSTARThit
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Mar 2000 17:43:39 +0000 (17:43 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Mar 2000 17:43:39 +0000 (17:43 +0000)
START/AliSTARThit.cxx
START/AliSTARThit.h

index 9d8f8c08548553723eb9d5d8fbb6da015eb20793..169d5d8a99765c5016b83195b61d057b397724a1 100644 (file)
  * 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];
 }
index 642c3e3a0aa446da885eb6df1393a203c8824b15..c98a147c6da210f4bedcf32ebf47cf61ea21a18c 100644 (file)
@@ -1,10 +1,9 @@
-#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