doubt with madanalysis

Bug #1818809 reported by IPSITA RAY
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadAnalysis 5
Invalid
Undecided
Unassigned

Bug Description

Hi,

I write the following in the ma5 interface:

ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
   -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
ma5>
ma5>set zjets.linecolor = green
ma5>set zjets.linestyle = solid
ma5>set zjets.backcolor = red
ma5>set zjets.backstyle = dotted
ma5>set main.stacking_method = stack
ma5>plot M(l+ l-) 50 0 200 [logY]
ma5>
ma5>submit

I get the histogram as attached. I am unable to get the filled histogram or as a histogram generally looks like. Please help me.

Thanks.

Revision history for this message
IPSITA RAY (ray176121005) wrote :
Revision history for this message
Benjamin Fuks (fuks) wrote :

I cannot reproduce your issue. I have entered the same commands as you did and I get the correct figure, both with Root and with Matplotlib. I also use the latest version of MadAnalysis 5.

Changed in madanalysis5:
status: New → Invalid
Revision history for this message
IPSITA RAY (ray176121005) wrote :
Download full text (4.9 KiB)

Can you please attach the plot as you got.

I get the following thing on starting madanalysis.

Platform: Linux 4.15.0-45-generic [Linux mode]
Reading user settings ...
Checking mandatory packages:
     - python [OK]
     - python library: numpy [OK]
     - g++ [OK]
     - GNU Make [OK]
     - Root [OK]
     - PyRoot libraries [OK]
Checking optional packages:
     - pdflatex [OK]
     - latex [OK]
     - dvipdf [OK]
     - zlib [OK]
     - FastJet [DISABLED]
 ** WARNING: The FastJet is package not found.
 ** WARNING: JetClustering algorithms will be disabled.
 ** WARNING: To enable this functionnality, please type 'install fastjet'.
     - Delphes [DISABLED]
 ** WARNING: Header file called '/modules/ParticlePropagator.h' not found.
 ** WARNING: Delphes ROOT format will be disabled.
 ** WARNING: To enable this format, please type 'install delphes'.
     - Delphes-MA5tune [DISABLED]
 ** WARNING: DelphesMA5tune folder not found.
 ** WARNING: Delphes-MA5tune ROOT format will be disabled.
 ** WARNING: To enable this format, please type 'install delphesMA5tune'.
     - Recasting tools [DISABLED]
 ** WARNING: Recasting tools are not found and will be disabled.
 ** WARNING: To enable this functionnality, please type 'install RecastingTools'.
Checking the MadAnalysis library:
  => System configuration has changed since the last use. Need to rebuild the library.

   **********************************************************
                Building SampleAnalyzer libraries
   **********************************************************
   How many cores for the compiling? default = max = 4
   Answer: 4
   => Number of cores used for the compilation = 4
   Writing the setup files ...
   Writing all the Makefiles ...
   **********************************************************
   Component 1/6 - library: SampleAnalyzer commons
     - Cleaning the project before building the library ...
     - Compiling the source files ...
     - Linking the library ...
     - Checking that the library is properly built ...
     - Cleaning the project after building the library ...
     => Status: [OK]
   **********************************************************
   Component 2/6 - test program: SampleAnalyzer commons
     - Cleaning the project before building the test program ...
     - Compiling the source files ...
     - Linking the test program ...
     - Checking that the test program is properly built ...
     - Cleaning the project after building the test program ...
     - Running the test program ...
     - Checking the program output...
     => Status: [OK]
   **********************************************************
   Component 3/6 - library: interface to zlib
     - Cleaning the project before building the library ...
     - Compiling the source files ...
     - Linking the library ...
     - Checking that the library is properly built ...
     - Cleaning the project after building the library ...
     => Status: [OK]
   ***********************...

Read more...

Revision history for this message
Benjamin Fuks (fuks) wrote :

This does not tell me which version of the code you are using...

Revision history for this message
IPSITA RAY (ray176121005) wrote :

Pardon me. How to know the version of code?

Revision history for this message
IPSITA RAY (ray176121005) wrote :

I use madanalysis5 version 1.1.11

Revision history for this message
Benjamin Fuks (fuks) wrote : Re: [Bug 1818809] Re: doubt with madanalysis

This version is like 3-4 years old… Please update the code.

Cheers,

Benjamin

