13 a test of the EventKinematics variables using the small test file for running quickly 
   17 from basf2 
import set_random_seed, create_path, process
 
   21 set_random_seed(
"1337")
 
   24 fsps = [
'pi-:all', 
'gamma:all']
 
   27 testpath = create_path()
 
   28 testpath.add_module(
'RootInput', inputFileNames=testinput)
 
   32 testpath.add_module(
'ParticleLoader', decayStrings=fsps)
 
   33 testpath.add_module(
'ParticleSelector', decayString=
'gamma:all', cut=
'isFromECL')
 
   37     "missingMomentumOfEvent",
 
   38     "missingMomentumOfEvent_Px",
 
   39     "missingMomentumOfEvent_Py",
 
   40     "missingMomentumOfEvent_Pz",
 
   41     "missingMomentumOfEvent_theta",
 
   42     "missingMomentumOfEventCMS",
 
   43     "missingMomentumOfEventCMS_Px",
 
   44     "missingMomentumOfEventCMS_Py",
 
   45     "missingMomentumOfEventCMS_Pz",
 
   46     "missingMomentumOfEventCMS_theta",
 
   47     "missingEnergyOfEventCMS",
 
   48     "missingMass2OfEvent",
 
   49     "visibleEnergyOfEventCMS",
 
   50     "totalPhotonsEnergyOfEvent" 
   53 testpath.add_module(
'EventKinematics', particleLists=fsps)
 
   55 testpath.add_module(
'ParticlePrinter', listName=
'', fullPrint=
False,
 
   56                     variables=event_kinematics)
 
def configure_logging_for_tests(user_replacements=None)
def require_file(filename, data_type="", py_case=None)