]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix missing variable
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 15:32:10 +0000 (15:32 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Sep 2010 15:32:10 +0000 (15:32 +0000)
STEER/AliAODTagCreator.cxx

index 6191d4858a5e69808dc63a1aad33d689f329baab..6ef916a47974010ef10bcad35cd097809385d247 100644 (file)
@@ -353,17 +353,17 @@ void AliAODTagCreator::CreateTags(const char* type)
 
            AliFileTag *nftag = new AliFileTag();
            
-           if(fSession == "grid") {
+           // if(fSession == "grid") {
              nftag->SetMD5("");
              nftag->SetTURL(fturl);
              nftag->SetSize(0);
-           }
-           else {
-             nftag->SetPath(fturl);
-             nftag->SetSize(0);
-             nftag->SetMD5("");
-             nftag->SetTURL(fturl);
-           }
+           // }
+           // else {
+           //   nftag->SetPath(fturl);
+           //   nftag->SetSize(0);
+           //   nftag->SetMD5("");
+           //   nftag->SetTURL(fturl);
+           // }
       
            if (fRunTag->GetFileId(fguid) > -1)
              AliFatal("Adding a file which is already in the RunTag.");
@@ -385,17 +385,17 @@ void AliAODTagCreator::CreateTags(const char* type)
 
            AliFileTag *nftag = new AliFileTag();
            
-           if(fSession == "grid") {
+           // if(fSession == "grid") {
              nftag->SetMD5("");
              nftag->SetTURL(fturl);
              nftag->SetSize(0);
-           }
-           else {
-             nftag->SetPath(fturl);
-             nftag->SetSize(0);
-             nftag->SetMD5("");
-             nftag->SetTURL(fturl);
-           }
+           // }
+           // else {
+           //   nftag->SetPath(fturl);
+           //   nftag->SetSize(0);
+           //   nftag->SetMD5("");
+           //   nftag->SetTURL(fturl);
+           // }
       
            if (fRunTag->GetFileId(fguid) > -1)
              AliFatal("Adding a file which is already in the RunTag.");