CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
readConfig.fileINI Class Reference

Public Member Functions

def __init__ (self, fileName)
 
def read (self)
 

Public Attributes

 btag_modules
 
 btag_modules_string
 
 btag_pathes
 
 CMSSWVER
 
 fileName
 
 files
 
 jets
 
 maxEvents
 
 processname
 
 vertex_modules
 
 vertex_pathes
 

Detailed Description

Definition at line 6 of file readConfig.py.

Constructor & Destructor Documentation

def readConfig.fileINI.__init__ (   self,
  fileName 
)

Definition at line 7 of file readConfig.py.

7  def __init__(self, fileName):
8  self.fileName=fileName
9 
def __init__(self, fileName)
Definition: readConfig.py:7

Member Function Documentation

def readConfig.fileINI.read (   self)

Definition at line 10 of file readConfig.py.

References readConfig.fileINI.fileName, WorkFlow.WorkFlowConnector.fileName, DTDeadFlagHandler.fileName, DTT0Handler.fileName, DTRangeT0Handler.fileName, DTTPGParametersHandler.fileName, DTPerformanceHandler.fileName, DTStatusFlagHandler.fileName, DTReadOutMappingHandler.fileName, EcalPnGraphs.fileName, MCatNLOSource.fileName, DrawIteration::Input.fileName, and Vx3DHLTAnalyzer.fileName.

Referenced by edmIntegrityCheck.PublishToFileSystem.get().

10  def read(self):
11  Config.optionxform = str
12  Config.read(self.fileName)
13  self.processname=ConfigSectionMap("config")["processname"]
14  self.CMSSWVER=ConfigSectionMap("config")["cmsswver"]
15  self.jets=ConfigSectionMap("config")["hltjets"]
16  files=ConfigSectionMap("config")["files"]
17  self.maxEvents=ConfigSectionMap("config")["maxevents"]
18 # self.denominatorTriggerPath=ConfigSectionMap("config")["denominatorTriggerPath"]
19 
20  files=files.splitlines()
21  self.files=[x for x in files if len(x)>0]
22 
23  self.btag_modules=cms.VInputTag()
24  self.btag_pathes=cms.vstring()
25  self.btag_modules_string=cms.vstring()
26  for path in Config.options("btag"):
27  print path
28  modules=Config.get("btag",path)
29  modules=modules.splitlines()
30  for module in modules:
31  if(module!="" and path!=""):
32  self.btag_modules.extend([cms.InputTag(module)])
33  self.btag_modules_string.extend([module])
34  self.btag_pathes.extend([path])
35 
36  self.vertex_modules=cms.VInputTag()
37  self.vertex_pathes=cms.vstring()
38  for path in Config.options("vertex"):
39  print path
40  modules=Config.get("vertex",path)
41  modules=modules.splitlines()
42  for module in modules:
43  if(module!="" and path!=""):
44  self.vertex_modules.extend([cms.InputTag(module)])
45  self.vertex_pathes.extend([path])
46 
def ConfigSectionMap(section)
Definition: helper.py:11
def read(self)
Definition: readConfig.py:10

Member Data Documentation

readConfig.fileINI.btag_modules

Definition at line 23 of file readConfig.py.

readConfig.fileINI.btag_modules_string

Definition at line 25 of file readConfig.py.

readConfig.fileINI.btag_pathes

Definition at line 24 of file readConfig.py.

readConfig.fileINI.CMSSWVER

Definition at line 14 of file readConfig.py.

readConfig.fileINI.fileName

Definition at line 8 of file readConfig.py.

Referenced by readConfig.fileINI.read().

readConfig.fileINI.files
readConfig.fileINI.jets

Definition at line 15 of file readConfig.py.

readConfig.fileINI.maxEvents

Definition at line 17 of file readConfig.py.

readConfig.fileINI.processname

Definition at line 13 of file readConfig.py.

readConfig.fileINI.vertex_modules

Definition at line 36 of file readConfig.py.

readConfig.fileINI.vertex_pathes

Definition at line 37 of file readConfig.py.