Unable to generate root

Asked by SUBHASISH BEHERA

I am getting the following problem -:

  Running 'SampleAnalyzer' over dataset 'sig'...
    *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.3.2 (2015/11/24)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - fast-simulation package 'delphes'
Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.

 *** Break *** segmentation violation

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
SUBHASISH BEHERA (subhparasara) said :
#1

Dear MA5Team,
    I am having the following problem while running the script in "madanalysis5-v1.3.pre2" .
Whether I am making any mistake in the script file or my generated .hep.gz file has some problem ?

[subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R jet4lep1nu1_ma5_codes

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.3.2 2015/11/24 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
     - Delphes [OK]
     - 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 [OK]
     - MadGraph [DISABLED]
Checking the MadAnalysis library:
  => MadAnalysis libraries found.
  => MadAnalysis test program works.
*************************************************************
Particle labels from input/reco_default.txt
  => 14 particles successfully exported.
Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
  => 9 multiparticles successfully exported.
  => 9 multiparticles successfully exported.
Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/jet4lep1nu1_ma5_codes' file ...
ma5>set main.fastsim.package = delphes
ma5>set main.fastsim.detector = atlas
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/sg.hep.gz as sig
   -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/bg.hep.gz as back
   -> Storing the file 'bg.hep.gz' in the dataset 'back'.
ma5>set sig.backcolor = blue
ma5>set back.backcolor = yellow
ma5>set sig.xsection = 0.08081
ma5>set back.xsection = 0.02154
ma5>set main.stacking_method = superimpose
ma5>set main.stacking_method = normalize2one
ma5>set main.lumi = 3000
ma5>set main.normalize = lumi
ma5>select N(j)=4
ma5>select MET > 100
ma5>select PT(j[1])>30
ma5>select PT(j[2])>30
ma5>select PT(j[3])>60
ma5>select PT(j[4])>60
ma5>plot MET
ma5>plot PT(j[1])
ma5>plot PT(j[2])
ma5>plot PT(j[3])
ma5>plot PT(j[4])
ma5>plot MT(j[1])
ma5>plot MT(j[2])
ma5>plot MT(j[3])
ma5>plot MT(j[4])
ma5>
ma5>set main.SBratio = "S/sqrt(S+B)"
Checking the formula ...
Traceback (most recent call last):
  File "./bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
    interpreter.load(filename)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
    stop = self.onecmd(line)
  File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 116, in do_set
    self.cmd_set.do(self.split_arg(line),line)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_set.py", line 205, in do
    self.do_main(args2)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_set.py", line 113, in do_main
    self.main.user_SetParameter(objs[1],args[2])
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/main.py", line 277, in user_SetParameter
    self.suggestSBerror()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/main.py", line 364, in suggestSBerror
    ref.Optimize()
AttributeError: 'TFormula' object has no attribute 'Optimize'
[subhasish@localhost madanalysis5-v1.3.pre2]$

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

Hi,

First, you should do your analysis in two steps:
 - you create root files with delphes;
 - you analyze those files.
But the error seems to be related with the version of root that is used. I cannot reproduce it. Could you please give me more information with this respect. Also, please try to run the code without steting the S vs B formula. Does it work?

Cheers,

Benjamin

On 28 Jan 2016, at 12:37 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #283832 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/283832
>
> SUBHASISH BEHERA posted a new comment:
> Dear MA5Team,
> I am having the following problem while running the script in "madanalysis5-v1.3.pre2" .
> Whether I am making any mistake in the script file or my generated .hep.gz file has some problem ?
>
>
> [subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R jet4lep1nu1_ma5_codes
>
> *************************************************************
> * *
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * ______ ______ *
> * /'\_/`\/\ __ \/\ ___\ *
> * /\ \ \ \_\ \ \ \__/ *
> * \ \ \__\ \ \ __ \ \___``\ *
> * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> * \ \_\\ \_\ \_\ \_\ \____/ *
> * \/_/ \/_/\/_/\/_/\/___/ *
> * *
> * MA5 release : 1.3.2 2015/11/24 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> * *
> * The MadAnalysis Development Team - Please visit us at *
> * https://launchpad.net/madanalysis5 *
> * *
> * Type 'help' for in-line help. *
> * *
> *************************************************************
> Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
> - Delphes [OK]
> - 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 [OK]
> - MadGraph [DISABLED]
> Checking the MadAnalysis library:
> => MadAnalysis libraries found.
> => MadAnalysis test program works.
> *************************************************************
> Particle labels from input/reco_default.txt
> => 14 particles successfully exported.
> Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
> => 9 multiparticles successfully exported.
> => 9 multiparticles successfully exported.
> Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/jet4lep1nu1_ma5_codes' file ...
> ma5>set main.fastsim.package = delphes
> ma5>set main.fastsim.detector = atlas
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/sg.hep.gz as sig
> -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/bg.hep.gz as back
> -> Storing the file 'bg.hep.gz' in the dataset 'back'.
> ma5>set sig.backcolor = blue
> ma5>set back.backcolor = yellow
> ma5>set sig.xsection = 0.08081
> ma5>set back.xsection = 0.02154
> ma5>set main.stacking_method = superimpose
> ma5>set main.stacking_method = normalize2one
> ma5>set main.lumi = 3000
> ma5>set main.normalize = lumi
> ma5>select N(j)=4
> ma5>select MET > 100
> ma5>select PT(j[1])>30
> ma5>select PT(j[2])>30
> ma5>select PT(j[3])>60
> ma5>select PT(j[4])>60
> ma5>plot MET
> ma5>plot PT(j[1])
> ma5>plot PT(j[2])
> ma5>plot PT(j[3])
> ma5>plot PT(j[4])
> ma5>plot MT(j[1])
> ma5>plot MT(j[2])
> ma5>plot MT(j[3])
> ma5>plot MT(j[4])
> ma5>
> ma5>set main.SBratio = "S/sqrt(S+B)"
> Checking the formula ...
> Traceback (most recent call last):
> File "./bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
> interpreter.load(filename)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
> stop = self.onecmd(line)
> File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
> return func(arg)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 116, in do_set
> self.cmd_set.do(self.split_arg(line),line)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_set.py", line 205, in do
> self.do_main(args2)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_set.py", line 113, in do_main
> self.main.user_SetParameter(objs[1],args[2])
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/main.py", line 277, in user_SetParameter
> self.suggestSBerror()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/main.py", line 364, in suggestSBerror
> ref.Optimize()
> AttributeError: 'TFormula' object has no attribute 'Optimize'
> [subhasish@localhost madanalysis5-v1.3.pre2]$
>
> --
> 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,
      I am using Root : v6.05.02

I am getting following kind of error again but this time a folder named "ANALYSIS_0"...

Now I go inside it and run the command :

[subhasish@localhost SampleAnalyzer]$ ./newAnalyzer.py tiku
A new class called 'tiku' will be created.
Please enter a title for your analyzer :
Title : TIKU
Done !

Is it Ok ?

I was getting the following error in the process of creating the folder "ANALYSIS_0" -:

[subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R jet4lep1nu1_ma5_codes

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.3.2 2015/11/24 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
     - Delphes [OK]
     - 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 [OK]
     - MadGraph [DISABLED]
Checking the MadAnalysis library:
  => MadAnalysis libraries found.
  => MadAnalysis test program works.
*************************************************************
Particle labels from input/reco_default.txt
  => 14 particles successfully exported.
Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
  => 9 multiparticles successfully exported.
  => 9 multiparticles successfully exported.
Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/jet4lep1nu1_ma5_codes' file ...
ma5>set main.fastsim.package = delphes
ma5>set main.fastsim.detector = atlas
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/sg.hep.gz as sig
   -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/bg.hep.gz as back
   -> Storing the file 'bg.hep.gz' in the dataset 'back'.
ma5>set sig.type = signal
ma5>set back.type = background
ma5>set sig.backcolor = blue
ma5>set back.backcolor = yellow
ma5>set sig.xsection = 0.08081
ma5>set back.xsection = 0.02154
ma5>set main.stacking_method = superimpose
ma5>set main.stacking_method = normalize2one
ma5>set main.lumi = 3000
ma5>set main.normalize = lumi
ma5>select N(j)=4
ma5>select MET > 100
ma5>select PT(j[1])>30
ma5>select PT(j[2])>30
ma5>select PT(j[3])>60
ma5>select PT(j[4])>60
ma5>plot MET
ma5>plot PT(j[1])
ma5>plot PT(j[2])
ma5>plot PT(j[3])
ma5>plot PT(j[4])
ma5>plot MT(j[1])
ma5>plot MT(j[2])
ma5>plot MT(j[3])
ma5>plot MT(j[4])
ma5>submit
   Creating folder 'ANALYSIS_0'...
   Copying 'SampleAnalyzer' source files...
   Inserting your selection into 'SampleAnalyzer'...
   Writing the list of datasets...
   Writing the command line history...
   Creating Makefiles...
Would you like to edit the Delphes Card ? (Y/N)
Answer: n
   Compiling 'SampleAnalyzer'...
   Linking 'SampleAnalyzer'...
   Running 'SampleAnalyzer' over dataset 'sig'...
    *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.3.2 (2015/11/24)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - fast-simulation package 'delphes'
Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f867586166a in waitpid () from /usr/lib64/libc.so.6
#1 0x00007f86757dca3b in do_system () from /usr/lib64/libc.so.6
#2 0x00007f86798c7441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#3 0x00007f86798c933c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#4 <signal handler called>
#5 0x00007f866f8e17c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f866f8e4c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f86798b25c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f86798b2129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f8679881a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f8679881c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f8673440078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f8673441139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f8675127928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f8679e9ad23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407f1d in main ()
===========================================================

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007f866f8e17c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f866f8e4c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f86798b25c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f86798b2129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f8679881a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f8679881c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f8673440078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f8673441139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f8675127928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f8679e9ad23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407f1d in main ()
===========================================================

 ** ERROR: run over 'sig' aborted.
    *******************************************************
   Running 'SampleAnalyzer' over dataset 'back'...
    *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.3.2 (2015/11/24)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - fast-simulation package 'delphes'
Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f69a9d2c66a in waitpid () from /usr/lib64/libc.so.6
#1 0x00007f69a9ca7a3b in do_system () from /usr/lib64/libc.so.6
#2 0x00007f69add92441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#3 0x00007f69add9433c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#4 <signal handler called>
#5 0x00007f69a3dac7c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f69a3dafc16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f69add7d5c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f69add7d129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f69add4ca7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f69add4cc18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f69a790b078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f69a790c139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f69a95f2928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f69ae365d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407f1d in main ()
===========================================================

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007f69a3dac7c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f69a3dafc16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f69add7d5c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f69add7d129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f69add4ca7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f69add4cc18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f69a790b078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f69a790c139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f69a95f2928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f69ae365d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407f1d in main ()
===========================================================

 ** ERROR: run over 'back' aborted.
    *******************************************************
   Checking SampleAnalyzer output...
   Extracting data from the output files...
 ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
 ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
 ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
 ** ERROR: Information on the dataset 'sig' are not updated.
 ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
 ** ERROR: Information on the dataset 'sig' are not updated.
 ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
 ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
 ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
 ** ERROR: Information on the dataset 'back' are not updated.
 ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
 ** ERROR: Information on the dataset 'back' are not updated.
   Preparing data for the reports ...
Traceback (most recent call last):
  File "./bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
    interpreter.load(filename)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
    stop = self.onecmd(line)
  File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 260, in do_submit
    self.cmd_submit.do(self.split_arg(line),self.history)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 86, in do
    return self.do_submit(args,history)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 249, in do_submit
    layout.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/layout.py", line 59, in Initialize
    self.cutflow.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow.py", line 55, in Initialize
    item.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow_for_dataset.py", line 98, in Initialize
    self.Nselected_posweight[icut].mean=self.cuts[icut].sumw_pos
IndexError: list index out of range
[subhasish@localhost madanalysis5-v1.3.pre2]$

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

Hi,

Please follow my intructions and proceed in two steps. Let's forget about the analysis at the moment and try to generate the root files alone. I have never tested root 6 and we may have compatiblities issues. This is not unlikely. It could also be related purely to delphes. What I suggest os
 - try to run delphes as a standalone package and see whether the problem persists. If yes, this means the issue is at the delphes level.
 - try to downgrade your root version to one of the 5.xx series. This may provide a nice workaround.

Please let me know.

Regards,

Benjamin

On 29 Jan 2016, at 06:13 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #283832 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/283832
>
> Status: Answered => Open
>
> SUBHASISH BEHERA is still having a problem:
> Dear Benjamin,
> I am using Root : v6.05.02
>
> I am getting following kind of error again but this time a folder named
> "ANALYSIS_0"...
>
>
> Now I go inside it and run the command :
>
> [subhasish@localhost SampleAnalyzer]$ ./newAnalyzer.py tiku
> A new class called 'tiku' will be created.
> Please enter a title for your analyzer :
> Title : TIKU
> Done !
>
>
> Is it Ok ?
>
>
> I was getting the following error in the process of creating the folder
> "ANALYSIS_0" -:
>
>
> [subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R jet4lep1nu1_ma5_codes
>
> *************************************************************
> * *
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * ______ ______ *
> * /'\_/`\/\ __ \/\ ___\ *
> * /\ \ \ \_\ \ \ \__/ *
> * \ \ \__\ \ \ __ \ \___``\ *
> * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> * \ \_\\ \_\ \_\ \_\ \____/ *
> * \/_/ \/_/\/_/\/_/\/___/ *
> * *
> * MA5 release : 1.3.2 2015/11/24 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> * *
> * The MadAnalysis Development Team - Please visit us at *
> * https://launchpad.net/madanalysis5 *
> * *
> * Type 'help' for in-line help. *
> * *
> *************************************************************
> Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
> - Delphes [OK]
> - 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 [OK]
> - MadGraph [DISABLED]
> Checking the MadAnalysis library:
> => MadAnalysis libraries found.
> => MadAnalysis test program works.
> *************************************************************
> Particle labels from input/reco_default.txt
> => 14 particles successfully exported.
> Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
> => 9 multiparticles successfully exported.
> => 9 multiparticles successfully exported.
> Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/jet4lep1nu1_ma5_codes' file ...
> ma5>set main.fastsim.package = delphes
> ma5>set main.fastsim.detector = atlas
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/sg.hep.gz as sig
> -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/bg.hep.gz as back
> -> Storing the file 'bg.hep.gz' in the dataset 'back'.
> ma5>set sig.type = signal
> ma5>set back.type = background
> ma5>set sig.backcolor = blue
> ma5>set back.backcolor = yellow
> ma5>set sig.xsection = 0.08081
> ma5>set back.xsection = 0.02154
> ma5>set main.stacking_method = superimpose
> ma5>set main.stacking_method = normalize2one
> ma5>set main.lumi = 3000
> ma5>set main.normalize = lumi
> ma5>select N(j)=4
> ma5>select MET > 100
> ma5>select PT(j[1])>30
> ma5>select PT(j[2])>30
> ma5>select PT(j[3])>60
> ma5>select PT(j[4])>60
> ma5>plot MET
> ma5>plot PT(j[1])
> ma5>plot PT(j[2])
> ma5>plot PT(j[3])
> ma5>plot PT(j[4])
> ma5>plot MT(j[1])
> ma5>plot MT(j[2])
> ma5>plot MT(j[3])
> ma5>plot MT(j[4])
> ma5>submit
> Creating folder 'ANALYSIS_0'...
> Copying 'SampleAnalyzer' source files...
> Inserting your selection into 'SampleAnalyzer'...
> Writing the list of datasets...
> Writing the command line history...
> Creating Makefiles...
> Would you like to edit the Delphes Card ? (Y/N)
> Answer: n
> Compiling 'SampleAnalyzer'...
> Linking 'SampleAnalyzer'...
> Running 'SampleAnalyzer' over dataset 'sig'...
> *******************************************************
> * SampleAnalyzer for MadAnalysis 5 - Welcome.
> * Initializing all components
> - version: 1.3.2 (2015/11/24)
> - general: everything is default.
> - extracting the list of event samples...
> - analyzer 'MadAnalysis5job'
> - fast-simulation package 'delphes'
> Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
> Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.
>
> *** Break *** segmentation violation
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0 0x00007f867586166a in waitpid () from /usr/lib64/libc.so.6
> #1 0x00007f86757dca3b in do_system () from /usr/lib64/libc.so.6
> #2 0x00007f86798c7441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #3 0x00007f86798c933c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #4 <signal handler called>
> #5 0x00007f866f8e17c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f866f8e4c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f86798b25c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f86798b2129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f8679881a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f8679881c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f8673440078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f8673441139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f8675127928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f8679e9ad23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407f1d in main ()
> ===========================================================
>
>
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5 0x00007f866f8e17c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f866f8e4c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f86798b25c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f86798b2129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f8679881a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f8679881c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f8673440078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f8673441139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f8675127928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f8679e9ad23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407f1d in main ()
> ===========================================================
>
>
> ** ERROR: run over 'sig' aborted.
> *******************************************************
> Running 'SampleAnalyzer' over dataset 'back'...
> *******************************************************
> * SampleAnalyzer for MadAnalysis 5 - Welcome.
> * Initializing all components
> - version: 1.3.2 (2015/11/24)
> - general: everything is default.
> - extracting the list of event samples...
> - analyzer 'MadAnalysis5job'
> - fast-simulation package 'delphes'
> Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
> Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.
>
> *** Break *** segmentation violation
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0 0x00007f69a9d2c66a in waitpid () from /usr/lib64/libc.so.6
> #1 0x00007f69a9ca7a3b in do_system () from /usr/lib64/libc.so.6
> #2 0x00007f69add92441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #3 0x00007f69add9433c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #4 <signal handler called>
> #5 0x00007f69a3dac7c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f69a3dafc16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f69add7d5c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f69add7d129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f69add4ca7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f69add4cc18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f69a790b078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f69a790c139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f69a95f2928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f69ae365d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407f1d in main ()
> ===========================================================
>
>
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5 0x00007f69a3dac7c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f69a3dafc16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f69add7d5c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f69add7d129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f69add4ca7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f69add4cc18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f69a790b078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f69a790c139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f69a95f2928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f69ae365d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407f1d in main ()
> ===========================================================
>
>
> ** ERROR: run over 'back' aborted.
> *******************************************************
> Checking SampleAnalyzer output...
> Extracting data from the output files...
> ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
> ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
> ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
> ** ERROR: Information on the dataset 'sig' are not updated.
> ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
> ** ERROR: Information on the dataset 'sig' are not updated.
> ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
> ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
> ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
> ** ERROR: Information on the dataset 'back' are not updated.
> ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
> ** ERROR: Information on the dataset 'back' are not updated.
> Preparing data for the reports ...
> Traceback (most recent call last):
> File "./bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
> interpreter.load(filename)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
> stop = self.onecmd(line)
> File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
> return func(arg)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 260, in do_submit
> self.cmd_submit.do(self.split_arg(line),self.history)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 86, in do
> return self.do_submit(args,history)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 249, in do_submit
> layout.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/layout.py", line 59, in Initialize
> self.cutflow.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow.py", line 55, in Initialize
> item.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow_for_dataset.py", line 98, in Initialize
> self.Nselected_posweight[icut].mean=self.cuts[icut].sumw_pos
> IndexError: list index out of range
> [subhasish@localhost madanalysis5-v1.3.pre2]$
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

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

Dear Benjamin,
    Your guess was correct... I think it is compatible with Root-v5.XX not with v6... Can you look into this matter for compatibility with TClass functions and make it possible with Root-v6 also ?

Thank you varymuch...

Thanks,

Subhasish

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

Hi Subhasish,

This is on the to-do list, but not for the immediate future. I leave it to Eric to provide more information with this respect.

Cheers,

Benjamin

On 01 Feb 2016, at 11:12 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #283832 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/283832
>
> Status: Answered => Open
>
> SUBHASISH BEHERA is still having a problem:
> Dear Benjamin,
> Your guess was correct... I think it is compatible with Root-v5.XX not with v6... Can you look into this matter for compatibility with TClass functions and make it possible with Root-v6 also ?
>
>
>
> Thank you varymuch...
>
> Thanks,
>
> Subhasish
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Eric Conte (eric-conte) said :
#7

Dear Subbhasish and Benjamin,

Only one functionnality is not available with ROOT6: set main.SBratio. This bug will be fixed in the next release of MadAnalysis 5. Please use the default setting for main.SBratio and everything will work properly.

Otherwise, MadAnalysis 5 compilation and other functionnalities are validated with ROOT6.
Cheers,
Eric

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

Dear Eric and Benjamin,
       I am getting some more problem even without using the "SBratio"...

But the same script with the same input .hep.gz file I am getting the result with all output required by using "ROOTv5" in some other computer...

So what could be done in this case and whether I miss some library files in my system or in the ROOTv6.05/02 ???? Can you tell me detail of it ?

 In the following I have describe the error :
P.S. : I am using "ROOTv6.05/02".

[subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R ttiikkuu/tik_ma5_codes

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.3.2 2015/11/24 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
     - Delphes [OK]
     - 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 [OK]
     - MadGraph [DISABLED]
Checking the MadAnalysis library:
  => MadAnalysis libraries found.
  => MadAnalysis test program works.
*************************************************************
Particle labels from input/reco_default.txt
  => 14 particles successfully exported.
Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
  => 9 multiparticles successfully exported.
  => 9 multiparticles successfully exported.
Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/tik_ma5_codes' file ...
ma5>set main.fastsim.package = delphes
ma5>set main.fastsim.detector = atlas
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/sg.hep.gz as sig
   -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/bg.hep.gz as back
   -> Storing the file 'bg.hep.gz' in the dataset 'back'.
ma5>set sig.type = signal
ma5>set back.type = background
ma5>set sig.xsection = 80.81
ma5>set back.xsection = 21.54
ma5>set main.stacking_method = superimpose
ma5>set main.stacking_method = normalize2one
ma5>set main.lumi = 3000
ma5>set main.normalize = lumi
ma5>select N(j)=4
ma5>select MET > 80
ma5>select PT(j[1])>130
ma5>select PT(j[2])>60
ma5>select PT(j[3])>40
ma5>select PT(j[4])>40
ma5>plot MET
ma5>submit
   Creating folder 'ANALYSIS_4'...
   Copying 'SampleAnalyzer' source files...
   Inserting your selection into 'SampleAnalyzer'...
   Writing the list of datasets...
   Writing the command line history...
   Creating Makefiles...
Would you like to edit the Delphes Card ? (Y/N)
Answer: n
   Compiling 'SampleAnalyzer'...
   Linking 'SampleAnalyzer'...
   Running 'SampleAnalyzer' over dataset 'sig'...
    *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.3.2 (2015/11/24)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - fast-simulation package 'delphes'
Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f4cc9b4466a in waitpid () from /usr/lib64/libc.so.6
#1 0x00007f4cc9abfa3b in do_system () from /usr/lib64/libc.so.6
#2 0x00007f4ccdbaa441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#3 0x00007f4ccdbac33c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#4 <signal handler called>
#5 0x00007f4cc3bc47c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f4cc3bc7c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f4ccdb955c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f4ccdb95129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f4ccdb64a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f4ccdb64c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f4cc7723078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f4cc7724139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f4cc940a928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f4cce17dd23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407ced in main ()
===========================================================

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007f4cc3bc47c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f4cc3bc7c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f4ccdb955c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f4ccdb95129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f4ccdb64a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f4ccdb64c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f4cc7723078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f4cc7724139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f4cc940a928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f4cce17dd23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407ced in main ()
===========================================================

 ** ERROR: run over 'sig' aborted.
    *******************************************************
   Running 'SampleAnalyzer' over dataset 'back'...
    *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.3.2 (2015/11/24)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - fast-simulation package 'delphes'
Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f3a6b0a766a in waitpid () from /usr/lib64/libc.so.6
#1 0x00007f3a6b022a3b in do_system () from /usr/lib64/libc.so.6
#2 0x00007f3a6f10d441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#3 0x00007f3a6f10f33c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#4 <signal handler called>
#5 0x00007f3a651277c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f3a6512ac16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f3a6f0f85c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f3a6f0f8129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f3a6f0c7a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f3a6f0c7c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f3a68c86078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f3a68c87139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f3a6a96d928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f3a6f6e0d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407ced in main ()
===========================================================

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007f3a651277c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#6 0x00007f3a6512ac16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
#7 0x00007f3a6f0f85c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#8 0x00007f3a6f0f8129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#9 0x00007f3a6f0c7a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#10 0x00007f3a6f0c7c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
#11 0x00007f3a68c86078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#12 0x00007f3a68c87139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
#13 0x00007f3a6a96d928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
#14 0x00007f3a6f6e0d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
#15 0x0000000000407ced in main ()
===========================================================

 ** ERROR: run over 'back' aborted.
    *******************************************************
   Checking SampleAnalyzer output...
   Extracting data from the output files...
 ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
 ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
 ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
 ** ERROR: Information on the dataset 'sig' are not updated.
 ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
 ** ERROR: Information on the dataset 'sig' are not updated.
 ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
 ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
 ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
 ** ERROR: Information on the dataset 'back' are not updated.
 ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
 ** ERROR: Information on the dataset 'back' are not updated.
   Preparing data for the reports ...
Traceback (most recent call last):
  File "./bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
    interpreter.load(filename)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
    stop = self.onecmd(line)
  File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 260, in do_submit
    self.cmd_submit.do(self.split_arg(line),self.history)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 86, in do
    return self.do_submit(args,history)
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 249, in do_submit
    layout.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/layout.py", line 59, in Initialize
    self.cutflow.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow.py", line 55, in Initialize
    item.Initialize()
  File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow_for_dataset.py", line 98, in Initialize
    self.Nselected_posweight[icut].mean=self.cuts[icut].sumw_pos
IndexError: list index out of range
[subhasish@localhost madanalysis5-v1.3.pre2]$

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

Hi Subhasish,

As I already said, please proceed in two steps.
 1. delphes and generating the root files
 2. their analysis.

Cheers,

Benjamin

On 02 Feb 2016, at 13:13 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #283832 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/283832
>
> Status: Answered => Open
>
> SUBHASISH BEHERA is still having a problem:
> Dear Eric and Benjamin,
> I am getting some more problem even without using the "SBratio"...
>
> But the same script with the same input .hep.gz file I am getting the
> result with all output required by using "ROOTv5" in some other
> computer...
>
> So what could be done in this case and whether I miss some library files
> in my system or in the ROOTv6.05/02 ???? Can you tell me detail of it ?
>
> In the following I have describe the error :
> P.S. : I am using "ROOTv6.05/02".
>
> [subhasish@localhost madanalysis5-v1.3.pre2]$ ./bin/ma5 -R
> ttiikkuu/tik_ma5_codes
>
> *************************************************************
> * *
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * ______ ______ *
> * /'\_/`\/\ __ \/\ ___\ *
> * /\ \ \ \_\ \ \ \__/ *
> * \ \ \__\ \ \ __ \ \___``\ *
> * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> * \ \_\\ \_\ \_\ \_\ \____/ *
> * \/_/ \/_/\/_/\/_/\/___/ *
> * *
> * MA5 release : 1.3.2 2015/11/24 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> * *
> * The MadAnalysis Development Team - Please visit us at *
> * https://launchpad.net/madanalysis5 *
> * *
> * Type 'help' for in-line help. *
> * *
> *************************************************************
> Platform: Linux 4.0.7-300.fc22.x86_64 [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 [OK]
> - Delphes [OK]
> - 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 [OK]
> - MadGraph [DISABLED]
> Checking the MadAnalysis library:
> => MadAnalysis libraries found.
> => MadAnalysis test program works.
> *************************************************************
> Particle labels from input/reco_default.txt
> => 14 particles successfully exported.
> Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
> => 9 multiparticles successfully exported.
> => 9 multiparticles successfully exported.
> Reading commands from '/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/tik_ma5_codes' file ...
> ma5>set main.fastsim.package = delphes
> ma5>set main.fastsim.detector = atlas
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/sg.hep.gz as sig
> -> Storing the file 'sg.hep.gz' in the dataset 'sig'.
> ma5>import /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/ttiikkuu/bg.hep.gz as back
> -> Storing the file 'bg.hep.gz' in the dataset 'back'.
> ma5>set sig.type = signal
> ma5>set back.type = background
> ma5>set sig.xsection = 80.81
> ma5>set back.xsection = 21.54
> ma5>set main.stacking_method = superimpose
> ma5>set main.stacking_method = normalize2one
> ma5>set main.lumi = 3000
> ma5>set main.normalize = lumi
> ma5>select N(j)=4
> ma5>select MET > 80
> ma5>select PT(j[1])>130
> ma5>select PT(j[2])>60
> ma5>select PT(j[3])>40
> ma5>select PT(j[4])>40
> ma5>plot MET
> ma5>submit
> Creating folder 'ANALYSIS_4'...
> Copying 'SampleAnalyzer' source files...
> Inserting your selection into 'SampleAnalyzer'...
> Writing the list of datasets...
> Writing the command line history...
> Creating Makefiles...
> Would you like to edit the Delphes Card ? (Y/N)
> Answer: n
> Compiling 'SampleAnalyzer'...
> Linking 'SampleAnalyzer'...
> Running 'SampleAnalyzer' over dataset 'sig'...
> *******************************************************
> * SampleAnalyzer for MadAnalysis 5 - Welcome.
> * Initializing all components
> - version: 1.3.2 (2015/11/24)
> - general: everything is default.
> - extracting the list of event samples...
> - analyzer 'MadAnalysis5job'
> - fast-simulation package 'delphes'
> Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
> Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.
>
> *** Break *** segmentation violation
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0 0x00007f4cc9b4466a in waitpid () from /usr/lib64/libc.so.6
> #1 0x00007f4cc9abfa3b in do_system () from /usr/lib64/libc.so.6
> #2 0x00007f4ccdbaa441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #3 0x00007f4ccdbac33c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #4 <signal handler called>
> #5 0x00007f4cc3bc47c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f4cc3bc7c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f4ccdb955c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f4ccdb95129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f4ccdb64a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f4ccdb64c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f4cc7723078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f4cc7724139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f4cc940a928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f4cce17dd23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407ced in main ()
> ===========================================================
>
>
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5 0x00007f4cc3bc47c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f4cc3bc7c16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f4ccdb955c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f4ccdb95129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f4ccdb64a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f4ccdb64c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f4cc7723078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f4cc7724139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f4cc940a928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f4cce17dd23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407ced in main ()
> ===========================================================
>
>
> ** ERROR: run over 'sig' aborted.
> *******************************************************
> Running 'SampleAnalyzer' over dataset 'back'...
> *******************************************************
> * SampleAnalyzer for MadAnalysis 5 - Welcome.
> * Initializing all components
> - version: 1.3.2 (2015/11/24)
> - general: everything is default.
> - extracting the list of event samples...
> - analyzer 'MadAnalysis5job'
> - fast-simulation package 'delphes'
> Error in <TCling::RegisterModule>: cannot find dictionary module ClassesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ExRootAnalysisDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module ModulesDict_rdict.pcm
> Error in <TCling::RegisterModule>: cannot find dictionary module FastJetDict_rdict.pcm
> Error in <TClass::LoadClassInfo>: no interpreter information for class LHEFEvent is available eventhough it has a TClass initialization routine.
>
> *** Break *** segmentation violation
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0 0x00007f3a6b0a766a in waitpid () from /usr/lib64/libc.so.6
> #1 0x00007f3a6b022a3b in do_system () from /usr/lib64/libc.so.6
> #2 0x00007f3a6f10d441 in TUnixSystem::StackTrace() () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #3 0x00007f3a6f10f33c in TUnixSystem::DispatchSignals(ESignals) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #4 <signal handler called>
> #5 0x00007f3a651277c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f3a6512ac16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f3a6f0f85c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f3a6f0f8129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f3a6f0c7a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f3a6f0c7c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f3a68c86078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f3a68c87139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f3a6a96d928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f3a6f6e0d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407ced in main ()
> ===========================================================
>
>
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5 0x00007f3a651277c0 in TClingClassInfo::IsValid() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #6 0x00007f3a6512ac16 in TClingClassInfo::ClassProperty() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCling.so
> #7 0x00007f3a6f0f85c3 in TClass::Property() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #8 0x00007f3a6f0f8129 in TClass::IsTObject() const () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #9 0x00007f3a6f0c7a7f in TClonesArray::SetClass(TClass const*, int) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #10 0x00007f3a6f0c7c18 in TClonesArray::TClonesArray(TClass const*, int, bool) () from /home/users/rs/subhasish/Research/PACKAGE_USE/root-6.05.02/lib/libCore.so
> #11 0x00007f3a68c86078 in ExRootTreeBranch::ExRootTreeBranch(char const*, TClass*, TTree*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #12 0x00007f3a68c87139 in ExRootTreeWriter::NewBranch(char const*, TClass*) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/delphes/libDelphes.so
> #13 0x00007f3a6a96d928 in MA5::DetectorDelphes::Initialize(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libdelphes_for_ma5.so
> #14 0x00007f3a6f6e0d23 in MA5::SampleAnalyzer::InitializeDetector(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> #15 0x0000000000407ced in main ()
> ===========================================================
>
>
> ** ERROR: run over 'back' aborted.
> *******************************************************
> Checking SampleAnalyzer output...
> Extracting data from the output files...
> ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
> ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
> ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
> ** ERROR: Information on the dataset 'sig' are not updated.
> ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
> ** ERROR: Information on the dataset 'sig' are not updated.
> ** ERROR: SAF header <SAFheader> and </SAFheader> is not found.
> ** ERROR: SAF footer <SAFfooter> and </SAFfooter> is not found.
> ** ERROR: Information corresponding to the block <SampleGlobalInfo> is not found.
> ** ERROR: Information on the dataset 'back' are not updated.
> ** ERROR: Information corresponding to the block <SampleDetailInfo> is not found.
> ** ERROR: Information on the dataset 'back' are not updated.
> Preparing data for the reports ...
> Traceback (most recent call last):
> File "./bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 325, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/core/launcher.py", line 228, in MainSession
> interpreter.load(filename)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter_base.py", line 68, in load
> stop = self.onecmd(line)
> File "/usr/lib64/python2.7/cmd.py", line 221, in onecmd
> return func(arg)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/interpreter.py", line 260, in do_submit
> self.cmd_submit.do(self.split_arg(line),self.history)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 86, in do
> return self.do_submit(args,history)
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/interpreter/cmd_submit.py", line 249, in do_submit
> layout.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/layout.py", line 59, in Initialize
> self.cutflow.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow.py", line 55, in Initialize
> item.Initialize()
> File "/home/users/rs/subhasish/Research/PACKAGE_USE/madanalysis5-v1.3.pre2/madanalysis/layout/cutflow_for_dataset.py", line 98, in Initialize
> self.Nselected_posweight[icut].mean=self.cuts[icut].sumw_pos
> IndexError: list index out of range
> [subhasish@localhost madanalysis5-v1.3.pre2]$
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

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

Thanks Benjamin Fuks, that solved my question.