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

Constructor & Destructor Documentation

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

Definition at line 143 of file config.py.

144  def __init__(self, name, files, tree_name=None, triggers=None, **kwargs):
145  if isinstance(triggers, basestring):
146  triggers = [triggers]
147  if type(files) == str:
148  files = sorted(glob.glob(files))
149  super( Component, self).__init__( name = name,
150  files = files,
151  tree_name = tree_name,
152  triggers = triggers, **kwargs)
154  self.isData = False
155  self.isMC = False
156  self.isEmbed = False

Member Data Documentation

config.Component.dataset_entries

Definition at line 152 of file config.py.

config.Component.isData

Definition at line 153 of file config.py.

config.Component.isEmbed

Definition at line 155 of file config.py.

config.Component.isMC

Definition at line 154 of file config.py.