]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDhit.h
Merge with TRD-develop
[u/mrichter/AliRoot.git] / TRD / AliTRDhit.h
index 05aea9a6c2a91eaaeea924aeeef48d194ee7f629..5b7bd4cda42f84b29cf665a8bef6b9aff671db1e 100644 (file)
 
 //_____________________________________________________________________________
 class AliTRDhit : public AliHit {
+
  public:
 
   AliTRDhit();
-  AliTRDhit(Int_t shunt, Int_t track, Int_t *det, Float_t *hits);
+  AliTRDhit(Int_t shunt, Int_t track, Int_t det, Float_t *hits, Int_t q);
   virtual ~AliTRDhit();
 
-          Int_t   GetDetector() { return fDetector; };
-          Float_t GetCharge()   { return fQ;        };
+          Int_t GetDetector() const { return fDetector; };
+          Int_t GetCharge() const   { return fQ;        };
 
  protected:
 
-  Int_t        fDetector;   // TRD detector number
-  Float_t      fQ;          // Charge created by a hit (slow simulator only)
-  ClassDef(AliTRDhit,2)     // Hit for the Transition Radiation Detector
+  UShort_t     fDetector;   // TRD detector number
+  Short_t      fQ;          // Charge created by a hit. TR signals are negative.
+
+  ClassDef(AliTRDhit,3)     // Hit for the Transition Radiation Detector
 
 };