]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSRecPoint.h
Example macro for the creation of tags (P.Christakoglou)
[u/mrichter/AliRoot.git] / ITS / AliITSRecPoint.h
index d5c9038361999268d25ec89729436c45881c4d11..a973c90e0a6517e50560bb88c23963663a21dae5 100644 (file)
@@ -21,6 +21,8 @@ class AliITSRecPoint : public TObject {
     virtual ~AliITSRecPoint() {}; // distructor
     Bool_t IsSortable() const {return kTRUE;} // allows for sorting
     Int_t   GetLabel(Int_t i) const {return fTracks[i];} // get track label
+    Int_t  *GetTracks(){return fTracks;}// Returns pointer to track array
+    Int_t   GetNTracks(){return 3;} // returns track array size
     Float_t GetX() const {return fX;} // gets fX
     Float_t GetZ() const {return fZ;} // gets fZ
     Float_t GetQ() const {return fQ;} // gets fQ
@@ -37,12 +39,14 @@ class AliITSRecPoint : public TObject {
     void  Use() { //if fQ<0 cluster is already associated with a track
        fQ=-fQ;}
     Int_t IsUsed() const {return (fQ<0) ? 1 : 0;} // checks Use condision
-    Int_t Compare(const TObject *o) const { //to be defined
-       return 0;}
+    Int_t Compare(const TObject *) const {return 0;} //to be defined
     // Prints out the content of this class in ASCII format.
     void Print(ostream *os); 
     // Reads in the content of this class in the format of Print
     void Read(istream *is);
+    virtual void Print(Option_t *option="") const {TObject::Print(option);}
+    virtual Int_t Read(const char *name) {return TObject::Read(name);}
+
  public:
     Int_t     fTracks[3]; //labels of overlapped tracks
     Float_t   fX ;        //X of cluster