5 A test of the ECL variables using a recently produced mDST file.
6 The mDST file contains 3 B0 -> [ J/psi -> mu+ mu- ] [ K_S0 -> pi+ pi- ] events, BGx0.
14 b2.set_random_seed(
"1337")
20 testpath = b2.create_path()
21 testpath.add_module(
'RootInput', inputFileNames=testinput)
24 'clusterPulseShapeDiscriminationMVA',
25 'clusterHasPulseShapeDiscrimination',
26 'clusterNumberOfHadronDigits',
29 'nECLClusterTrackMatches',
32 'clusterAbsZernikeMoment40',
33 'clusterAbsZernikeMoment51',
34 'clusterBelleQuality',
36 'clusterConnectedRegionID',
46 'clusterHasFailedErrorTiming',
47 'clusterHasFailedTiming',
49 'clusterHasNeutralHadron',
54 'clusterSecondMoment',
61 'minC2TDistVar(cosTheta,pi+:all)'
65 testpath.add_module(
'ParticleLoader', decayStrings=[
'pi+:all'])
68 testpath.add_module(
'ParticleLoader', decayStrings=[fsp])
69 testpath.add_module(
'ParticleSelector', decayString=fsp, cut=
'isFromECL')
70 testpath.add_module(
'ParticlePrinter', listName=fsp, fullPrint=
False,
72 b2.process(testpath, 1)
def configure_logging_for_tests(user_replacements=None)
def require_file(filename, data_type="", py_case=None)