CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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__
 
def getWeight
 
- Public Member Functions inherited from config.Component
def __init__
 
- Public Member Functions inherited from config.CFG
def __init__
 
def __str__
 

Public Attributes

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

Detailed Description

Definition at line 145 of file config.py.

Constructor & Destructor Documentation

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

Definition at line 147 of file config.py.

148  def __init__(self, name, files, intLumi=None, triggers=[], json=None):
149  super(DataComponent, self).__init__(name, files, triggers=triggers)
150  self.isData = True
151  self.intLumi = intLumi
152  self.json = json

Member Function Documentation

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

Definition at line 153 of file config.py.

References config.DataComponent.intLumi.

154  def getWeight( self, intLumi = None):
155  return Weight( genNEvents = -1,
156  xSection = None,
157  genEff = -1,
158  intLumi = self.intLumi,
159  addWeight = 1. )
160 
161 

Member Data Documentation

config.DataComponent.intLumi

Definition at line 150 of file config.py.

Referenced by weight.Weight.__str__(), weight.Weight.GetWeight(), config.DataComponent.getWeight(), and config.MCComponent.getWeight().

config.DataComponent.isData

Definition at line 149 of file config.py.

config.DataComponent.json

Definition at line 151 of file config.py.