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.
15 b2.set_random_seed(
"1337")
21 testpath = b2.create_path()
22 testpath.add_module(
'RootInput', inputFileNames=testinput)
25 'clusterPulseShapeDiscriminationMVA',
26 'clusterHasPulseShapeDiscrimination',
27 'clusterNumberOfHadronDigits',
30 'nECLClusterTrackMatches',
33 'clusterAbsZernikeMoment40',
34 'clusterAbsZernikeMoment51',
35 'clusterBelleQuality',
37 'clusterConnectedRegionID',
47 'clusterHasFailedErrorTiming',
48 'clusterHasFailedTiming',
50 'clusterHasNeutralHadron',
55 'clusterSecondMoment',
62 'minC2TDistVar(cosTheta,pi+:all)'
66 testpath.add_module(
'ParticleLoader', decayStrings=[
'pi+:all'])
69 testpath.add_module(
'ParticleLoader', decayStrings=[fsp])
70 testpath.add_module(
'ParticleSelector', decayString=fsp, cut=
'isFromECL')
71 testpath.add_module(
'ParticlePrinter', listName=fsp, fullPrint=
False,
73 b2.process(testpath, 1)
def configure_logging_for_tests(user_replacements=None)
def require_file(filename, data_type="", py_case=None)