Fixed warnings
authorvicinanz <vicinanz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2002 09:00:55 +0000 (09:00 +0000)
committervicinanz <vicinanz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Oct 2002 09:00:55 +0000 (09:00 +0000)
TOF/AliTOFProb.cxx
TOF/AliTOFReconstructionerV2.cxx

index 31b0b0ef90c5b78bd39d5930c7d1b726bc1d4bdd..d366df6f1d555af045ded39ed1e308a68cc618a5 100644 (file)
@@ -160,7 +160,9 @@ void AliTOFProb::Exec(const Option_t *dummyOpt)
     fNtuple->GetEvent(i);
     //Int_t event=(Int_t)(fNtuple->GetLeaf("event")->GetValue());
     Int_t pdgcode=(Int_t)(fNtuple->GetLeaf("ipart")->GetValue());
-    Float_t mass=fNtuple->GetLeaf("mext")->GetValue(0);
+    // unused for the time being in the context of probabilities
+    // probably it will be included in AliESD approach
+    //Float_t mass=fNtuple->GetLeaf("mext")->GetValue(0);
     Int_t matc=(Int_t)(fNtuple->GetLeaf("matc")->GetValue(0));
     Int_t imam=(Int_t)(fNtuple->GetLeaf("imam")->GetValue(0));
     Float_t time=fNtuple->GetLeaf("text")->GetValue(0); // [ns]
index 81155e3a35a2e21bf86fa1be1011543678d1abf0..17e742236b2dea8854521591cd81a97a20a11265 100644 (file)
@@ -327,8 +327,8 @@ void AliTOFReconstructionerV2::Exec(Option_t* option)
       Double_t cc[15];
       // get sigmaY and sigmaZ
       rt->GetExternalCovariance(cc);
-      Double_t sigmaY =TMath::Sqrt(cc[0]); // [cm]
-      Double_t sigmaZ =TMath::Sqrt(cc[2]); // [cm]
+      //Double_t sigmaY =TMath::Sqrt(cc[0]); // [cm]
+      //Double_t sigmaZ =TMath::Sqrt(cc[2]); // [cm]
 
       // arrays used by the DigitFinder
       Int_t nSlot=1;
@@ -344,8 +344,8 @@ void AliTOFReconstructionerV2::Exec(Option_t* option)
       for (Int_t j=0; j<fNDummyTracks; i++) {
        AliTPCtrack *dummyrt=new AliTPCtrack(*rt);
        // get ylrf and zlrf
-       Double_t ylrf= dummyrt->GetY();  // P0
-       Double_t zlrf= dummyrt->GetZ();  // P1
+       //Double_t ylrf= dummyrt->GetY();  // P0
+       //Double_t zlrf= dummyrt->GetZ();  // P1
 
        // smear according to sigmaY and sigmaZ
        //Double_t ylrfNew=gRandom->Gaus(ylrf,fScaleSigmaFactor*sigmaY);