]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSUHit.h
Removed obsolete message about the vertexer
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUHit.h
1 #ifndef ALIITSUHIT_H
2 #define ALIITSUHIT_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 ////////////////////////////////////////////////////////////////////////
8 //
9 // At the moment the same functionality/data-members as parent AliITShit 
10 // except the geometry transformation uses AliITSgeomTGeoUp 
11 //
12 ////////////////////////////////////////////////////////////////////////
13
14 #include "AliITShit.h" 
15 #include "AliRun.h"
16
17 class AliITSUHit : public AliITShit {
18
19  public:
20   //
21   AliITSUHit() {}
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
28   void SetChip(Int_t chip) {SetModule(chip);}
29   Int_t GetChip()          {return GetModule();}
30
31   virtual Int_t GetLayer() const;
32   virtual Int_t GetStave() const;
33   virtual Int_t GetHalfStave() const;
34   virtual Int_t GetModule() const;  
35   virtual Int_t GetChipInModule() const;
36   virtual void  GetChipID(Int_t &layer,Int_t &stave,Int_t &sstave, Int_t &mod, Int_t &det) const;
37   virtual void  GetPositionL(Float_t &x,Float_t &y,Float_t &z,Float_t &tof);
38   virtual void  GetPositionL(Float_t &x,Float_t &y,Float_t &z) {Float_t tf;GetPositionL(x,y,z,tf);}
39   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;}
40   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;}
41   virtual void  GetPositionL0(Double_t &x,Double_t &y,Double_t &z,Double_t &t);
42   //
43   virtual void Print(Option_t *option="") const;
44   //
45  protected:
46   virtual void SetModule(Int_t mod){fModule=mod;};
47   virtual Int_t GetModule(){return fModule;};
48
49   ClassDef(AliITSUHit,1)  //Hits object
50          
51 }; 
52
53 #endif