{"action":"opened","issue":{"url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/issues/35","labels_url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/issues/35/comments","events_url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/issues/35/events","html_url":"https://github.com/gordonwatts/LINQtoROOT/issues/35","id":119317422,"number":35,"title":"Variable rename missed after lifting","user":{"login":"gordonwatts","id":1778366,"avatar_url":"https://avatars.githubusercontent.com/u/1778366?v=3","gravatar_id":"","url":"https://api.github.com/users/gordonwatts","html_url":"https://github.com/gordonwatts","followers_url":"https://api.github.com/users/gordonwatts/followers","following_url":"https://api.github.com/users/gordonwatts/following{/other_user}","gists_url":"https://api.github.com/users/gordonwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwatts/subscriptions","organizations_url":"https://api.github.com/users/gordonwatts/orgs","repos_url":"https://api.github.com/users/gordonwatts/repos","events_url":"https://api.github.com/users/gordonwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwatts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/milestones/1","html_url":"https://github.com/gordonwatts/LINQtoROOT/milestones/Code%20Improvements","labels_url":"https://api.github.com/repos/gordonwatts/LINQtoROOT/milestones/1/labels","id":1421173,"number":1,"title":"Code Improvements","description":"","creator":{"login":"gordonwatts","id":1778366,"avatar_url":"https://avatars.githubusercontent.com/u/1778366?v=3","gravatar_id":"","url":"https://api.github.com/users/gordonwatts","html_url":"https://github.com/gordonwatts","followers_url":"https://api.github.com/users/gordonwatts/followers","following_url":"https://api.github.com/users/gordonwatts/following{/other_user}","gists_url":"https://api.github.com/users/gordonwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gordonwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordonwatts/subscriptions","organizations_url":"https://api.github.com/users/gordonwatts/orgs","repos_url":"https://api.github.com/users/gordonwatts/repos","events_url":"https://api.github.com/users/gordonwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gordonwatts/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":12,"state":"open","created_at":"2015-11-20T04:05:08Z","updated_at":"2015-11-28T20:54:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-11-28T20:54:52Z","updated_at":"2015-11-28T20:54:52Z","closed_at":null,"body":"After fixing #27, we are close. However, there seems to be some lifting going on w/out renaming of variables:\r\n\r\n\t\t      if (((((*(*this).CalibJet_indexLLP).at(aInt32_37))>=0)&&(((*(*this).CalibJet_indexLLP).at(aInt32_37))<((*(*this).LLP_beta).size())))&&(((((*(*this).LLP_Lxy).at(((*(*this).CalibJet_indexLLP).at(aInt32_37))))/1000.0)>=1.8)&&((((*(*this).LLP_Lxy).at(((*(*this).CalibJet_indexLLP).at(aInt32_37))))/1000.0)<=4.0)))\r\n\t\t      {\r\n\t\t        double aDouble_210=0;\r\n\t\t        int aInt32_326=0;\r\n\t\t        int aInt32_1695=(*aNTH1F_1689).Fill(((double)aInt32_326),1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1695;\r\n\t\t        int aInt32_1681=(*aNTH1F_1679).Fill((*(*this).CalibJet_eta).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1681;\r\n\t\t        int aInt32_1671=(*aNTH1F_1669).Fill((*(*this).CalibJet_pT).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1671;\r\n\t\t        int aInt32_1581=(*aNTH1F_1575).Fill(aDouble_210,1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1581;\r\n\t\t        int aInt32_1567=(*aNTH1F_1565).Fill((*(*this).CalibJet_eta).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1567;\r\n\t\t        int aInt32_1557=(*aNTH1F_1555).Fill((*(*this).CalibJet_pT).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t        aInt32_1557;\r\n\t\t      }\r\n\r\nNote the adouble_210 in there. Here is what it looks like before lifting:\r\n\t\t    if (((((*(*this).CalibJet_indexLLP).at(aInt32_37))>=0)&&(((*(*this).CalibJet_indexLLP).at(aInt32_37))<((*(*this).LLP_beta).size())))&&(((((*(*this).LLP_Lxy).at(((*(*this).CalibJet_indexLLP).at(aInt32_37))))/1000.0)>=1.8)&&((((*(*this).LLP_Lxy).at(((*(*this).CalibJet_indexLLP).at(aInt32_37))))/1000.0)<=4.0)))\r\n\t\t    {\r\n\t\t      double aDouble_210=0;\r\n\t\t      int aInt32_326=0;\r\n\t\t      int aInt32_324 = (*(*this).Track_eta).size();\r\n\t\t      for (int aInt32_323=0; aInt32_323 < aInt32_324; aInt32_323++)\r\n\t\t      {\r\n\t\t        double aDouble_325;\r\n\t\t        double deta16 = ((*(*this).CalibJet_eta).at(aInt32_37)) - ((*(*this).Track_eta).at(aInt32_323));\r\n\t\t        double dphi17 = TVector2::Phi_mpi_pi(((*(*this).CalibJet_phi).at(aInt32_37)) - ((*(*this).Track_phi).at(aInt32_323)));\r\n\t\t        aDouble_325 = deta16*deta16 + dphi17*dphi17;\r\n\t\t        if ((((*(*this).Track_pT).at(aInt32_323))>=1.0)&&(aDouble_325<0.04))\r\n\t\t        {\r\n\t\t          aInt32_326=aInt32_326+((int)1.0);\r\n\t\t        }\r\n\t\t      }\r\n\t\t      int aInt32_327=(*aNTH1F_321).Fill(((double)aInt32_326),1.0*((1.0*1.0)*1.0));\r\n\t\t      aInt32_327;\r\n\t\t      int aInt32_313=(*aNTH1F_311).Fill((*(*this).CalibJet_eta).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t      aInt32_313;\r\n\t\t      int aInt32_303=(*aNTH1F_301).Fill((*(*this).CalibJet_pT).at(aInt32_37),1.0*((1.0*1.0)*1.0));\r\n\t\t      aInt32_303;\r\n\t\t      bool aBoolean_209=((*(*this).CalibJet_logRatio).at(aInt32_37))>4.0;\r\n\t\t      if (aBoolean_209)\r\n\t\t      {\r\n\t\t        aDouble_210=3.99;\r\n\t\t      }\r\n\t\t      if (!aBoolean_209)\r\n\t\t      {\r\n\t\t        double aDouble_212=0;\r\n\t\t        bool aBoolean_211=((*(*this).CalibJet_logRatio).at(aInt32_37))<-3.0;\r\n\t\t        if (aBoolean_211)\r\n\t\t        {\r\n\t\t          aDouble_212=-2.99;\r\n\t\t        }\r\n\t\t        if (!aBoolean_211)\r\n\t\t        {\r\n\t\t          aDouble_212=(*(*this).CalibJet_logRatio).at(aInt32_37);\r\n\t\t        }\r\n\t\t        aDouble_210=aDouble_212;\r\n\t\t      }\r\n\t\t      int aInt32_213=(*aNTH1F_207).Fill(aDouble_210,1.0*((1.0*1.0)*1.0));\r\n"}}