CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
helpers.GatherAllModulesVisitor Class Reference
Inheritance diagram for helpers.GatherAllModulesVisitor:

Public Member Functions

def __init__ (self, gatheredInstance=cms._Module)
 
def enter (self, visitee)
 
def leave (self, visitee)
 
def modules (self)
 

Private Attributes

 _gatheredInstance
 
 _modules
 

Detailed Description

Visitor that travels within a cms.Sequence, and returns a list of objects of type gatheredInance(e.g. modules) that have it

Definition at line 148 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

def helpers.GatherAllModulesVisitor.__init__ (   self,
  gatheredInstance = cms._Module 
)

Definition at line 150 of file helpers.py.

150  def __init__(self, gatheredInstance=cms._Module):
151  self._modules = []
152  self._gatheredInstance= gatheredInstance
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 Function Documentation

◆ enter()

def helpers.GatherAllModulesVisitor.enter (   self,
  visitee 
)

◆ leave()

def helpers.GatherAllModulesVisitor.leave (   self,
  visitee 
)

Definition at line 156 of file helpers.py.

156  def leave(self,visitee):
157  pass

◆ modules()

def helpers.GatherAllModulesVisitor.modules (   self)

Definition at line 158 of file helpers.py.

158  def modules(self):
159  return self._modules
160 

Member Data Documentation

◆ _gatheredInstance

helpers.GatherAllModulesVisitor._gatheredInstance
private

Definition at line 152 of file helpers.py.

Referenced by helpers.GatherAllModulesVisitor.enter().

◆ _modules

helpers.GatherAllModulesVisitor._modules
private

Definition at line 151 of file helpers.py.

Referenced by helpers.GatherAllModulesVisitor.enter().