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 47 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 54 of file edmTracerLogToSimpleConfig.py.

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

54  def parse(self,line):
55  if line[:len(self.__preramble)] != self.__preramble:
56  if self._presentModuleName:
58  start = line.find("'")+1
59  length = line[start:].find("'")
60  self._presentModuleName = fixName(line[start:length+start])
61  self._presentConsumes = []
62  if -1 != l.find("Analyzer"):
63  self._isAnalyzer.add(self._presentModuleName)
64  else:
65  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 50 of file edmTracerLogToSimpleConfig.py.

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