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 48 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 55 of file edmTracerLogToSimpleConfig.py.

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

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

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