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 140 of file config.py.

Constructor & Destructor Documentation

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

Definition at line 142 of file config.py.

143  def __init__(self, name, files, intLumi=None, triggers=[], json=None):
144  super(DataComponent, self).__init__(name, files, triggers)
145  self.isData = True
146  self.intLumi = intLumi
147  self.json = json

Member Function Documentation

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

Definition at line 148 of file config.py.

References config.DataComponent.intLumi.

149  def getWeight( self, intLumi = None):
150  return Weight( genNEvents = -1,
151  xSection = None,
152  genEff = -1,
153  intLumi = self.intLumi,
154  addWeight = 1. )
155 
156 

Member Data Documentation

config.DataComponent.intLumi

Definition at line 145 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 144 of file config.py.

config.DataComponent.json

Definition at line 146 of file config.py.