6 <contact>P. Urquijo phillip.urquijo@unimelb.edu.au</contact>
7 <output>../Validate_B2VV.root</output>
12 from generators
import add_evtgen_generator
13 from modularAnalysis
import findMCDecay
14 from variables
import variables
17 basf2.set_random_seed(
'B+ => [rho0 -> pi+ pi-] [rho+ -> pi0 pi+]')
19 variables.addAlias(
'cosThetaRhoZ',
'cosHelicityAngle(0, 0)')
20 variables.addAlias(
'cosThetaRhoP',
'cosHelicityAngle(1, 1)')
21 variables.addAlias(
'planarAngle',
'cosAcoplanarityAngle(0, 0)')
24 path.add_module(
'EventInfoSetter', evtNumList=[10000])
25 add_evtgen_generator(path,
'signal', basf2.find_file(
'decfiles/dec/Bu_rho0rho+.dec'))
26 findMCDecay(
'B+:sig',
'B+ -> [rho0 -> pi+ pi-] [rho+ -> pi0 pi+]', path=path)
27 create_validation_histograms(
28 path,
'../Validate_B2VV.root',
'B+:sig',
30 (
'cosThetaRhoZ', 50, -1.2, 1.2,
'',
'P. Urquijo <phillip.urquijo@unimelb.edu.au>',
31 r'B2VV helicity angle of the $\rho^0 \to \pi^+ \pi^-$ in $B^+ \to \rho^0 \rho^+$ (truth values)',
32 'should follow the reference',
'cos#theta_{helicity}(V1)'),
33 (
'cosThetaRhoP', 50, -1.2, 1.2,
'',
'P. Urquijo <phillip.urquijo@unimelb.edu.au>',
34 r'B2VV helicity angle of the $\rho^+ \to \pi^0 \pi^+$ in $B^+ \to \rho^0 \rho^+$ (truth values)',
35 'should follow the reference',
'cos#theta_{helicity}(V1)'),
36 (
'planarAngle', 50, -3.2, 3.2,
'',
'P. Urquijo <phillip.urquijo@unimelb.edu.au>',
37 r'B2VV planar angle of the $B^+ \to \rho^0 \rho^+$ (truth values)',
38 'should follow the reference',
'#chi (planar angle)'),
40 description=
'B2VV Validation to check generator level distributions',