]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARThit.h
Initial version
[u/mrichter/AliRoot.git] / START / AliSTARThit.h
index 1032b85e693de1892fef72b1b00b07557ea6444c..a9aec349b25527a1e7a0e2857451693e915d826f 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef ALISTARTHIT_H
-#define ALISTARTHIT_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                               */
 
@@ -8,25 +8,29 @@
 //  Manager and hits classes for set:START     //
 ////////////////////////////////////////////////
  
-#include "AliDetector.h"
 #include "AliHit.h"
  
 class AliSTARThit : public AliHit {
 public:
+  AliSTARThit(){}//Empty ctor
+  AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
+  virtual ~AliSTARThit(){}//Empty virtual dtor
+  Int_t Volume() const {return fVolume;}
+  Int_t Pmt() const {return fPmt;}
+  Float_t Particle() const {return fParticle;} 
+  Double_t Etot() const {return fEtot;}
+  Float_t Time() const {return fTime;}
+
+private:
   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 
+  Double_t    fEtot;     //Energy of primary particle at the entrance to radiator 
   Float_t    fTime;     //Primary particle TOF 
  
-public:
-   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,2)  //Hits for detector START
 };
 
 
-#endif//AliSTARThit_H
+#endif//ALISTARThit_H