no member named "IsFinalState" in latest version _patch1

Asked by toodles

I reinstalled madanalysis5 of version 1.1.11_patch1 (the version.txt says it is 1.1.12), it continues saying SampleAnalyzer/User/Analyzer/do_best.cpp:33:23: error: use of
      undeclared identifier 'list'
    myCanvas->SaveAs((list".eps").c_str());
                      ^
SampleAnalyzer/User/Analyzer/do_best.cpp:52:22: error: no member
      named 'IsFinalState' in 'MA5::PhysicsService'
        if(!PHYSICS->IsFinalState(prt))
            ~~~~~~~ ^
SampleAnalyzer/User/Analyzer/do_best.cpp:75:14: error: no member
      named 'ToRestFrame' in 'MA5::PhysicsService'
    PHYSICS->ToRestFrame(lepton_new,w);
    ~~~~~~~ ^
SampleAnalyzer/User/Analyzer/do_best.cpp:77:14: error: no member
      named 'ToRestFrame' in 'MA5::PhysicsService'
    PHYSICS->ToRestFrame(w_new,top);
I don't know how to solve the problem. Thank you very much and i am looking forward to hearing from you

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi,

Please have a look to the manual of the expert mode:
  http://arxiv.org/abs/arXiv:1405.3982
This is not how those functions should be used. The syntax has changed.

Best regards,

Benjamin

Can you help with this problem?

Provide an answer of your own, or ask toodles for more information if necessary.

To post a message you must log in.