X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSRecPoint.h;h=f88fcb7bcba8ef78cb3d8372b04777c6ba1ef5d8;hb=7cae5b4e326421d81102dc1525bc853fe1e21d8e;hp=c2ad0573f1d09122c3578b85fe51e6f648d5d704;hpb=00a7cc50a892d6950eb32c6eb20b2088fed1e164;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSRecPoint.h b/ITS/AliITSRecPoint.h index c2ad0573f1d..f88fcb7bcba 100644 --- a/ITS/AliITSRecPoint.h +++ b/ITS/AliITSRecPoint.h @@ -25,29 +25,21 @@ #include #include #include -#include - class AliITSRecPoint : public AliCluster { public: AliITSRecPoint(); - AliITSRecPoint(AliITSgeom* geom); - AliITSRecPoint(Int_t *lab,Float_t *hit, Int_t *info); - AliITSRecPoint(Int_t module,AliITSgeom* geom,Int_t *lab, - Float_t *hit, Int_t *info); + AliITSRecPoint(Int_t *lab,Float_t *hit, Int_t *info, Bool_t local = kFALSE); AliITSRecPoint(const AliITSRecPoint& pt); AliITSRecPoint& operator=(const AliITSRecPoint &source); virtual ~AliITSRecPoint() {}; // distructor - Bool_t IsSortable() const {return kTRUE;} // allows for sorting - Int_t *GetTracks(){return fTracks;}// Returns pointer to track array - Int_t GetNTracks() const {return 3;} // returns track array size + Bool_t IsSortable() const {return kTRUE;} // allows for sorting Float_t GetDetLocalX() const {return fXloc;} // gets fX Float_t GetDetLocalZ() const {return fZloc;} // gets fZ Float_t GetdEdX() const {return fdEdX;} // gets fdEdX - Float_t GetSigmaDetLocX2() const {return fSigmaY2;} // gets fSigmaX2 - void SetdEdX(Float_t dedx){fdEdX=dedx;} // sets fdEdX - void SetSigmaDetLocX2(Float_t sx2){fSigmaY2=sx2;} // sets fSigmaX2 + Float_t GetSigmaDetLocX2() const {return GetSigmaY2();} // gets fSigmaX2 + void SetdEdX(Float_t dedx){fdEdX=dedx;} // sets fdEdX Int_t Compare(const TObject *) const {return 0;} //to be defined void Print(ostream *os); // Reads in the content of this class in the format of Print @@ -55,21 +47,6 @@ class AliITSRecPoint : public AliCluster { virtual void Print(Option_t *option="") const {TObject::Print(option);} virtual Int_t Read(const char *name) {return TObject::Read(name);} - void SetITSgeom(AliITSgeom* geom) {fGeom=geom;} - virtual void SetY(Float_t y ){fY=y; - AliError("For consistency, Use method SetYZ. Data members are only partially set\n");} - virtual void SetZ(Float_t z ){fZ=z; - AliError("For consistency, Use method SetYZ. Data members are only partially set\n");} - void SetYZ(Int_t module, Float_t y, Float_t z){ - fY=y;fZ=z; - if(fGeom)fGeom->TrackingV2ToDetL(module,y,z,fXloc,fZloc); - else AliError("Geometry not set. \n"); - } - void SetXZ(Int_t module, Float_t x, Float_t z){ - fXloc=x;fZloc=z; - if(fGeom)fGeom->DetLToTrackingV2(module,x,z,fY,fZ); - else AliError("Geometry not set. Nothing done!!!!!\n"); - } void Use(Int_t = 0) {fQ=-fQ;} void UnUse() {fQ=TMath::Abs(fQ);} void SetQ(Float_t q) {fQ=q;} @@ -95,8 +72,6 @@ class AliITSRecPoint : public AliCluster { Int_t GetType() const {return fType;} // type of the cluster Float_t GetDeltaProbability() const{return fDeltaProb;} //probability to belong to the delta ray - - protected: Float_t fXloc ; //X of cluster (local coordinates) @@ -112,9 +87,7 @@ class AliITSRecPoint : public AliCluster { Int_t fType; //quality factor of the cluster Float_t fDeltaProb; // probability to be deleta electron - AliITSgeom* fGeom; //!pointer to ITS geometry - - ClassDef(AliITSRecPoint,2) // AliITSRecPoint class + ClassDef(AliITSRecPoint,5) // AliITSRecPoint class }; // Input and output function for standard C++ input/output. ostream& operator<<(ostream &os,AliITSRecPoint &source);