6 <input>12160400.udst.root</input>
7 <output>inclusiveBplusToKplusNuNu_Validation.root</output>
8 <contact>cyrille.praz@desy.de</contact>
11 __author__ =
"Cyrille Praz"
14 import modularAnalysis
as ma
15 from variables
import variables
18 histogram_filename =
'inclusiveBplusToKplusNuNu_Validation.root'
21 my_email =
'Cyrille Praz <cyrille.praz@desy.de>'
25 ma.inputMdst(
'default',
'12160400.udst.root', path=path)
28 ma.buildEventShape(inputListNames=[],
34 harmonicMoments=
False,
38 checkForDuplicates=
False,
42 track_cleanup =
'pt > 0.1'
43 track_cleanup +=
' and thetaInCDCAcceptance'
44 track_cleanup +=
' and abs(dz) < 3.0'
45 track_cleanup +=
' and abs(dr) < 0.5'
48 variables.addAlias(
'kaon_pt',
'daughter(0,pt)')
49 variables.addAlias(
'nCleanedTracks_simple_cleanup',
'nCleanedTracks({})'.format(track_cleanup))
52 create_validation_histograms(
53 rootfile=histogram_filename,
54 particlelist=
'B+:inclusiveBplusToKplusNuNu',
62 'Transverse momentum of the kaon candidate',
63 'Maximum between 1.5 and 2 GeV/c',
66 (
'nCleanedTracks_simple_cleanup',
70 'Number of cleaned tracks',
72 'Number of cleaned tracks in the event',
73 'Should be between 4 and 10, with two local maxima at 4 and 6',
74 'Number of cleaned tracks',
82 'Sphericity computed by ma.buildEventShape',