ETAordering

Asked by lyb

Dear Madanalysis experts,

From arXiv:1808.00480 (p79) we know that the objects could be ordered in normal mode by the increasing pseudorapidity named ETAordering. I want to know if it can be sorted according to the absolute value of the pseudorapidity,such as the option command for ABSETA. I tried ABSETAording is an invalid command.

Best regards,
Yao-Bei

Question information

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

Dear Yao-Bei,

What you asked is indeed not implemented. It is however very easy to hack. See the file
  tools/SampleAnalyzer/Commons/Service/SortingService.h
and the different PointComparison methods at the beginning of the file. One only needs to add absolute values in the "eta" one.

Cheers,

Benjamin

> On 15 Dec 2020, at 03:45 , lyb <email address hidden> wrote:
>
> New question #694514 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/694514
>
> Dear Madanalysis experts,
>
>> From arXiv:1808.00480 (p79) we know that the objects could be ordered in normal mode by the increasing pseudorapidity named ETAordering. I want to know if it can be sorted according to the absolute value of the pseudorapidity,such as the option command for ABSETA. I tried ABSETAording is an invalid command.
>
> Best regards,
> Yao-Bei
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
lyb (liuyaobei) said :
#2

Thanks Benjamin Fuks, that solved my question.