|
[Rivet] RIVET scriptsGenius Walia genius.walia at cern.chFri Mar 10 17:04:15 GMT 2017
Dear Authors, I am preparing rivet routine for a CMS analysis in CMSSW release 8_1_0. I am facing issues when using flat2yoda and root2yoda scripts 1.) flat2yoda : It gives following error : File "/cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_1_0/external/slc6_amd64_gcc530/bin/flat2yoda", line 23 opts, args = parser.parse_args() ^ SyntaxError: invalid syntax I looked into the /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_1_0/external/slc6_amd64_gcc530/bin/flat2yoda file and found that on line 21, the closing bracket is missing. I think this could be the source of the error. I was suggested to write to the authors, to get it fixed in subsequent CMSSW releases. It could be great if you can look into this. 2.) root2yoda : I tried using this script giving TH1D histogram as input, in the same CMSSW version. But the output yoda file varies my input cross-section numbers and I get different cross-sections values . I am using the following command for root 2 yoda conversion : root2yoda Data_muon.root It gives the Data_muon.yoda as output. I tried plotting these outputs using rivet-mkhtml Data_muon.yoda command, but it gives .dat file as output. I even tried comparing this Data_muon.yoda to MC, but the output histogram only shows the MC distribution. I am attaching the Data_muon.root and Data_muon.yoda with this mail. Could you please suggest me what I am doing wrong. Many thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20170310/72572536/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Data_Muon.yoda Type: application/octet-stream Size: 2787 bytes Desc: Data_Muon.yoda URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20170310/72572536/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: Data_Muon.root Type: application/octet-stream Size: 4052 bytes Desc: Data_Muon.root URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20170310/72572536/attachment-0001.obj>
More information about the Rivet mailing list |