]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegmentMakerv1.h
DE SetpManager as default (Gines)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMakerv1.h
index db286dd4946caabfe2e649ec883c44b4ce61bb48..4a6fc6243da533b0a4549b6c3b26bf5896eb84e2 100644 (file)
@@ -4,6 +4,10 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ */
 
 //_________________________________________________________________________
 // Implementation version 1 of algorithm class to construct PHOS track segments
@@ -38,16 +42,16 @@ public:
   
   //  virtual char*  GetRecPointsBranch    (void)const{return (char*)fRecPointsBranchTitle.Data() ;}
   //  virtual char*  GetTrackSegmentsBranch(void)const{return (char*)fTrackSegmentsBranchTitle.Data() ;}
-  virtual const Int_t GetTrackSegmentsInRun()const {return fTrackSegmentsInRun ;}  
+  virtual Int_t GetTrackSegmentsInRun()const {return fTrackSegmentsInRun ;}  
 
   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 CPV
           void   MakePairs() ;           //Finds pairs(triplets) with smallest link
-  virtual void   Print() const ;
+  virtual void   Print(const Option_t * = "") const ;
   //Switch to "on flyght" mode, without writing to TreeR and file  
-  void SetWriting(const Bool_t toWrite = kFALSE){fWrite = toWrite;} 
+  void SetWriting(Bool_t toWrite = kFALSE){fWrite = toWrite;} 
   virtual void   SetMaxEmcCPVDistance(Float_t r){ fRcpv = r ;} //Maximal distance (in PHOS plane) 
                                                                //between EMCrp and CPVrp
   virtual void   SetMaxCPVTPCDistance(Float_t r){ fRtpc = r ;} //Maximal distance 
@@ -67,7 +71,7 @@ private:
 
   const TString BranchName() 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;
+  TVector3 PropagateToPlane(Double_t *x, Double_t *p, const char *det, Int_t module) const;
   void    Init() ;
   void    InitParameters() ;
   void    PrintTrackSegments(Option_t *option) ;