Installing PAD in ma5track_v1.6

Asked by Humberto Reyes

Hello,

I've tried to install the PAD in ma5track_v1.6 but the same issue from
https://answers.launchpad.net/madanalysis5/+question/676331
emerges, as the PAD has been externalized. Is there a way to fix it for this version?

Or, is there a way to recast the long-live leptons analysis using ma5_v1.7? That is installing the special Delphes, and the implemented analysis there.

Thanks in advance,

Humberto.

Question information

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

This analysis has never really been merged to the automated installation (we are actually waiting for the release of a single version of delphes compatible with both the LLP and the non-LLP case. The best way would be here to go to the python (in the install_pad.py file), comment out all analyses and add manually the LLP one, following something similar to what is written in 1808.00480. Please let me know.

Revision history for this message
Humberto Reyes (hreyes) said :
#2

Hello,

A version of Delphes compatible for both LLP and non-LLP cases would be very good. Do you have an idea of the date it would be released?

Regarding the analysis, I stumble with 3 issues, the third being the most important one (I think):

1) The .ccp and .h files are in a compressed directory online, so I couldn't point directly to them in install_pad.py. I downloaded and decompressed the files, and added them as a new analysis in the PAD, instead.

2) The .info file is missing.

3) When running the detector simulator with the corresponding card I get the following error message:

input_line_54:1:219: error: expected ')'
  ...#*TMath::Power(x[3],2)-0.0917957*x[3]+0.924921)+#(x[3]>20)*(0.00) ; }
     ^
input_line_54:1:77: note: to match this '('
Double_t TFormula____id16604212887636783021(Double_t *x){ return (x[3]<=20)*(-5.06107e-7*TMath::Power(x[3],6)+0.0000272756*TM...
                                                                            ^
input_line_54:1:267: error: expected expression
  ...#(x[3]>20)*(0.00) ; }
     ^
Error in <TFormula::Eval>: Can't find TFormula____id16604212887636783021 function prototype with arguments Double_t*

Thanks again,

Humberto.

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

Hi Humberto,

> 1) The .ccp and .h files are in a compressed directory online, so I
> couldn't point directly to them in install_pad.py. I downloaded and
> decompressed the files, and added them as a new analysis in the PAD,
> instead.
That is fine. I didn't pay too much attention to this as this analysis has for now to be installed manually.

> 2) The .info file is missing.
I have sent a request to the recaster.

>
> 3) When running the detector simulator with the corresponding card I get
> the following error message:
>
> input_line_54:1:219: error: expected ')'
> ...#*TMath::Power(x[3],2)-0.0917957*x[3]+0.924921)+#(x[3]>20)*(0.00) ; }
> ^
> input_line_54:1:77: note: to match this '('
> Double_t TFormula____id16604212887636783021(Double_t *x){ return (x[3]<=20)*(-5.06107e-7*TMath::Power(x[3],6)+0.0000272756*TM...
> ^
> input_line_54:1:267: error: expected expression
> ...#(x[3]>20)*(0.00) ; }
> ^
> Error in <TFormula::Eval>: Can't find TFormula____id16604212887636783021 function prototype with arguments Double_t*

This is weird. It looks like the d0-dependent efficiency is not read correctly by delphes. Can you double check the version of delphes that is used. I also cc Eric as he knows more this part than I do.

Cheers,

Benjamin

Revision history for this message
Humberto Reyes (hreyes) said :
#4

Hello Benjamin,

1) OK.

2) Thanks.

3) It seems to be the right Delphes installation. As it contains the MA5EfficiencyD0 module in delphes/modules/.

Best, Humberto.

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

Hi Humberto,

I have updated all the links and fixed all the bugs. If you download a fresh ma5_track version:

1+2) install pad works. Only the info file for the cms_exo_16_022 analysis is still missing (I will add it as soon as I will get it).

3) The delphes card has been fixed… There was a couple of typos in it…

Cheers,

Benj

> On 4 Feb 2019, at 10:57 , Humberto Reyes <email address hidden> wrote:
>
> Question #678237 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/678237
>
> Humberto Reyes posted a new comment:
> Hello Benjamin,
>
> 1) OK.
>
> 2) Thanks.
>
> 3) It seems to be the right Delphes installation. As it contains the
> MA5EfficiencyD0 module in delphes/modules/.
>
> Best, Humberto.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Humberto Reyes (hreyes) said :
#6

Hi Benjamin,

Thanks a lot, all is working now.

Best, Humberto.