analysis/particleWeighting.py

=== stdout of analysis/tests/particleWeighting.py ===
[INFO] Steering file: /data/b2soft/buildbot/development/releases/current/analysis/tests/particleWeighting.py
[INFO] Starting event processing, random seed is set to '6797ab96d15de7698392d9b37d360dcef1b21d8bef3e6223e28053bf8f3abef'
[INFO] Printing LookUp table
[INFO] Printing axis p
[INFO] |          1          ||          2          ||          3          |
[INFO] |0.000000  |2.000000  ||2.000000  |3.000000  ||3.000000  |4.000000  |
[INFO] Printing axis pz
[INFO] |          1          ||          2          |
[INFO] |0.000000  |1.000000  ||1.000000  |5.000000  |
[INFO] Bin map 
 <'p' bin;'pz' bin;> : 
[INFO] 1; 1;  : 1
[INFO] 1; 2;  : 2
[INFO] 2; 1;  : 3
[INFO] 2; 2;  : 4
[INFO] 3; 1;  : 5
[INFO] 3; 2;  : 6
[INFO] Printing the table
[INFO] Out of range bin -1 : StatErr -1.000000 ; SystErr -1.000000 ; Weight -1.000000 ; 
[INFO] Bin 1 : StatErr 1.650000 ; SystErr 10.000000 ; Weight 0.360000 ; binID 1.000000 ; 
[INFO] Bin 2 : StatErr 1.410000 ; SystErr 10.000000 ; Weight 0.240000 ; binID 2.000000 ; 
[INFO] Bin 3 : StatErr 1.450000 ; SystErr 10.000000 ; Weight 0.750000 ; binID 3.000000 ; 
[INFO] Bin 4 : StatErr 1.450000 ; SystErr 10.000000 ; Weight 0.980000 ; binID 4.000000 ; 
[INFO] Bin 5 : StatErr 1.190000 ; SystErr 10.000000 ; Weight 0.480000 ; binID 5.000000 ; 
[INFO] Bin 6 : StatErr 1.330000 ; SystErr 10.000000 ; Weight 1.000000 ; binID 6.000000 ; 
[INFO] Conditions Database: found working server
	url = http://belle2db.sdcc.bnl.gov/b2s/rest/
[INFO] Conditions data: configured globaltag is main_2023-09-18
[INFO] Conditions data: configured to use testing payloads
	location = localdb/database.txt
[WARNING] Conditions data: configured to look for temporary testing payloads from one or more local folders.

    This will lead to non-reproducible results and is strictly only for testing purposes.
    It is NOT ALLOWED for official productions or data analysis and any results obtained like this WILL NOT BE PUBLISHED.
    { module: ParticleWeightingLookUpCreator }
[INFO] Printing LookUp table
[INFO] Printing axis p
[INFO] |          1          ||          2          ||          3          |
[INFO] |0.000000  |2.000000  ||2.000000  |3.000000  ||3.000000  |4.000000  |
[INFO] Printing axis pz
[INFO] |          1          ||          2          |
[INFO] |0.000000  |1.000000  ||1.000000  |5.000000  |
[INFO] Bin map 
 <'p' bin;'pz' bin;> : 
[INFO] 1; 1;  : 43
[INFO] 1; 2;  : 44
[INFO] 2; 1;  : 45
[INFO] 2; 2;  : 46
[INFO] 3; 1;  : 46
[INFO] 3; 2;  : 46
[INFO] Printing the table
[INFO] Out of range bin -1 : StatErr -1.000000 ; SystErr -1.000000 ; Weight -1.000000 ; 
[INFO] Bin 43 : StatErr 1.160000 ; SystErr 10.000000 ; Weight 0.050000 ; binID 43.000000 ; 
[INFO] Bin 44 : StatErr 1.830000 ; SystErr 10.000000 ; Weight 0.240000 ; binID 44.000000 ; 
[INFO] Bin 45 : StatErr 1.160000 ; SystErr 10.000000 ; Weight 0.860000 ; binID 45.000000 ; 
[INFO] Bin 46 : StatErr 1.680000 ; SystErr 10.000000 ; Weight 0.100000 ; binID 46.000000 ; 
[INFO] ===Error Summary================================================================
[WARNING] Conditions data: configured to look for temporary testing payloads from one or more local folders.

    This will lead to non-reproducible results and is strictly only for testing purposes.
    It is NOT ALLOWED for official productions or data analysis and any results obtained like this WILL NOT BE PUBLISHED.
    { module: ParticleWeightingLookUpCreator }
[INFO] ================================================================================
[WARNING] in total, 1 warnings occurred during processing
[RESULT] Weights are created and loaded to DB
[INFO] Starting event processing, random seed is set to '6797ab96d15de7698392d9b37d360dcef1b21d8bef3e6223e28053bf8f3abef'
[WARNING] Calling process() more than once per steering file is still experimental, please check results carefully! Python modules especially should reinitialise their state in initialise() to avoid problems
[INFO] Added file /data/b2soft/buildbot/development/releases/current/analysis/tests/mdst.root
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: pi+:gen (pi-:gen)
[INFO]    -> MDST source: MCParticles
[INFO] Conditions Database: found working server
	url = http://belle2db.sdcc.bnl.gov/b2s/rest/
[ERROR] Conditions Database: Cannot download information on global tag. Usually this means it doesn't exist and you misspelled the name
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	globaltag = Legacy_CollisionAxisCMS  { module: ParticleWeighting }
[FATAL] Conditions data: Problems with globaltag configuration, cannot continue  { module: ParticleWeighting function: void Belle2::Database::nextMetadataProvider() }
[INFO] ===Error Summary================================================================
[FATAL] Conditions data: Problems with globaltag configuration, cannot continue  { module: ParticleWeighting }
[ERROR] Conditions Database: Cannot download information on global tag. Usually this means it doesn't exist and you misspelled the name
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	globaltag = Legacy_CollisionAxisCMS  { module: ParticleWeighting }
[INFO] ================================================================================
[ERROR] in total, 1 errors occurred during processing
=== stderr of analysis/tests/particleWeighting.py ===
Error in : file /tmp/tmp_srb2ss0/particleWeighting.root does not exist
Traceback (most recent call last):
  File "/data/b2soft/buildbot/development/releases/current/analysis/tests/particleWeighting.py", line 203, in 
    check(ntupleName, treeName)
  File "/data/b2soft/buildbot/development/releases/current/analysis/tests/particleWeighting.py", line 47, in check
    ntuplefile = TFile(ntupleName)
  File "/cvmfs/belle.cern.ch/el7/externals/v02-00-01/Linux_x86_64/common/root/lib/ROOT/pythonization/_tfile.py", line 55, in _TFileConstructor
    raise OSError('Failed to open file {}'.format(args[0]))
OSError: Failed to open file particleWeighting.root
=== end analysis/tests/particleWeighting.py ===