CMS 3D CMS Logo

Functions
commons_cff Namespace Reference

Functions

def cloneGeometry (mod_path)
 

Function Documentation

◆ cloneGeometry()

def commons_cff.cloneGeometry (   mod_path)

Definition at line 5 of file commons_cff.py.

5 def cloneGeometry(mod_path):
6  # start by importing the actual module to be cloned
7  _geom = import_module(mod_path)
8  # clone all geometry DDL files
9  totemGeomXMLFiles = copy(_geom.totemGeomXMLFiles)
10  ctppsDiamondGeomXMLFiles = copy(_geom.ctppsDiamondGeomXMLFiles)
11  ctppsUFSDGeomXMLFiles = copy(_geom.ctppsUFSDGeomXMLFiles)
12  ctppsPixelGeomXMLFiles = copy(_geom.ctppsPixelGeomXMLFiles)
13  # clone the ESSource and ESModule to be returned
14  XMLIdealGeometryESSource_CTPPS = _geom.XMLIdealGeometryESSource_CTPPS.clone()
15  ctppsGeometryESModule = _geom.ctppsGeometryESModule.clone()
16 
17  return (XMLIdealGeometryESSource_CTPPS, ctppsGeometryESModule)

References filterCSVwithJSON.copy.

filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
commons_cff.cloneGeometry
def cloneGeometry(mod_path)
Definition: commons_cff.py:5