Project
Loading...
Searching...
No Matches
test_EventDecayer.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <Generators/EventDecayer.h>
#include <Generators/EventDecayerParam.h>
#include <SimulationDataFormat/MCUtils.h>
#include <SimulationDataFormat/MCGenProperties.h>
#include <SimulationDataFormat/ParticleStatus.h>
#include <SimulationDataFormat/O2DatabasePDG.h>
#include <CommonUtils/ConfigurableParam.h>
#include <TParticle.h>
#include <TRandom.h>
#include <TMCProcess.h>
#include <cmath>
#include <fstream>
#include <string>
#include <unistd.h>
#include <vector>

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Test EventDecayer class
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (xic_to_xistar_chain)
 
 BOOST_AUTO_TEST_CASE (antiparticle_chain)
 
 BOOST_AUTO_TEST_CASE (proper_decay_length)
 
 BOOST_AUTO_TEST_CASE (xistar_charge_split)
 
 BOOST_AUTO_TEST_CASE (strange_baryons_stay)
 
 BOOST_AUTO_TEST_CASE (nothing_to_decay)
 
 BOOST_AUTO_TEST_CASE (not_tobedone_untouched)
 
 BOOST_AUTO_TEST_CASE (second_pass_is_noop)
 
 BOOST_AUTO_TEST_CASE (weight_propagates)
 
 BOOST_AUTO_TEST_CASE (ions_and_unknown_to_pythia)
 
 BOOST_AUTO_TEST_CASE (impossible_decay)
 
 BOOST_AUTO_TEST_CASE (vertex_limits_refused)
 
 BOOST_AUTO_TEST_CASE (pdg_check)
 
 BOOST_AUTO_TEST_CASE (lifetime_mismatch)
 
 BOOST_AUTO_TEST_CASE (units_mm_and_mmc)
 
 BOOST_AUTO_TEST_CASE (seeding)
 
bool isPartonic (int pdg)
 
 BOOST_AUTO_TEST_CASE (partonic_decay_never_transports_partons)
 
 BOOST_AUTO_TEST_CASE (failed_intermediate_decay_fails)
 
 BOOST_AUTO_TEST_CASE (config_fallback_to_decayerpythia8)
 
 BOOST_AUTO_TEST_CASE (tau0max_leaves_long_lived)
 
 BOOST_AUTO_TEST_CASE (skip_pdg)
 
 BOOST_AUTO_TEST_CASE (units_momentum_and_energy)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 14 of file test_EventDecayer.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 13 of file test_EventDecayer.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test EventDecayer class

Definition at line 12 of file test_EventDecayer.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/22]

BOOST_AUTO_TEST_CASE ( antiparticle_chain  )

Definition at line 236 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/22]

BOOST_AUTO_TEST_CASE ( config_fallback_to_decayerpythia8  )

Definition at line 551 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/22]

BOOST_AUTO_TEST_CASE ( failed_intermediate_decay_fails  )

Definition at line 537 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/22]

BOOST_AUTO_TEST_CASE ( impossible_decay  )

Definition at line 368 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/22]

BOOST_AUTO_TEST_CASE ( ions_and_unknown_to_pythia  )

Definition at line 355 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/22]

BOOST_AUTO_TEST_CASE ( lifetime_mismatch  )

Definition at line 426 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/22]

BOOST_AUTO_TEST_CASE ( not_tobedone_untouched  )

Definition at line 317 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/22]

BOOST_AUTO_TEST_CASE ( nothing_to_decay  )

Definition at line 303 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/22]

BOOST_AUTO_TEST_CASE ( partonic_decay_never_transports_partons  )

Definition at line 515 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/22]

BOOST_AUTO_TEST_CASE ( pdg_check  )

Definition at line 407 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/22]

BOOST_AUTO_TEST_CASE ( proper_decay_length  )

Definition at line 251 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/22]

BOOST_AUTO_TEST_CASE ( second_pass_is_noop  )

Definition at line 329 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [13/22]

BOOST_AUTO_TEST_CASE ( seeding  )

Definition at line 475 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [14/22]

BOOST_AUTO_TEST_CASE ( skip_pdg  )

Definition at line 636 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [15/22]

BOOST_AUTO_TEST_CASE ( strange_baryons_stay  )

Definition at line 288 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [16/22]

BOOST_AUTO_TEST_CASE ( tau0max_leaves_long_lived  )

Definition at line 587 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [17/22]

BOOST_AUTO_TEST_CASE ( units_mm_and_mmc  )

Definition at line 439 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [18/22]

BOOST_AUTO_TEST_CASE ( units_momentum_and_energy  )

Definition at line 687 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [19/22]

BOOST_AUTO_TEST_CASE ( vertex_limits_refused  )

Definition at line 385 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [20/22]

BOOST_AUTO_TEST_CASE ( weight_propagates  )

Definition at line 341 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [21/22]

BOOST_AUTO_TEST_CASE ( xic_to_xistar_chain  )

Definition at line 147 of file test_EventDecayer.cxx.

◆ BOOST_AUTO_TEST_CASE() [22/22]

BOOST_AUTO_TEST_CASE ( xistar_charge_split  )

Definition at line 268 of file test_EventDecayer.cxx.

◆ isPartonic()

bool isPartonic ( int  pdg)

Definition at line 508 of file test_EventDecayer.cxx.