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.Component Class Reference
Inheritance diagram for config.Component:
config.CFG config.DataComponent config.MCComponent

Public Member Functions

def __init__
 
- Public Member Functions inherited from config.CFG
def __init__
 
def __str__
 

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

Constructor & Destructor Documentation

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

Definition at line 126 of file config.py.

127  def __init__(self, name, files, tree_name=None, triggers=None, **kwargs):
128  if isinstance(triggers, basestring):
129  triggers = [triggers]
130  if type(files) == str:
131  files = sorted(glob.glob(files))
132  super( Component, self).__init__( name = name,
133  files = files,
134  tree_name = tree_name,
135  triggers = triggers, **kwargs)
137  self.isData = False
138  self.isMC = False
139  self.isEmbed = False

Member Data Documentation

config.Component.dataset_entries

Definition at line 135 of file config.py.

config.Component.isData

Definition at line 136 of file config.py.

config.Component.isEmbed

Definition at line 138 of file config.py.

config.Component.isMC

Definition at line 137 of file config.py.