analysis/graFEI_examples.py

=== stdout of analysis/tests/graFEI_examples.py ===
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/tests/graFEI_examples.py
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/examples/GraFEI/graFEI_ntupliser_B.py

                                                  ____  ____    _      ____  ____  _
                                                  |  _  |__|   /_\     |___  |___  |
                                                  |__|  |  \  /   \    |     |___  |

                                o
                               / \
                              /   \                             x-----x                        _      _
                             /     \            |-----\         |\   /|        |-----\        |0 1 3 3 5|
                            o       \           |----- \        | \ / |        |----- \       |1 0 3 3 5|
                           / \       \          |----- /        |  x  |        |----- /       |3 3 0 1 5|
                          /   \       \         |-----/         | / \ |        |-----/        |3 3 1 0 5|
                         /     \       \                        |/   \|                       |5 5 5 5 0|
                        o       o       \                       x-----x                         ̄       ̄
                       / \     / \       \
                      x   x   x   x       x

      Authors: Jacopo Cerasoli, Giulio Dujany, Lucas Martel, Corentin Santos. 2022 - 2024
      Model description: https://indico.cern.ch/event/1106990/papers/4996235/files/12252-ACAT_2022_proceedings.pdf
      Based on the work of Kahn et al: https://iopscience.iop.org/article/10.1088/2632-2153/ac8de0
      Please consider citing both articles.
      Code adapted from https://github.com/Helmholtz-AI-Energy/BaumBauen
      
