CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
config.DataComponent Class Reference
Inheritance diagram for config.DataComponent:
config.Component config.CFG

Public Member Functions

def __init__ (self, name, files, intLumi=None, triggers=[], json=None)
 
def getWeight (self, intLumi=None)
 
- Public Member Functions inherited from config.Component
def __init__ (self, name, files, tree_name=None, triggers=None, **kwargs)
 
- Public Member Functions inherited from config.CFG
def __init__ (self, **kwargs)
 
def __str__ (self)
 
def clone (self, **kwargs)
 

Public Attributes

 intLumi
 
 isData
 
 json
 
- Public Attributes inherited from config.Component
 dataset_entries
 
 isData
 
 isEmbed
 
 isMC
 

Detailed Description

Definition at line 206 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

def config.DataComponent.__init__ (   self,
  name,
  files,
  intLumi = None,
  triggers = [],
  json = None 
)

Definition at line 208 of file config.py.

208  def __init__(self, name, files, intLumi=None, triggers=[], json=None):
209  super(DataComponent, self).__init__(name, files, triggers=triggers)
210  self.isData = True
211  self.intLumi = intLumi
212  self.json = json
213 

Member Function Documentation

◆ getWeight()

def config.DataComponent.getWeight (   self,
  intLumi = None 
)

Definition at line 214 of file config.py.

214  def getWeight( self, intLumi = None):
215  return Weight( genNEvents = -1,
216  xSection = None,
217  genEff = -1,
218  intLumi = self.intLumi,
219  addWeight = 1. )
220 
221 
222 

References config.DataComponent.intLumi.

Member Data Documentation

◆ intLumi

config.DataComponent.intLumi

◆ isData

config.DataComponent.isData

Definition at line 210 of file config.py.

◆ json

config.DataComponent.json

Definition at line 212 of file config.py.