CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mps_stat.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 import Alignment.MillePedeAlignmentAlgorithm.mpslib.Mpslibclass as mpslib
3 import os
4 
5 #use mps_update.pl in shell and push output to nirvana
6 os.system("mps_update.py >| /dev/null") #add >| /dev/null
7 
8 lib = mpslib.jobdatabase() #create object of class jobdatabase
9 lib.read_db() #read mps.db into the jobdatabase
10 lib.print_memdb() #print the jobdatabase in memory