[INFO] The random number seed is set to "42"
[INFO] Starting event processing, random seed is set to '42'
[INFO] Added file /belle2/validation-data/mdst16.root
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: gamma:all
[INFO]    -> MDST source: ECLClusters and KLMClusters
[INFO] ParticleSelector: gamma:all
[INFO]    -> With cuts  : isFromECL
[INFO] Conditions Database: found working metadata provider
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/
[INFO] Conditions data: configured globaltags (highest priority first) are analysis_tools_light-2403-persian, analysis_tools_light-2505-deimos, release-08-00-09
[ERROR] Conditions Database: Problem parsing payload information.
	globaltag = analysis_tools_light-2403-persian
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	error = Operation too slow. Less than 10240 bytes/sec transferred the last 60 seconds  { module: MVAExpert }
[WARNING] Conditions data: Problem with payload metadata provider, trying to fall back to next provider...
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/  { module: MVAExpert }
[INFO] Conditions Database: found working metadata provider
	provider = /cvmfs/belle.cern.ch/conditions/database.sqlite
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: K+:all (K-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: K+:loose
[INFO]    -> With cuts  : kaonID > 0.1 and thetaInCDCAcceptance and nCDCHits>20 and dr < 0.5 and abs(dz) < 2
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: pi+:all (pi-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: pi+:loose
[INFO]    -> With cuts  : pionID > 0.1 and thetaInCDCAcceptance and nCDCHits>20 and dr < 0.5 and abs(dz) < 2
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: mu+:all (mu-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: mu+:tight
[INFO]    -> With cuts  : abs(dz)<2 and dr<0.5 and nCDCHits>20 and thetaInCDCAcceptance and pt>0.6 and E<5.5 and muonID_noSVD>0.9
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: pi+:all (pi-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: pi+:all (pi-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: pi+:mostlikely_roe
[INFO]    -> With cuts  : pidIsMostLikely() > 0 and thetaInCDCAcceptance and nCDCHits>20
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: K+:all (K-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: K+:mostlikely_roe
[INFO]    -> With cuts  : pidIsMostLikely() > 0 and thetaInCDCAcceptance and nCDCHits>20
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: p+:all (anti-p-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: p+:mostlikely_roe
[INFO]    -> With cuts  : pidIsMostLikely() > 0 and thetaInCDCAcceptance and nCDCHits>20
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: e+:all (e-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: e+:mostlikely_roe
[INFO]    -> With cuts  : pidIsMostLikely() > 0 and thetaInCDCAcceptance and nCDCHits>20
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: mu+:all (mu-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: mu+:mostlikely_roe
[INFO]    -> With cuts  : pidIsMostLikely() > 0 and thetaInCDCAcceptance and nCDCHits>20
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: gamma:all
[INFO]    -> MDST source: ECLClusters and KLMClusters
[INFO] ParticleSelector: gamma:all
[INFO]    -> With cuts  : isFromECL
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: K_L0:all
[INFO]    -> MDST source: exclusively KLMClusters or exclusively ECLClusters (matching between those not used)
[INFO] ParticleSelector: K_L0:roe_default
[INFO]    -> With cuts  : isFromKLM > 0
[INFO] RestOfEventInterpreter added ROEMask with specific fractions under name 'csMask' with track cuts: nCDCHits > 0 and useCMSFrame(p)<=3.2 and eclCluster cuts: p >= 0.05 and useCMSFrame(p)<=3.2
[INFO] RestOfEventInterpreter added ROEMask with specific fractions under name 'basicMask' with track cuts: pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>0 and thetaInCDCAcceptance and abs(dz)<4 and dr<2 and eclCluster cuts: inCDCAcceptance and clusterErrorTiming<1e6 and [clusterE1E9>0.4 or E>0.075] and [[clusterReg == 1 and E > 0.05] or [clusterReg == 2 and E > 0.05] or [clusterReg == 3 and E > 0.075]]
[INFO] ParticleSelector: B0:sig
[INFO]    -> With cuts  : cosTBz<0.9
[INFO] Number of ParticleLists studied 1 
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList B0:sig.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B0:forTM (anti-B0:forTM)
[INFO]    -> MDST source: RestOfEvents
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList B0:forTM.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] RestOfEventInterpreter added ROEMask with specific fractions under name 'graFEIROE' with track cuts: pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2 and eclCluster cuts: beamBackgroundSuppression>0.4 and fakePhotonSuppression>0.3 and abs(clusterTiming)<100 and abs(formula(clusterTiming/clusterErrorTiming))<2.0 and [[clusterReg==1 and E>0.09] or [clusterReg==2 and E>0.09] or [clusterReg==3 and E>0.14]] and inCDCAcceptance and [clusterErrorTiming < 1e6 and [clusterE1E9 > 0.4 or E > 0.075]]
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B0:tag (anti-B0:tag)
[INFO]    -> MDST source: RestOfEvents
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList B0:tag.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: Upsilon(4S):MC
[INFO]    -> MDST source: MCParticles
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B0:MC (anti-B0:MC)
[INFO]    -> MDST source: MCParticles
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B+:MC (B-:MC)
[INFO]    -> MDST source: MCParticles
[FATAL] 1 ERROR(S) occurred! The processing of events will not be started.  { function: void Belle2::EventProcessor::process(const Belle2::PathPtr&, long int) }
[INFO] ===Error Summary================================================================
[FATAL] 1 ERROR(S) occurred! The processing of events will not be started.
[ERROR] Conditions Database: Problem parsing payload information.
	globaltag = analysis_tools_light-2403-persian
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	error = Operation too slow. Less than 10240 bytes/sec transferred the last 60 seconds  { module: MVAExpert }
[WARNING] Conditions data: Problem with payload metadata provider, trying to fall back to next provider...
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/  { module: MVAExpert }
[INFO] ================================================================================
[ERROR] in total, 1 errors occurred during processing
[WARNING] in total, 1 warnings occurred during processing
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/examples/GraFEI/graFEI_ntupliser_Upsilon.py

                                                  ____  ____    _      ____  ____  _
                                                  |  _  |__|   /_\     |___  |___  |
                                                  |__|  |  \  /   \    |     |___  |

                                o
                               / \
                              /   \                             x-----x                        _      _
                             /     \            |-----\         |\   /|        |-----\        |0 1 3 3 5|
                            o       \           |----- \        | \ / |        |----- \       |1 0 3 3 5|
                           / \       \          |----- /        |  x  |        |----- /       |3 3 0 1 5|
                          /   \       \         |-----/         | / \ |        |-----/        |3 3 1 0 5|
                         /     \       \                        |/   \|                       |5 5 5 5 0|
                        o       o       \                       x-----x                         ̄       ̄
                       / \     / \       \
                      x   x   x   x       x

      Authors: Jacopo Cerasoli, Giulio Dujany, Lucas Martel, Corentin Santos. 2022 - 2024
      Model description: https://indico.cern.ch/event/1106990/papers/4996235/files/12252-ACAT_2022_proceedings.pdf
      Based on the work of Kahn et al: https://iopscience.iop.org/article/10.1088/2632-2153/ac8de0
      Please consider citing both articles.
      Code adapted from https://github.com/Helmholtz-AI-Energy/BaumBauen
      
[INFO] The random number seed is set to "42"
[INFO] Starting event processing, random seed is set to '42'
[INFO] Added file /belle2/validation-data/mdst16.root
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: p+:all (anti-p-:all)
[INFO]    -> MDST source: Tracks
[INFO]  o) creating (anti-)ParticleList with name: e+:all (e-:all)
[INFO]    -> MDST source: Tracks
[INFO]  o) creating (anti-)ParticleList with name: pi+:all (pi-:all)
[INFO]    -> MDST source: Tracks
[INFO]  o) creating (anti-)ParticleList with name: mu+:all (mu-:all)
[INFO]    -> MDST source: Tracks
[INFO]  o) creating (anti-)ParticleList with name: K+:all (K-:all)
[INFO]    -> MDST source: Tracks
[INFO] ParticleSelector: p+:final
[INFO]    -> With cuts  : pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2
[INFO] ParticleSelector: e+:final
[INFO]    -> With cuts  : pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2
[INFO] ParticleSelector: pi+:final
[INFO]    -> With cuts  : pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2
[INFO] ParticleSelector: mu+:final
[INFO]    -> With cuts  : pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2
[INFO] ParticleSelector: K+:final
[INFO]    -> With cuts  : pidIsMostLikely(0.068,0.05,0.7326,0.1315,0.0183,6e-05)>0 and nCDCHits>20 and thetaInCDCAcceptance and abs(dz)<1.0 and dr<0.5 and p<5 and pt>0.2
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: gamma:all
[INFO]    -> MDST source: ECLClusters and KLMClusters
[INFO] ParticleSelector: gamma:cdc
[INFO]    -> With cuts  : inCDCAcceptance
[INFO] ParticleSelector: gamma:cdc
[INFO]    -> With cuts  : isFromECL
[INFO] Conditions Database: found working metadata provider
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/
[INFO] Conditions data: configured globaltags (highest priority first) are analysis_tools_light-2403-persian, analysis_tools_light-2505-deimos, release-08-00-09
[ERROR] Conditions Database: Problem parsing payload information.
	globaltag = analysis_tools_light-2403-persian
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	error = Operation too slow. Less than 10240 bytes/sec transferred the last 60 seconds  { module: MVAExpert }
[WARNING] Conditions data: Problem with payload metadata provider, trying to fall back to next provider...
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/  { module: MVAExpert }
[INFO] Conditions Database: found working metadata provider
	provider = /cvmfs/belle.cern.ch/conditions/database.sqlite
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList Upsilon(4S):final.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating ParticleList with name: Upsilon(4S):MC
[INFO]    -> MDST source: MCParticles
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B0:MC (anti-B0:MC)
[INFO]    -> MDST source: MCParticles
[INFO] ParticleLoader's Summary of Actions:
[INFO]  o) creating (anti-)ParticleList with name: B+:MC (B-:MC)
[INFO]    -> MDST source: MCParticles
[WARNING] Your decay string Upsilon(4S):charged -> B+:Bsgn B+:Btag violates electric charge conservation!
Processing is continued assuming that you allowed this deliberately, e.g. for systematic studies etc.  { module: ParticleCombiner_Upsilon(4S):charged -> B+:Bsgn B+:Btag }
[INFO] Number of ParticleLists studied 1 
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList B+:Bsgn.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList B-:Btag.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[INFO] MCMatcher module will search for Particle -> MCParticle associations for the ParticleList Upsilon(4S):graFEI.
[INFO]   - The MCMatcher will use default algorithm suitable for analysis of Belle II MC.
[FATAL] 1 ERROR(S) occurred! The processing of events will not be started.  { function: void Belle2::EventProcessor::process(const Belle2::PathPtr&, long int) }
[INFO] ===Error Summary================================================================
[FATAL] 1 ERROR(S) occurred! The processing of events will not be started.
[ERROR] Conditions Database: Problem parsing payload information.
	globaltag = analysis_tools_light-2403-persian
	server url = http://belle2db.sdcc.bnl.gov/b2s/rest/
	error = Operation too slow. Less than 10240 bytes/sec transferred the last 60 seconds  { module: MVAExpert }
[WARNING] Your decay string Upsilon(4S):charged -> B+:Bsgn B+:Btag violates electric charge conservation!
Processing is continued assuming that you allowed this deliberately, e.g. for systematic studies etc.  { module: ParticleCombiner_Upsilon(4S):charged -> B+:Bsgn B+:Btag }
[WARNING] Conditions data: Problem with payload metadata provider, trying to fall back to next provider...
	provider = http://belle2db.sdcc.bnl.gov/b2s/rest/  { module: MVAExpert }
[INFO] ================================================================================
[ERROR] in total, 1 errors occurred during processing
[WARNING] in total, 2 warnings occurred during processing
=== stderr of analysis/tests/graFEI_examples.py ===
FF
======================================================================
FAIL: test_grafei_examples (__main__.ExamplesTest.test_grafei_examples) [graFEI_ntupliser_B.py]
Test supported GraFEI examples.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/b2soft/buildbot/light/build/lib/Linux_x86_64/opt/b2test_utils_analysis.py", line 53, in _test_examples_dir
    self.assertEqual(result.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: test_grafei_examples (__main__.ExamplesTest.test_grafei_examples) [graFEI_ntupliser_Upsilon.py]
Test supported GraFEI examples.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/b2soft/buildbot/light/build/lib/Linux_x86_64/opt/b2test_utils_analysis.py", line 53, in _test_examples_dir
    self.assertEqual(result.returncode, 0)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 1 test in 152.017s

FAILED (failures=2)
=== end analysis/tests/graFEI_examples.py ===