CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self)
 
def finish (self)
 
def parse (self, line)
 

Private Attributes

 __preramble
 
 _consumesForModule
 
 _isAnalyzer
 
 _presentConsumes
 
 _presentModuleName
 

Detailed Description

Definition at line 46 of file edmTracerLogToSimpleConfig.py.

Constructor & Destructor Documentation

def edmTracerLogToSimpleConfig.ConsumesParser.__init__ (   self)

Member Function Documentation

def edmTracerLogToSimpleConfig.ConsumesParser.finish (   self)
def edmTracerLogToSimpleConfig.ConsumesParser.parse (   self,
  line 
)

Definition at line 53 of file edmTracerLogToSimpleConfig.py.

References edmTracerLogToSimpleConfig.ConsumesParser.__preramble, edmTracerLogToSimpleConfig.ConsumesParser._consumesForModule, edmTracerLogToSimpleConfig.ConsumesParser._presentConsumes, edmTracerLogToSimpleConfig.ConsumesParser._presentModuleName, spr.find(), and edmTracerLogToSimpleConfig.fixName().

53  def parse(self,line):
54  if line[:len(self.__preramble)] != self.__preramble:
55  if self._presentModuleName:
57  start = line.find("'")+1
58  length = line[start:].find("'")
59  self._presentModuleName = fixName(line[start:length+start])
60  self._presentConsumes = []
61  if -1 != l.find("Analyzer"):
62  self._isAnalyzer.add(self._presentModuleName)
63  else:
64  self._presentConsumes.append( fixName(line[line.find("'")+1:-2]) )
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20

Member Data Documentation

edmTracerLogToSimpleConfig.ConsumesParser.__preramble
private
edmTracerLogToSimpleConfig.ConsumesParser._consumesForModule
private
edmTracerLogToSimpleConfig.ConsumesParser._isAnalyzer
private

Definition at line 49 of file edmTracerLogToSimpleConfig.py.

edmTracerLogToSimpleConfig.ConsumesParser._presentConsumes
private
edmTracerLogToSimpleConfig.ConsumesParser._presentModuleName
private