More than one cut for single SR

Asked by SUBHASISH BEHERA

Dear Benjamin,
             I want to know the selection criteria for more than one cut of a single SR region in "Normal Mode", for example :-

if (M(l1,l2) > 200 && M(l1,l3) > 150)
then do { execute this bracket }

etc. kind of selection criteria . As per my knowledge MA5 treat each applied cut as separate signal region, but I want more than one cut for single region selection within "Normal mode" of MA5 . Is the && or .AND. operator will work in this case . I didn't find them in the manual .

Thanks,

Subhasish

Question information

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

Hi Subhasish,
                               The syntax is the following.

select M(l1,l2) > 200 and M(l1,l3) > 150

Regards,
Shiba

Revision history for this message
Benjamin Fuks (fuks) said :
#2

Thanks Shiba for answering!

Cheers,

Benjamin

On 20 Mar 2016, at 18:47 , shibasipu <email address hidden> wrote:

> Question #288965 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/288965
>
> Status: Open => Answered
>
> shibasipu proposed the following answer:
> Hi Subhasish,
> The syntax is the following.
>
>
> select M(l1,l2) > 200 and M(l1,l3) > 150
>
>
>
>
> Regards,
> Shiba
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#3

Dear Benjamin and Shiba,
            If I have to apply one selection and one rejection criteria then what shall I do ?

for example :- select ETA < 2.47
                             and reject 1.55 < ETA < 1.85

So how my script file will look like ?

Thanks,

Subhasish

Revision history for this message
Best Benjamin Fuks (fuks) said :
#4

Hi Subhasish,

Please have a look to the manual. You need to apply both cuts as a sequence.

Regards,

Benjamin

On 21 Mar 2016, at 09:52 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #288965 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/288965
>
> Status: Answered => Open
>
> SUBHASISH BEHERA is still having a problem:
> Dear Benjamin and Shiba,
> If I have to apply one selection and one rejection criteria then what shall I do ?
>
> for example :- select ETA < 2.47
> and reject 1.55 < ETA < 1.85
>
> So how my script file will look like ?
>
>
>
> Thanks,
>
> Subhasish
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#5

Thanks Benjamin Fuks, that solved my question.