Belle II Software  release-08-01-10
DownloadableDatabase Class Reference

Public Member Functions

def __init__ (self, command_argument)
 
def set_database (self)
 
def get_all_cuts (self)
 

Private Attributes

 _database
 the specified databases
 
 _experiment
 the experiment number, default (= latest) is 99999
 
 _run
 the run number, default (= latest) is 99999
 

Detailed Description

Helper class to translate the user-specified database(s) into parameters for basf2

Definition at line 30 of file cli.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  command_argument 
)
Init the stored databases and exp/run from the specified command argument

Definition at line 33 of file cli.py.

Member Function Documentation

◆ get_all_cuts()

def get_all_cuts (   self)
Get all cuts stored in the database(s)
and sort them according to base_identifier, cut_identifier.

Definition at line 94 of file cli.py.

◆ set_database()

def set_database (   self)
Set the basf2 database chain according to the specified databases.
Before that, clean up and invalidate everything from th database.

The distinction between file databases and global databases is done
via the fact of a file/folder with this name exists or not.

Definition at line 72 of file cli.py.


The documentation for this class was generated from the following file: