]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/UPGRADE/AliITSUHit.h
Integrating the Cooked Matrix tracker into the commom reconstruction framework
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUHit.h
CommitLineData
451f5018 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
17class 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);
02d6eccc 26 virtual ~AliITSUHit() {}
852af72e 27
28 void SetChip(Int_t chip) {SetModule(chip);}
29 Int_t GetChip() {return GetModule();}
30
451f5018 31 virtual Int_t GetLayer() const;
852af72e 32 virtual Int_t GetStave() const;
68b7631d 33 virtual Int_t GetHalfStave() const;
852af72e 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;
451f5018 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);
ee58ce21 42 //
43 virtual void Print(Option_t *option="") const;
451f5018 44 //
45 protected:
852af72e 46 virtual void SetModule(Int_t mod){fModule=mod;};
47 virtual Int_t GetModule(){return fModule;};
451f5018 48
49 ClassDef(AliITSUHit,1) //Hits object
50
51};
52
53#endif