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