> On 6 Mar 2019, at 13:19 , IPSITA RAY <email address hidden> wrote:
>
> I use madanalysis5 version 1.1.11
>
> --
> You received this bug notification because you are a member of
> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = solid
> ma5>set zjets.backcolor = red
> ma5>set zjets.backstyle = dotted
> ma5>set main.stacking_method = stack
> ma5>plot M(l+ l-) 50 0 200 [logY]
> ma5>
> ma5>submit
>
> I get the histogram as attached. I am unable to get the filled
> histogram or as a histogram generally looks like. Please help me.
>
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions

Revision history for this message
IPSITA RAY (ray176121005) wrote :

I have updated the code to version 1.6 but when I try to import with the command

ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets

I get the error like

MA5-ERROR: The dataset '/home/ipsita/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz' has not been found or has a unsupported format.

although in the previous version it could be imported with this command.

Revision history for this message
Benjamin Fuks (fuks) wrote :

This version is one year old. Please update the code.

Have you tried to verify that the file was actually existing? That madanalysis was started in the appropriate mode (not in the -H mode)?

Cheers,

Benjamin

> On 6 Mar 2019, at 18:39 , IPSITA RAY <email address hidden> wrote:
>
> I have updated the code to version 1.6 but when I try to import with the
> command
>
> ma5>import
> ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz
> as zjets
>
> I get the error like
>
> MA5-ERROR: The dataset '/home/ipsita/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz' has not been found or has a unsupported format.
>
> although in the previous version it could be imported with this command.
>
> --
> You received this bug notification because you are a member of
> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = solid
> ma5>set zjets.backcolor = red
> ma5>set zjets.backstyle = dotted
> ma5>set main.stacking_method = stack
> ma5>plot M(l+ l-) 50 0 200 [logY]
> ma5>
> ma5>submit
>
> I get the histogram as attached. I am unable to get the filled
> histogram or as a histogram generally looks like. Please help me.
>
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions

Revision history for this message
IPSITA RAY (ray176121005) wrote :

The same problem persists with version 1.7 also. Which mode should I use?

I was using simply ./bin/ma5

Revision history for this message
Benjamin Fuks (fuks) wrote :

Has MA5 detected zlib?

Cheers,

B>

> On 6 Mar 2019, at 19:14 , IPSITA RAY <email address hidden> wrote:
>
> The same problem persists with version 1.7 also. Which mode should I
> use?
>
> I was using simply ./bin/ma5
>
> --
> You received this bug notification because you are a member of
> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = solid
> ma5>set zjets.backcolor = red
> ma5>set zjets.backstyle = dotted
> ma5>set main.stacking_method = stack
> ma5>plot M(l+ l-) 50 0 200 [logY]
> ma5>
> ma5>submit
>
> I get the histogram as attached. I am unable to get the filled
> histogram or as a histogram generally looks like. Please help me.
>
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions

Revision history for this message
IPSITA RAY (ray176121005) wrote :

No sir. It hasn't

Revision history for this message
Benjamin Fuks (fuks) wrote :

This is why your zipped event file cannot be read. Please type 'isntall zlib' and everything should be fixed.

Cheers,

Benjamin

> On 8 Mar 2019, at 17:32 , IPSITA RAY <email address hidden> wrote:
>
> No sir. It hasn't
>
> --
> You received this bug notification because you are a member of
> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = solid
> ma5>set zjets.backcolor = red
> ma5>set zjets.backstyle = dotted
> ma5>set main.stacking_method = stack
> ma5>plot M(l+ l-) 50 0 200 [logY]
> ma5>
> ma5>submit
>
> I get the histogram as attached. I am unable to get the filled
> histogram or as a histogram generally looks like. Please help me.
>
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions

Revision history for this message
IPSITA RAY (ray176121005) wrote :

No sir.

On 7 Mar 2019 05:30, "Benjamin Fuks" <email address hidden> wrote:

> Has MA5 detected zlib?
>
> Cheers,
>
> B>
>
> > On 6 Mar 2019, at 19:14 , IPSITA RAY <email address hidden> wrote:
> >
> > The same problem persists with version 1.7 also. Which mode should I
> > use?
> >
> > I was using simply ./bin/ma5
> >
> > --
> > You received this bug notification because you are a member of
> > MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> > https://bugs.launchpad.net/bugs/1818809
> >
> > Title:
> > doubt with madanalysis
> >
> > Status in MadAnalysis 5:
> > Invalid
> >
> > Bug description:
> > Hi,
> >
> > I write the following in the ma5 interface:
> >
> > ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz
> as zjets
> > -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset
> 'zjets'.
> > ma5>
> > ma5>set zjets.linecolor = green
> > ma5>set zjets.linestyle = solid
> > ma5>set zjets.backcolor = red
> > ma5>set zjets.backstyle = dotted
> > ma5>set main.stacking_method = stack
> > ma5>plot M(l+ l-) 50 0 200 [logY]
> > ma5>
> > ma5>submit
> >
> > I get the histogram as attached. I am unable to get the filled
> > histogram or as a histogram generally looks like. Please help me.
> >
> > Thanks.
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz
> as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset
> 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = solid
> ma5>set zjets.backcolor = red
> ma5>set zjets.backstyle = dotted
> ma5>set main.stacking_method = stack
> ma5>plot M(l+ l-) 50 0 200 [logY]
> ma5>
> ma5>submit
>
> I get the histogram as attached. I am unable to get the filled
> histogram or as a histogram generally looks like. Please help me.
>
> Thanks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions
>

