CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
utils.unpickler Class Reference
Inheritance diagram for utils.unpickler:

Public Member Functions

def __init__ (self, filename)
 
def run (self)
 

Public Attributes

 directory
 
 filename
 

Detailed Description

Definition at line 445 of file utils.py.

Constructor & Destructor Documentation

◆ __init__()

def utils.unpickler.__init__ (   self,
  filename 
)

Definition at line 446 of file utils.py.

References Book.directory, edmIntegrityCheck.IntegrityCheck.directory, dqm_interfaces.DirFetcher.directory, dqm_interfaces.DirWalkerDB.directory, utils.unpickler.directory, and dqm_interfaces.DirWalkerFile.directory.

446  def __init__(self,filename):
447  Thread.__init__(self)
448  self.filename=filename
449  self.directory=""
450 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ run()

def utils.unpickler.run (   self)

Definition at line 451 of file utils.py.

References Book.directory, edmIntegrityCheck.IntegrityCheck.directory, dqm_interfaces.DirFetcher.directory, dqm_interfaces.DirWalkerDB.directory, utils.unpickler.directory, dqm_interfaces.DirWalkerFile.directory, svgfig.load(), and utils.wget().

451  def run(self):
452  print("Reading directory from %s" %(self.filename))
453  ifile=open(self.filename,"rb")
454  self.directory=load(ifile)
455  ifile.close()
456 
457 #-------------------------------------------------------------------------------
458 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def load(fileName)
Definition: svgfig.py:547

Member Data Documentation

◆ directory

utils.unpickler.directory

Definition at line 449 of file utils.py.

Referenced by utils.unpickler.__init__(), and utils.unpickler.run().

◆ filename

utils.unpickler.filename

Definition at line 448 of file utils.py.