delphes query

Asked by Juhi Dutta

Hi,

 I am facing an error when I try to convert an hep file to a lhco file and analyse directly on ma5 using the following lines :

set main.fastsim.package=delphes
set main.fastsim.detector=atlas

followed by importing the file and analysis.

Even though the lhco file has the correct no. of entries ,plots of MHT ,TET etc show only a single event even before applying cuts.

The root file analysis gives proper graphs(I compare against Delphes standalone (conversion+analysis) results.They closely match).

I am not sure what the problem is.There is the delphesMA5tune as well. What is the difference between the delphes and delphesMA5Tune in madanalysis5 and which one should be used?

Thanks & Regards,

Juhi

Question information

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

Dear Juhi,

> I am facing an error when I try to convert an hep file to a lhco file and analyse directly on ma5 using the following lines :
>
> set main.fastsim.package=delphes
> set main.fastsim.detector=atlas
>
> followed by importing the file and analysis.
You need to import and stdhep or hepmc file and not an lhco file in order to use delphes. As a result, ma5 will create a root file that it can analyze.

> I do the same using delphesMA5Tune which gives proper graphs(I compare against Delphes standalone (conversion+analysis) results.They closely match).
This is weird. You should get a root file and not an lhco file. In addition, you cannot have both delphes and delphesMA5tune installed on a single copy of madanalysis 5.

> What is the difference between the delphes and delphesMA5Tune in madanalysis5 ?
The detector parameterisations are different.

Cheers,

Benjamin

Revision history for this message
Juhi Dutta (dutta-juhi91) said :
#2

Hi,

Thank you for the reply!

I am indeed importing an stdhep file not an lhco file to use delphes in madanalysis5.

also the problem persists on uninstalling delphesMA5tune (also there was an error in the question: using delphesma5tune was also not helping - sorry about that)

I am analysing the lhco file of mg5 in madanalysis5 and comparing it to the above analysis.Here is where I get errors for the latter.The correct no of entries is read but plots of MHT.,TET etc all show no evnts passing through.

I repeated it with 2-3 more hep files to recheck but all show the same. I am not understanding why this difference is occuring.

Thanks & Regards,

Juhi

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

Hi Juhi,

Let me summarize to see whether I have understood the issue correctly.
 - You are considering some process and gets and lhco file from madgraph (using pythia6 and delphes 2) as well as the stdhep file after pythia.
 - You use madanalysis5 to make use of either delphes 3 or the ma5tune of delphes 3 to produce root files.
 - You compare a couple of distributions in all 3 cases.
 - ma5tune and delphes 3 agree pretty much with each other (let's say, qualitatively).
 - something is wrong with the LHCO file that is not processed.

If this is the case, could you please send me the LHCO file so that I can run a couple of tests from my side? Thanks.

Cheers,

Benjamin

On 06 May 2015, at 12:37 , Juhi Dutta <email address hidden> wrote:

> Question #266554 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/266554
>
> Status: Answered => Open
>
> Juhi Dutta is still having a problem:
> Hi,
>
> Thank you for the reply!
>
> I am indeed importing an stdhep file not an lhco file to use delphes in
> madanalysis5.
>
> also the problem persists on uninstalling delphesMA5tune (also there was
> an error in the question: using delphesma5tune was also not helping -
> sorry about that)
>
> I am analysing the lhco file of mg5 in madanalysis5 and comparing it to
> the above analysis.Here is where I get errors for the latter.The correct
> no of entries is read but plots of MHT.,TET etc all show no evnts
> passing through.
>
> I repeated it with 2-3 more hep files to recheck but all show the same.
> I am not understanding why this difference is occuring.
>
> Thanks & Regards,
>
> Juhi
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Juhi Dutta (dutta-juhi91) said :
#5

Hi,

>You are considering some process and gets and lhco file from madgraph (using pythia6 and delphes 2) as well as the stdhep file after pythia.

Yes.Also the process in consideration is ttbar +0,1,2 jets generated using madgraph+pythia+delphes in MG5_aMC@NLO.

> You use madanalysis5 to make use of either delphes 3 or the ma5tune of delphes 3 to produce root files.

Yes.

>.You compare a couple of distributions in all 3 cases.

Yes. The 3 cases being : (1)in madanalysis5 making use of delphes/delphesMA5tune (importing stdhep file), (2)madanalysis5 by importing lhco output of madgraph+pythia+delphes (3) and delphes standalone (using stdhep file and converting it to root file).

>.ma5tune and delphes 3 agree pretty much with each other (let's say, qualitatively).

No. I had made an error in my question which I have corrected later. MA5tune and delphes of madanalysis both do not give any events passing through.But the root file produced using delphes standalone when analysed in madanalysis does give some results which look atleast qualitatively similar to delphes standalone results.

>.something is wrong with the LHCO file that is not processed.

No. Madgraph+pythia+delphes (MG5_aMC) LHCO file when analyzed in madanalysis5 does give me results.

The problem is occuring when I try to convert the stdhep file -> root file in madanalysis5 .

Kindly provide me your email address so that if required I can mail you the lhco file.

Thanks & Regards,

Juhi

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

Hi Juhi,

Ok. So the problem is that events generated with either the tune or the delphes3 interface of madanalysis 5 do not yield any result at all when analyzed with ma5. The LHCO is thus fine and I do not need it.

I have tried to reproduce the issue, but can't. I am using the v1.1.12 of madanalysis 5. Could you please try with this version and tell me whether the problem persists? If yes, could you please upload the stdhep file anywhere so that I could access it and make tests? Thanks in advance.

Cheers,

Benjamin

Revision history for this message
Juhi Dutta (dutta-juhi91) said :
#7

Hello sir,

I did try with the new version.The problem persists. I shall be uploading the file and accompanying script file I am using for your verification in the Bugs section of Madanalysis5 launchpad.

Thanks & Regards,

Juhi

Can you help with this problem?

Provide an answer of your own, or ask Juhi Dutta for more information if necessary.

To post a message you must log in.