]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDRecon.h
Making AliLog true instanton (Jimmy)
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDRecon.h
index 185d6349221076b5aa3628f8efe85d5a90220d79..986507a2181c3a5fc7380fe14df3630006bfaad1 100644 (file)
@@ -27,8 +27,8 @@ public :
     virtual ~AliHMPIDRecon() {;} //dtor
 
   void     InitVars     (Int_t n);                                                                 //init space for variables
-  void     DeleteVars   ();                                                                        //delete variables
-  void     CkovAngle    (AliESDtrack *pTrk,TClonesArray *pCluLst,Double_t nmean, Double_t qthre);  //reconstructed Theta Cerenkov
+  void     DeleteVars   ()const;                                                                   //delete variables
+  void     CkovAngle    (AliESDtrack *pTrk,TClonesArray *pCluLst,Int_t index,Double_t nmean,Float_t xRa,Float_t yRa );//reconstructed Theta Cerenkov
   Bool_t   FindPhotCkov (Double_t cluX,Double_t cluY,Double_t &thetaCer,Double_t &phiCer    );     //find ckov angle for single photon candidate
   Double_t FindRingCkov (Int_t iNclus                                                       );     //best ckov for ring formed by found photon candidates
   void     FindRingGeom (Double_t ckovAng,Int_t level=1                                     );     //estimated area of ring in cm^2 and portion accepted by geometry
@@ -41,11 +41,11 @@ public :
   TVector2 TraceForward (TVector3 dirCkov                                                   )const;//tracing forward a photon from (x,y) to PC
   void     Lors2Trs     (TVector3 dirCkov,Double_t &thetaCer,Double_t &phiCer               )const;//LORS to TRS 
   void     Trs2Lors     (TVector3 dirCkov,Double_t &thetaCer,Double_t &phiCer               )const;//TRS to LORS
-  TVector2 GetMip       (                                                                   ) 
+  TVector2 GetMip       (                                                                   )const 
                         {return fMipPos;}                                                          //mip coordinates
-  Double_t GetRingArea  (                                                                   )
+  Double_t GetRingArea  (                                                                   )const
                         {return fRingArea;}                                                        //area of the current ring in cm^2 
-  Double_t GetRingAcc   (                                                                   )
+  Double_t GetRingAcc   (                                                                   )const
                         {return fRingAcc;}                                                         //portion of the ring ([0,1]) accepted by geometry.To scale n. of photons 
   void     SetTrack     (Double_t xRad,Double_t yRad,Double_t theta,Double_t phi            )
                                 {fTrkDir.SetMagThetaPhi(1,theta,phi);  fTrkPos.Set(xRad,yRad);}    //set track parameter at RAD
@@ -53,7 +53,7 @@ public :
                                 {fPc.Set(xPc,yPc);}                                                //set track impact to PC 
   void     SetMip       (Double_t xmip,Double_t ymip                                        )
                                 {fMipPos.Set(xmip,ymip);}                                          //set track impact to PC
-  enum ETrackingFlags {kMipDistCut=-9,kMipQdcCut=-5,kNoPhotAccept=-11};
+  enum ETrackingFlags {kNotPerformed=-20,kMipDistCut=-9,kMipQdcCut=-5,kNoPhotAccept=-11,kNoRad = -22};
 //
 protected:
   Int_t     fPhotCnt;                           // counter of photons candidate