text: import FWCore.ParameterSet.Config as cms
  
  process = cms.Process("HGCalParametersTest")
  process.load("SimGeneral.HepPDTESSource.pdt_cfi")
  #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D71XML_cfi")
  process.load("Geometry.HGCalCommonData.testHGCalV15XML_cfi")
  process.load("Geometry.HGCalCommonData.hgcalParametersInitialization_cfi")
  process.load('FWCore.MessageService.MessageLogger_cfi')
  
  if hasattr(process,'MessageLogger'):
      process.MessageLogger.HGCalGeom=dict()
  
  process.load("IOMC.RandomEngine.IOMC_cff")
  process.RandomNumberGeneratorService.generator.initialSeed = 456789
  
  process.source = cms.Source("EmptySource")
  
  process.maxEvents = cms.untracked.PSet(
      input = cms.untracked.int32(1)
  )
  
  process.generator = cms.EDProducer("FlatRandomEGunProducer",
      PGunParameters = cms.PSet(
          PartID = cms.vint32(14),
          MinEta = cms.double(-3.5),
          MaxEta = cms.double(3.5),
          MinPhi = cms.double(-3.14159265359),
          MaxPhi = cms.double(3.14159265359),
          MinE   = cms.double(9.99),
          MaxE   = cms.double(10.01)
      ),
      AddAntiParticle = cms.bool(False),
      Verbosity       = cms.untracked.int32(0),
      firstRun        = cms.untracked.uint32(1)
  )
   
  process.testEE = cms.EDAnalyzer("HGCalParameterTester",
                                  Name = cms.untracked.string("HGCalEESensitive"),
                                  Mode = cms.untracked.int32(1)
  #                               Mode = cms.untracked.int32(0)
  )
  
  process.testHESil = process.testEE.clone(
      Name = cms.untracked.string("HGCalHESiliconSensitive")
  )
  
  process.testHESci = process.testEE.clone(
      Name = cms.untracked.string("HGCalHEScintillatorSensitive"),
      Mode = cms.untracked.int32(2)
  )
   
  process.p1 = cms.Path(process.generator*process.testEE*process.testHESil*process.testHESci)
  #process.p1 = cms.Path(process.generator*process.testEE*process.testHESil)
  