CMS 3D CMS Logo

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

Public Member Functions

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

 dataset_entries
 
 isData
 
 isEmbed
 
 isMC
 

Detailed Description

Base component class.

See the child classes:
DataComponent, MCComponent, EmbedComponent
for more information.

Definition at line 185 of file config.py.

Constructor & Destructor Documentation

def config.Component.__init__ (   self,
  name,
  files,
  tree_name = None,
  triggers = None,
  kwargs 
)

Definition at line 191 of file config.py.

191  def __init__(self, name, files, tree_name=None, triggers=None, **kwargs):
192  if isinstance(triggers, str):
193  triggers = [triggers]
194  if isinstance(files, str):
195  files = sorted(glob.glob(files))
196  super( Component, self).__init__( name = name,
197  files = files,
198  tree_name = tree_name,
199  triggers = triggers, **kwargs)
201  self.isData = False
202  self.isMC = False
203  self.isEmbed = False
204 
def __init__(self, name, files, tree_name=None, triggers=None, kwargs)
Definition: config.py:191

Member Data Documentation

config.Component.dataset_entries

Definition at line 200 of file config.py.

config.Component.isData

Definition at line 201 of file config.py.

config.Component.isEmbed

Definition at line 203 of file config.py.

config.Component.isMC

Definition at line 202 of file config.py.