]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPid.h
doxy: MUON macros, refs, src links, no coll graph
[u/mrichter/AliRoot.git] / ITS / AliITSPid.h
index 77e3dc5555fe386e7ecbc686d81a30518814f2af..e8e393537b387e7dd0229f0d97220d719a880a1e 100644 (file)
@@ -1,10 +1,15 @@
 #ifndef ALIITSPID_H
 #define ALIITSPID_H
+/////////////////////////////////////////////////////////////////
+// Class for identification of pions,kaons and protons in ITS  //
+// Prior particles population (probabilities) are taken from   //
+// Hijing event generator.                                     //
+/////////////////////////////////////////////////////////////////
 
 #include <TObject.h>
+#include <TVectorfwd.h>
 
 class TClonesArray;
-class TVector;
 class AliITSIOTrack;
 class AliKalmanTrack;
 class AliITStrackV2;
@@ -21,9 +26,10 @@ public:
        void    SetPmom(Int_t track,Float_t Pmom);
        void    SetPcod(Int_t track,Int_t Pcod);
        void    Print(Int_t track);
+        virtual void Print(Option_t *option="") const {TObject::Print(option);}
        void    Tab(void);
        void    Reset(void);
-       void    SetVec(Int_t track,TVector info);
+       void    SetVec(Int_t track,const TVector& info) const;
        TVector* GetVec(Int_t track) const;
        Int_t   GetPcode(TClonesArray* rps,Float_t pm);
        Int_t   GetPcode(Float_t p,Float_t pm);
@@ -42,7 +48,7 @@ protected:
        // copy constructor and assignment operator are protected
        // since they are not allowed
         AliITSPid(const AliITSPid &source); // copy constructor. 
-        AliITSPid& operator=(const AliITSPid& /* source */); // = operator.
+        AliITSPid& operator=(const AliITSPid&  source); // = operator.
 
        int     Qcomp(Float_t* qa,Float_t* qb) const {return qa[0]>qb[0]?1:0;}
        Float_t Qtrm(Int_t track);