CMS 3D CMS Logo

Functions
SeedingMigration Namespace Reference

Functions

def _copy (old, new, skip=[])
 
def _hitSetProducerToFactoryPSet (producer)
 

Function Documentation

def SeedingMigration._copy (   old,
  new,
  skip = [] 
)
private

Definition at line 3 of file SeedingMigration.py.

Referenced by _hitSetProducerToFactoryPSet(), GeometricDet.geographicalId(), TrackerGeometricDetExtraESModule.produce(), and GeometricDet.~GeometricDet().

3 def _copy(old, new, skip=[]):
4  skipSet = set(skip)
5  for key in old.parameterNames_():
6  if key not in skipSet:
7  setattr(new, key, getattr(old, key))
8 
def _copy(old, new, skip=[])
def SeedingMigration._hitSetProducerToFactoryPSet (   producer)
private

Definition at line 9 of file SeedingMigration.py.

References _copy().

10  _map = {
11  "PixelTripletHLTEDProducer": "PixelTripletHLTGenerator",
12  "PixelTripletLargeTipEDProducer": "PixelTripletLargeTipGenerator",
13  "MultiHitFromChi2EDProducer": "MultiHitGeneratorFromChi2",
14  }
15  ret = cms.PSet()
16  _copy(producer, ret)
17  ret.ComponentName = cms.string(_map[producer._TypedParameterizable__type]);
18  return ret
19 
def _hitSetProducerToFactoryPSet(producer)
def _copy(old, new, skip=[])