madanalysis5 icon indicating copy to clipboard operation
madanalysis5 copied to clipboard

Calling MT variable in expert mode

Open juhidutta opened this issue 1 year ago • 1 comments

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/hino_ll.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

juhidutta avatar Apr 19 '24 19:04 juhidutta

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/hino_ll.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.

BFuks avatar Apr 22 '24 07:04 BFuks