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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 192 of file config.py.

192  def __init__(self, name, files, tree_name=None, triggers=None, **kwargs):
193  if isinstance(triggers, str):
194  triggers = [triggers]
195  if isinstance(files, str):
196  files = sorted(glob.glob(files))
197  super( Component, self).__init__( name = name,
198  files = files,
199  tree_name = tree_name,
200  triggers = triggers, **kwargs)
201  self.dataset_entries = 0
202  self.isData = False
203  self.isMC = False
204  self.isEmbed = False
205 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Data Documentation

◆ dataset_entries

config.Component.dataset_entries

Definition at line 201 of file config.py.

◆ isData

config.Component.isData

Definition at line 202 of file config.py.

◆ isEmbed

config.Component.isEmbed

Definition at line 204 of file config.py.

◆ isMC

config.Component.isMC

Definition at line 203 of file config.py.