Skip to content

RapidSim not executing sanity checks? #73

Description

@acampove

Hi,

My config looks like:

geometry: 4pi
paramsStable : P, PT, eta
energy: 13.6

and I use the decay:

Bs0 -> { phi -> e+ e-} K+

Which shows me:

INFO in rapidSim : environment variable RAPIDSIM_CONFIG is set
                   Settings in /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles will be used
INFO in RapidConfig::loadDecay : loading decay descriptor from file: /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles/bsphiee.decay
INFO in RapidConfig::loadDecay : Decay descriptor is:
                                 Bs0 -> { phi -> e+ e- } K+
INFO in RapidParticleData::loadData : loading particle data from /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles/config/particles.dat
INFO in RapidParticleData::loadData : loading particle data from /home/acampove/.local/config/particles.dat
INFO in RapidConfig::loadDecay : Found sub-decay:
                                 phi -> e+ e-
INFO in RapidConfig::loadDecay : Parent has beauty.
                                 setting b-quark kinematics.
INFO in RapidConfig::loadConfig : attempting to load configuration from file: /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles/bsphiee.config
INFO in RapidConfig::configGlobal : setting detector geometry type to 4pi.
INFO in RapidConfig::configGlobal : will use the following parameters for all stable particles:
                                    P, PT, eta.
INFO in RapidConfig::configGlobal : pp CoM energy set to be 13.6 TeV.
INFO in RapidConfig::loadConfig : finished loading configuration.
[#1] INFO:NumericIntegration -- RooRealIntegral::init(phi_0_Int[mphi_0]) using numeric integrator RooIntegrator1D to calculate Int(mphi_0)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(phi_0_Int[mphi_0]) using numeric integrator RooIntegrator1D to calculate Int(mphi_0)
INFO in RapidDecay::setup : Particle summary follows:
index	label		   ID		mass (GeV/c^2)	parent		# children	children
  0	Bs0_0          	   531		5.366770	---            	 2		phi_0, Kp_0    
  1	phi_0          	   333		1.019461	Bs0_0          	 2		ep_0, em_0     
  2	Kp_0           	   321		0.493677	Bs0_0          	 0		---            
  3	ep_0           	   -11		0.000511	phi_0          	 0		---            
  4	em_0           	    11		0.000511	phi_0          	 0		---            
Error in <TFile::TFile>: file /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles/rootfiles/fonll/LHCb13.6.root does not exist
INFO in RapidConfig::loadParentKinematics : kinematics LHCb13.6 not found in RAPIDSIM_CONFIG.
                                            checking RAPIDSIM_ROOT.
Error in <TFile::TFile>: file /home/acampove/.local/rootfiles/fonll/LHCb13.6.root does not exist
ERROR in RapidConfig::loadParentKinematics : unknown kinematics b-quark from 13.6 TeV pp collision.
                                             file /home/acampove/.local/rootfiles/fonll/LHCb13.6.root not found.
ERROR in rapidSim : failed to setup decay for decay mode /home/acampove/Packages/rx_efficiencies/src/rx_efficiencies_data/prec_decfiles/bsphiee
                    Terminating

and I see two issues here:

  • There is no 13.6TeV config for Run3 yet. Fine I will move to 14 TeV.
  • I am asking RapidSim to use a nonsensical decay and RapidSim seems to be fine with it, I ended up with an ntuple. I would expect an exception been risen here.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions