]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDQADataMakerSim.cxx
Add a protection against division by 0 (which may occur when a track exit from the...
[u/mrichter/AliRoot.git] / TRD / AliTRDQADataMakerSim.cxx
index 5501c33484cd6aaafef09ea3abcb205dc97ec8ef..c50360dbd1b7f917c330c0b6ec419659dca67fb2 100644 (file)
@@ -223,7 +223,7 @@ void AliTRDQADataMakerSim::MakeHits(TTree * hitTree)
   else
    fHitsArray = new TClonesArray("AliTRDhit", nhits+1000);
   
-  Int_t index = 0;
+  //Int_t index = 0;
   Int_t nEntries = (Int_t)branch->GetEntries();
   for(Int_t i = 0; i < nEntries; i++) {
     branch->GetEntry(i);