MadAnalysis / madanalysis5

A package for event file analysis and recasting of LHC results
http://madanalysis.irmp.ucl.ac.be
GNU General Public License v3.0
21 stars 16 forks source link

Calling MT variable in expert mode #249

Open juhidutta opened 3 months ago

juhidutta commented 3 months ago

Question

Dear Experts,

I am using the following line to call the transverse mass variable in the expert mode of madanalysis:

PHYSICS->Transverse->MT(SignalLeptons[0]);

which throws the following error:

r/User/Analyzer/hinoll.cpp:247:45: error: ‘class MA5::TransverseVariables’ has no member named ‘mt’; did you mean ‘m’? MALorentzVector mt1=PHYSICS->Transverse->mt(SignalLeptons[0],metv);

Could you please let me know how could we call the MT/MT_MET variable in the expert mode?

Thanks in advance,

Best regards, Juhi

BFuks commented 3 months ago

Dear Juhi,

The function mt_met is not defined in the set of transverse variables but in the properties of the particles (check Commons/DataFormat/ParticleBaseFormat.h). This should clarify your doubts and answer your questions.

Regards,

Benjamin

On 19 Apr 2024, at 21:53, juhidutta @.***> wrote:

Question

Dear Experts,

I am using the following line to call the transverse mass variable in the expert mode of madanalysis:

PHYSICS->Transverse->MT(SignalLeptons[0]);

which throws the following error:

r/User/Analyzer/hinoll.cpp:247:45: error: ‘class MA5::TransverseVariables’ has no member named ‘mt’; did you mean ‘m’? MALorentzVector mt1=PHYSICS->Transverse->mt(SignalLeptons[0],metv);

Could you please let me know how could we call the MT/MT_MET variable in the expert mode?

Thanks in advance,

Best regards, Juhi

— Reply to this email directly, view it on GitHub https://github.com/MadAnalysis/madanalysis5/issues/249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWJNJ5ZMP44GDLBWNMBGVLY6FY2NAVCNFSM6AAAAABGPXWC22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGOBTHA2TMNQ. You are receiving this because you are subscribed to this thread.