]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixes in order to eliminate compilation warnings
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Sep 2003 15:42:45 +0000 (15:42 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Sep 2003 15:42:45 +0000 (15:42 +0000)
ITS/AliITSFindClustersV2.cxx
ITS/AliITSPid.cxx
ITS/AliITSRiemannFit.cxx
ITS/AliITSRiemannFit.h
ITS/AliITSTrackV1.cxx
ITS/AliITSTrackV1.h
ITS/AliITSTrackerV1.cxx
ITS/AliITSVertexerIons.cxx
ITS/AliITSVertexerTracks.cxx
ITS/AliITStrackerV2.cxx

index 36c81522c3d7475c33434a83982b73f9c15dba75..a89787f91640da42da29fa17fb03b33f2bc5d3b3 100644 (file)
@@ -268,7 +268,7 @@ void AliITSFindClustersV2::Exec(const Option_t *opt){
     Char_t name[50];
 
     if(!fInit){
-       Warning("Exec","Initilization not succesfull. Aborting.");
+       Warning("Exec","(opt=%s) Initilization not succesfull. Aborting.\n",opt);
        return;
     } // end if !fInit
 
index afa051eb64a2b8f49d438e14114fd3b4209d212f..e095cd581b699954d016387082db3d9497addf6a 100644 (file)
@@ -121,6 +121,7 @@ Int_t       AliITSPid::wpikp(Float_t pm,Float_t q)
 //-----------------------------------------------------------
 Int_t  AliITSPid::GetPcode(TClonesArray* rps,Float_t pm)
 {
+  Info("GetPcode","method not implemented - Inputs TClonesArray *%x , Float_t %f",rps,pm); 
     return 0;    
 }
 //-----------------------------------------------------------
index 44ad7f0d96fe431042abb28ebf741bc78279b07a..53be0002c65b02a1532e4993ef1083d66a6de9b0 100644 (file)
@@ -180,7 +180,7 @@ void FillPoints(Point_tl **Points,Int_t &index,Float_t *xpoint,
 }
 // -----------------------------------------------------------------------
 
-void AliITSRiemannFit::InitPoints(Int_t evnt,Int_t ntracks,AliITS *ITS,
+void AliITSRiemannFit::InitPoints(Int_t ntracks,AliITS *ITS,
                                    TTree *TR,Int_t nparticles){
   //////////////////////////////////////////////////////////////////////
   // Fill the class member fPointRecs with the reconstructed points
@@ -676,7 +676,7 @@ Int_t FitLinear(Int_t npoints, TVector3 **input, TVector3 **errors, Double_t ome
 }
 
 //-------------------------------------------------------------------
-Int_t AliITSRiemannFit::FitHelix(Int_t tracknumber,Int_t charge,Double_t Px,Double_t Py,Double_t Pz,Double_t& fd0,
+Int_t AliITSRiemannFit::FitHelix(Int_t tracknumber,Double_t Px,Double_t Py,Double_t Pz,Double_t& fd0,
                                   Double_t& fphi,Double_t& u0, Double_t& v0, Double_t& rho,Double_t& omega, Double_t& z0,
                                   Double_t& vpar,Double_t& chisql, Double_t& fCorrLin,Double_t& fFit,
                                   Int_t first,Int_t second,Int_t third,Int_t fourth,Int_t fifth,Int_t sixth) {
index beb880ea03f4af7367710932d42b1392dc4059cb..22c97d66a86d8d08abbbde9355c937a9f6c9bb10 100644 (file)
@@ -42,11 +42,11 @@ class AliITSRiemannFit : public TObject{
   Float_t GetdY(Int_t i) const {return this->fPointRecs[i]->fdy;}
   Float_t GetdZ(Int_t i) const {return this->fPointRecs[i]->fdz;}
   
-  void     InitPoints(Int_t evnt,Int_t ntracks,AliITS *ITS,TTree *TR,Int_t nparticles);
+  void     InitPoints(Int_t ntracks,AliITS *ITS,TTree *TR,Int_t nparticles);
   void     WritePoints(void);
   void     ReadPoints(void);
   static Int_t SolveCubic(Double_t a,Double_t b,Double_t c,Double_t&,Double_t&,Double_t&);
-  Int_t FitHelix(Int_t tracknumber,Int_t charge,Double_t Px,Double_t Py,Double_t Pz,
+  Int_t FitHelix(Int_t tracknumber,Double_t Px,Double_t Py,Double_t Pz,
                 Double_t& fd0,Double_t& fphi,Double_t& u0, Double_t& v0, Double_t& rho,
                 Double_t& omega, Double_t& z0,
                 Double_t& vpar,Double_t& chisql,Double_t& fCorrLin,Double_t& fFit,
index cc61a342db2f60fdadb23a57c73738b2f7a102e6..056c4f3d46b7e3e6ee0f2bb0053a1ead087eec62 100644 (file)
@@ -623,7 +623,7 @@ void  AliITSTrackV1::Correct(Double_t rk) {
                
 }
 
-void AliITSTrackV1::AddMS(AliITSRad *rl, Double_t mass) {
+void AliITSTrackV1::AddMS(Double_t mass) {
 //Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it       
 //////////   Modification of the covariance matrix to take into account multiple scattering  ///////////     
    
@@ -697,7 +697,7 @@ void AliITSTrackV1::AddMS(AliITSRad *rl, Double_t mass) {
   fC44+=theta2*q30*q30;
     
 }
-void AliITSTrackV1::PrimaryTrack(AliITSRad *rl) {
+void AliITSTrackV1::PrimaryTrack() {
 //Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it  
 // calculation of part of covariance matrix for vertex constraint
 
@@ -725,7 +725,7 @@ void AliITSTrackV1::PrimaryTrack(AliITSRad *rl) {
     fd2(i)=fC22;
     ftgl2(i)=fC33;
     fdtgl(i)=fC32; 
-    AddMS(rl);    
+    AddMS();    
     AddEL(-1,0);          
   }            
 }      
index 1ea070897bc2ba56cc6549c485fd42521f68ada7..ae86daa510c08fbd3d02958e910b26ef8b069498 100644 (file)
@@ -95,7 +95,7 @@ public:
   Double_t GetSigmaphi() const{return fC00;}    // gets the phi variance
   Double_t GetSigmaZ() const{return  fC11;}     // gets the Z variance
   void AddEL(Double_t signdE,  Bool_t flagtot, Double_t mass=0.1396);  // adds the energy loss
-  void AddMS(AliITSRad *rl,Double_t mass=0.1396);  // modify the covariance matrix to take into account the multiple scattering
+  void AddMS(Double_t mass=0.1396);  // modify the covariance matrix to take into account the multiple scattering
   void Correct(Double_t rk);  // correct the track to take into account the real detector geometry
   void SetDv(Double_t x) {fDv=x;}  // sets the radial impact parameter for vertex constraint 
   void SetZv(Double_t x) {fZv=x;}  // sets longitudinal impact parameter for vertex constraint
@@ -106,7 +106,7 @@ public:
   void Setfnoclust() {fnoclust++;}          //modify fnoclust 
   Double_t GetsigmaDv() const {return fsigmaDv;}   // gets sigma for Dv extraction
   Double_t GetsigmaZv() const {return fsigmaZv;}   // gets sigma for Zv extraction
-  void PrimaryTrack(AliITSRad *rl);   // calculation of part of covariance matrix for vertex constraint
+  void PrimaryTrack();   // calculation of part of covariance matrix for vertex constraint
   void Setd2(TVector &x) {for(Int_t i=0; i<6; i++){fd2(i)=x(i);}} // sets the vector fd2
   void Settgl2(TVector &x) {for(Int_t i=0; i<6; i++){ftgl2(i)=x(i);}}  // sets the vector ftgl2
   void Setdtgl(TVector &x) {for(Int_t i=0; i<6; i++){fdtgl(i)=x(i);}}  // sets the vector fdtgl
index 3e11b6107b54f9acea92d914f974a4f17430588e..a7cc77b2dd2996d9aa6b8da4b21afbc1a2daaf35 100644 (file)
@@ -679,7 +679,7 @@ void AliITSTrackerV1::DoTracking(Int_t evNumber,Int_t minTr,Int_t maxTr,
        primaryTrack.SetZv(zv);
        primaryTrack.SetsigmaDv(sigmaDv);
        primaryTrack.SetsigmaZv(sigmaZv);
-       primaryTrack.PrimaryTrack(frl);
+       primaryTrack.PrimaryTrack();
        TVector  d2=primaryTrack.Getd2();
        TVector  tgl2=primaryTrack.Gettgl2();
        TVector  dtgl=primaryTrack.Getdtgl();
@@ -1211,7 +1211,7 @@ void AliITSTrackerV1::RecursiveTracking(TList *trackITSlist) {
                    // cout<<" chi2pred = "<<chi2pred<<"\n";
                    // if(chi2pred>fChi2max) continue; //aggiunto il 30-7-2001
                    if(iriv == 0) flaghit=1;
-                   (*newTrack).AddMS(frl);  // add the multiple scattering 
+                   (*newTrack).AddMS();  // add the multiple scattering 
                                             //matrix to the covariance matrix 
                    (*newTrack).AddEL(1.,0);
 
@@ -1232,7 +1232,7 @@ void AliITSTrackerV1::RecursiveTracking(TList *trackITSlist) {
            AliITSTrackV1 *newTrack = new AliITSTrackV1(*trackITS);
            (*newTrack).Setfnoclust();           
            //(*newTrack).SetLayer((*trackITS).GetLayer()-1); 
-           (*newTrack).AddMS(frl);  // add the multiple scattering matrix
+           (*newTrack).AddMS();  // add the multiple scattering matrix
                                     // to the covariance matrix  
            (*newTrack).AddEL(1.,0);
            listoftrack.AddLast(newTrack);
index 54ced005a4c92f84f8248b6b280573ece56ef172..c6ef3aac689e50046e847348f35285e3beb32820 100644 (file)
@@ -454,6 +454,7 @@ AliITSVertex* AliITSVertexerIons::FindVertexForCurrentEvent(Int_t evnumber){
   delete hITSYv;
   Char_t name[30];
   //  sprintf(name,"Vertex_%d",evnumber);
+  if(fDebug>0)Info("FindVertexForCurrentEvent","Vertex found for event %d",evnumber);
   sprintf(name,"Vertex");
   fCurrentVertex = new AliITSVertex(Position,Resolution,SNR,name);
   return fCurrentVertex;
index 1084612429b4fbec7eb8d7bcf788ccfe93457fb8..66f23e28960c94a3040420c90f046cfce58ffe2c 100644 (file)
@@ -210,7 +210,7 @@ AliITSVertex* AliITSVertexerTracks::FindVertexForCurrentEvent(Int_t evnumb) {
   TString treeName = "TreeT_ITS_";
   treeName += evnumb;
   //  TTree *trkTree=(TTree*)fInFile->Get(treeName.Data()); masera
-  TTree *trkTree;
+  TTree *trkTree=0;
   if(!trkTree) return fCurrentVertex;
 
 
index 2e5bb19b9e4795bf8e87bd080540b2dbc82e8be3..6547b9a7b2c62a99aa9785669722607eaeb44629 100644 (file)
@@ -398,7 +398,7 @@ Int_t AliITStrackerV2::PropagateBack(TTree *inp, TTree *out) {
   //--------------------------------------------------------------------
   //This functions propagates reconstructed ITS tracks back
   //--------------------------------------------------------------------
-  Error("PropagateBack","This method is not converted to NewIO yet\n");
+  Error("PropagateBack","This method is not converted to NewIO yet (Args: %x , %x )\n",inp,out);
   return 1;
   /*
   TFile *in=(TFile*)inp;
@@ -541,7 +541,7 @@ Int_t AliITStrackerV2::RefitInward(TTree *in, TTree *out) {
   // This functions refits ITS tracks using the 
   // "inward propagated" TPC tracks
   //--------------------------------------------------------------------
-  Error("RefitInward","This method is not converted to NewIO yet\n");
+  Error("RefitInward","This method is not converted to NewIO yet (Args: %x , %x )\n",in,out);
   return 1;
   /*
   TFile *in=(TFile*)inp;