]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDhit.h
Add MEVSIM and TMEVSIM
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.h
index 2003167605c8efe12d41d10a80c5c2ed94610f62..5b7bd4cda42f84b29cf665a8bef6b9aff671db1e 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef TRDhit_H
-#define TRDhit_H
+#ifndef ALITRDHIT_H
+#define ALITRDHIT_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
@@ -16,16 +16,19 @@ class AliTRDhit : public AliHit {
 
  public:
 
-  Int_t        fDetector;   // TRD detector number
-  Float_t      fQ;          // Charge created by a hit (slow simulator only)
- public:
+  AliTRDhit();
+  AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits, Int_t q);
+  virtual ~AliTRDhit();
+
+          Int_t GetDetector() const { return fDetector; };
+          Int_t GetCharge() const   { return fQ;        };
+
+ protected:
+
+  UShort_t     fDetector;   // TRD detector number
+  Short_t      fQ;          // Charge created by a hit. TR signals are negative.
 
-  AliTRDhit() {}
-  AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits);
-  virtual ~AliTRDhit() {};
-  ClassDef(AliTRDhit,2)     // Hit for the Transition Radiation Detector
+  ClassDef(AliTRDhit,3)     // Hit for the Transition Radiation Detector
 
 };