Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-20 14:55:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('Anal')
0004 
0005 # import of standard configurations
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('SimG4CMS.HGCalTestBeam.HGCalTB181Oct1XML_cfi')
0010 process.load('Geometry.HGCalCommonData.hgcalNumberingInitialization_cfi')
0011 process.load('Geometry.HGCalCommonData.hgcalParametersInitialization_cfi')
0012 process.load('Geometry.HcalTestBeamData.hcalTB06Parameters_cff')
0013 process.load('Geometry.HcalCommonData.caloSimulationParameters_cff')
0014 process.load('Geometry.CaloEventSetup.HGCalTopology_cfi')
0015 process.load('Geometry.HGCalGeometry.HGCalGeometryESProducer_cfi')
0016 process.load('Configuration.StandardSequences.MagneticField_0T_cff')
0017 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0018 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0019 process.load('SimG4CMS.HGCalTestBeam.HGCalTBAnalyzer_cfi')
0020 process.load('SimG4CMS.HGCalTestBeam.HGCalTBCheckGunPosition_cfi')
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(-1)
0024 )
0025 
0026 if 'MessageLogger' in process.__dict__:
0027     process.MessageLogger.HGCalGeom=dict()
0028     process.MessageLogger.HGCSim=dict()
0029 
0030 # Input source
0031 process.source = cms.Source("PoolSource",
0032                             fileNames = cms.untracked.vstring(
0033                                 'file:TBGenSim181Oct1.root',
0034                             )
0035                         )
0036 
0037 process.options = cms.untracked.PSet(
0038 )
0039 
0040 
0041 # Additional output definition
0042 process.TFileService = cms.Service("TFileService",
0043                                    fileName = cms.string('TBAnalOct181.root')
0044                                    )
0045 
0046 # Other statements
0047 from Configuration.AlCa.GlobalTag import GlobalTag
0048 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0049 
0050 
0051 process.HGCalTBAnalyzer.useFH       = True
0052 process.HGCalTBAnalyzer.useBH       = True
0053 process.HGCalTBAnalyzer.useBeam     = True
0054 process.HGCalTBAnalyzer.zFrontEE    = 1110.0
0055 process.HGCalTBAnalyzer.zFrontFH    = 1176.5
0056 process.HGCalTBAnalyzer.zFrontFH    = 1307.5
0057 process.HGCalTBAnalyzer.maxDepth    = 39
0058 process.HGCalTBAnalyzer.deltaZ      = 26.2
0059 process.HGCalTBAnalyzer.zFirst      = 22.8
0060 
0061 # Path and EndPath definitions
0062 process.gunfilter_step  = cms.Path(process.HGCalTBCheckGunPostion)
0063 process.analysis_step = cms.Path(process.HGCalTBAnalyzer)
0064 process.endjob_step = cms.EndPath(process.endOfProcess)
0065 
0066 # Schedule definition
0067 process.schedule = cms.Schedule(process.gunfilter_step,
0068                 process.analysis_step,
0069                 process.endjob_step,
0070                 )
0071 
0072