Revision history for this message
Benjamin Fuks (fuks) wrote :
Download full text (3.6 KiB)

Have you installed zlib through maanalysis?

Cheers,

Benjamin

> On 9 Mar 2019, at 04:33 , IPSITA RAY <email address hidden> wrote:
>
> No sir.
>
> On 7 Mar 2019 05:30, "Benjamin Fuks" <email address hidden> wrote:
>
>> Has MA5 detected zlib?
>>
>> Cheers,
>>
>> B>
>>
>>> On 6 Mar 2019, at 19:14 , IPSITA RAY <email address hidden> wrote:
>>>
>>> The same problem persists with version 1.7 also. Which mode should I
>>> use?
>>>
>>> I was using simply ./bin/ma5
>>>
>>> --
>>> You received this bug notification because you are a member of
>>> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
>>> https://bugs.launchpad.net/bugs/1818809
>>>
>>> Title:
>>> doubt with madanalysis
>>>
>>> Status in MadAnalysis 5:
>>> Invalid
>>>
>>> Bug description:
>>> Hi,
>>>
>>> I write the following in the ma5 interface:
>>>
>>> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz
>> as zjets
>>> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset
>> 'zjets'.
>>> ma5>
>>> ma5>set zjets.linecolor = green
>>> ma5>set zjets.linestyle = solid
>>> ma5>set zjets.backcolor = red
>>> ma5>set zjets.backstyle = dotted
>>> ma5>set main.stacking_method = stack
>>> ma5>plot M(l+ l-) 50 0 200 [logY]
>>> ma5>
>>> ma5>submit
>>>
>>> I get the histogram as attached. I am unable to get the filled
>>> histogram or as a histogram generally looks like. Please help me.
>>>
>>> Thanks.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1818809
>>
>> Title:
>> doubt with madanalysis
>>
>> Status in MadAnalysis 5:
>> Invalid
>>
>> Bug description:
>> Hi,
>>
>> I write the following in the ma5 interface:
>>
>> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz
>> as zjets
>> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset
>> 'zjets'.
>> ma5>
>> ma5>set zjets.linecolor = green
>> ma5>set zjets.linestyle = solid
>> ma5>set zjets.backcolor = red
>> ma5>set zjets.backstyle = dotted
>> ma5>set main.stacking_method = stack
>> ma5>plot M(l+ l-) 50 0 200 [logY]
>> ma5>
>> ma5>submit
>>
>> I get the histogram as attached. I am unable to get the filled
>> histogram or as a histogram generally looks like. Please help me.
>>
>> Thanks.
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/madanalysis5/+bug/1818809/+subscriptions
>>
>
> --
> You received this bug notification because you are a member of
> MadAnalysisTeam, which is subscribed to MadAnalysis 5.
> https://bugs.launchpad.net/bugs/1818809
>
> Title:
> doubt with madanalysis
>
> Status in MadAnalysis 5:
> Invalid
>
> Bug description:
> Hi,
>
> I write the following in the ma5 interface:
>
> ma5>import ~/MG5_aMC_v2.6.4/MG5_aMC_v2_6_4/n/Events/run_01/tag_1_pythia_events.lhe.gz as zjets
> -> Storing the file 'tag_1_pythia_events.lhe.gz' in the dataset 'zjets'.
> ma5>
> ma5>set zjets.linecolor = green
> ma5>set zjets.linestyle = ...

Read more...

Revision history for this message
IPSITA RAY (ray176121005) wrote :

I will do it by tomorrow. Right now I am not in my workplace.I will let you know once it's done.

Thanks.

Revision history for this message
IPSITA RAY (ray176121005) wrote :

Yes I installed zlib and everything is ok now with version 1.7.

Thanks a lot sir.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.