//_________________________________________________________________________
// 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 ---
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 ; }
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) ;