]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegmentMakerv1.h
Pi0 identification with PID was wrongly done, changes in GetEllipseParameters
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMakerv1.h
index 5c86ff377fd3b5aa9a01d0c98faeb9c80d36e19d..c12472006299c0ffdde2d5c4e2fab197d4a22ac7 100644 (file)
@@ -7,12 +7,13 @@
 
 //_________________________________________________________________________
 // Implementation version 1 of algorithm class to construct PHOS track segments
-// Associates EMC and PPSD clusters
+// Associates EMC and CPV lusters
 // Unfolds the EMC cluster   
 //                  
 //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
 
 // --- ROOT system ---
+#include <TVector3.h>
 
 // --- Standard library ---
 
@@ -42,12 +43,12 @@ public:
   virtual void   Exec(Option_t *option); // Does the job
           void   FillOneModule() ;       // Finds range in which RecPoints belonging current PHOS module are
 
-          void   MakeLinks() const;      //Evaluates distances(links) between EMC and PPSD
+          void   MakeLinks() const;      //Evaluates distances(links) between EMC and CPV
           void   MakePairs() ;           //Finds pairs(triplets) with smallest link
   virtual void   Print() const ;
   virtual void   SetMaxEmcCPVDistance(Float_t r){ fRcpv = r ;} //Maximal distance (in PHOS plane) 
                                                                //between EMCrp and CPVrp
-  virtual void   SetMaxEmcTPCDistance(Float_t r){ fRtpc = r ;} //Maximal distance (in PHOS plane) 
+  virtual void   SetMaxCPVTPCDistance(Float_t r){ fRtpc = r ;} //Maximal distance 
                                                                //between EMCrp and extrapolation of TPC track
   //  virtual void   SetRecPointsBranch(const char * title) { fRecPointsBranchTitle = title ;} 
   //  virtual void   SetTrackSegmentsBranch(const char * title){ fTrackSegmentsBranchTitle = title ; }
@@ -63,8 +64,8 @@ public:
 private:
 
   const TString BranchName() const ; 
-  Float_t GetDistanceInPHOSPlane(AliPHOSEmcRecPoint * EmcClu , AliPHOSCpvRecPoint * Ppsd , Bool_t & TooFar ) const ; // see R0
-  TVector3 PropagateToCPV(Double_t *x, Double_t *p, Int_t module) const;
+  Float_t GetDistanceInPHOSPlane(AliPHOSEmcRecPoint * EmcClu , AliPHOSCpvRecPoint * Cpv , Int_t & track ) const ; // see R0
+  TVector3 PropagateToPlane(Double_t *x, Double_t *p, char *det, Int_t module) const;
   void    Init() ;
   void    InitParameters() ;
   void    PrintTrackSegments(Option_t *option) ;