4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////
9 // At the moment the same functionality/data-members as parent AliITShit
10 // except the geometry transformation uses AliITSgeomTGeoUp
12 ////////////////////////////////////////////////////////////////////////
14 #include "AliITShit.h"
17 class AliITSUHit : public AliITShit {
22 AliITSUHit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
23 AliITSUHit(Int_t shunt,Int_t track,Int_t *vol,Float_t edep,Float_t tof,TLorentzVector &x,TLorentzVector &x0,TLorentzVector &p);
24 AliITSUHit(const AliITSUHit &h);
25 AliITSUHit& operator=(const AliITSUHit &h);
26 virtual ~AliITSUHit() {}
27 virtual Int_t GetLayer() const;
28 virtual Int_t GetLadder() const;
29 virtual Int_t GetDetector() const;
30 virtual void GetDetectorID(Int_t &layer,Int_t &ladder,Int_t &det) const;
31 virtual void GetPositionL(Float_t &x,Float_t &y,Float_t &z,Float_t &tof);
32 virtual void GetPositionL(Float_t &x,Float_t &y,Float_t &z) {Float_t tf;GetPositionL(x,y,z,tf);}
33 virtual void GetPositionL(Double_t &x,Double_t &y,Double_t &z,Double_t &t) {Float_t xf,yf,zf,tf;GetPositionL(xf,yf,zf,tf);x=xf,y=yf;z=zf;t=tf;}
34 virtual void GetPositionL(Double_t &x,Double_t &y,Double_t &z) {Float_t xf,yf,zf,tf;GetPositionL(xf,yf,zf,tf);x=xf,y=yf;z=zf;}
35 virtual void GetPositionL0(Double_t &x,Double_t &y,Double_t &z,Double_t &t);
37 virtual void Print(Option_t *option="") const;
41 ClassDef(AliITSUHit,1) //Hits object