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 4 of file SeedingMigration.py.

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

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

Definition at line 10 of file SeedingMigration.py.

References _copy().

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