{"comment":{"url":"https://api.github.com/repos/TopBrussels/TopTreeAnalysisBase/comments/14623198","html_url":"https://github.com/TopBrussels/TopTreeAnalysisBase/commit/90800e1e276e7e3e34c017e062751f0edfa5e9eb#commitcomment-14623198","id":14623198,"user":{"login":"fblekman","id":4673869,"avatar_url":"https://avatars.githubusercontent.com/u/4673869?v=3","gravatar_id":"","url":"https://api.github.com/users/fblekman","html_url":"https://github.com/fblekman","followers_url":"https://api.github.com/users/fblekman/followers","following_url":"https://api.github.com/users/fblekman/following{/other_user}","gists_url":"https://api.github.com/users/fblekman/gists{/gist_id}","starred_url":"https://api.github.com/users/fblekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fblekman/subscriptions","organizations_url":"https://api.github.com/users/fblekman/orgs","repos_url":"https://api.github.com/users/fblekman/repos","events_url":"https://api.github.com/users/fblekman/events{/privacy}","received_events_url":"https://api.github.com/users/fblekman/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"90800e1e276e7e3e34c017e062751f0edfa5e9eb","created_at":"2015-11-25T17:53:03Z","updated_at":"2015-11-25T17:53:03Z","body":"nevermind, I found the doucmentation: https://twiki.cern.ch/twiki/bin/viewauth/CMS/MuonReferenceEffsRun2\r\n\r\nNote that you need to use the 2D histograms and define the directories for these root files to work with the SF lepton classes. Example: \r\n\r\n\r\n    MuonSFWeight musfweight(\"/localgrid/fblekman/analysis/CMSSW_7_4_15/src/TopBrussels/TopTreeAnalysisBase/Calibrations/LeptonSF/MuonID_Z_RunD_Reco74X_Nov20.root\",\"NUM_MediumID_DEN_genTracks_PAR_pt_spliteta_bin1/abseta_pt_ratio\");\r\n    MuonSFWeight musfweightIso(\"/localgrid/fblekman/analysis/CMSSW_7_4_15/src/TopBrussels/TopTreeAnalysisBase/Calibrations/LeptonSF/MuonIso_Z_RunD_Reco74X_Nov20.root\",\"NUM_LooseRelIso_DEN_MediumID_PAR_pt_spliteta_bin1/abseta_pt_ratio\");\r\n    \r\n"}}