Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:14:06

0001 ####################################################
0002 # SLHCUpgradeSimulations                           #
0003 # Configuration file for Full Workflow             #
0004 # Step 2 (again)                                   #
0005 # Understand if everything is fine with            #
0006 # L1TkCluster e L1TkStub                           #
0007 ####################################################
0008 # Nicola Pozzobon                                  #
0009 # CERN, August 2012                                #
0010 ####################################################
0011 
0012 #################################################################################################
0013 # import of general framework
0014 #################################################################################################
0015 import FWCore.ParameterSet.Config as cms
0016 #--------------import os
0017 process = cms.Process('AnalyzerClusterStub')
0018 
0019 #################################################################################################
0020 # global tag
0021 #################################################################################################
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 from Configuration.AlCa.GlobalTag import GlobalTag
0024 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')
0025 
0026 #################################################################################################
0027 # load the specific tracker geometry
0028 #################################################################################################
0029 process.load('Configuration.Geometry.GeometryExtendedPhase2TkBE5DReco_cff')
0030 process.load('Configuration.Geometry.GeometryExtendedPhase2TkBE5D_cff')
0031 process.load('Geometry.TrackerGeometryBuilder.StackedTrackerGeometry_cfi')
0032 
0033 #################################################################################################
0034 # load the magnetic field
0035 #################################################################################################
0036 process.load('Configuration.StandardSequences.MagneticField_cff')
0037 
0038 #################################################################################################
0039 # define the source and maximum number of events to generate and simulate
0040 #################################################################################################
0041 process.source = cms.Source("PoolSource",
0042     secondaryFileNames = cms.untracked.vstring(),
0043      fileNames = cms.untracked.vstring('file:TenMuPt_0_20_ExtendedPhase2TkBE5D_10000_DIGI_L1_DIGI2RAW_L1TT_RECO.root')
0044 #     fileNames = cms.untracked.vstring('file:TenMuPt_0_20_ExtendedPhase2TkBE5D_10000_DIGI_L1_DIGI2RAW_L1TT_RECO_140PU.root')
0045 #     fileNames = cms.untracked.vstring('file:test.root')
0046 
0047 #     fileNames = cms.untracked.vstring('file:TenMuPt_2_ExtendedPhase2TkBE5D_5000_DIGI_L1_DIGI2RAW_L1TT_RECO.root',
0048 #                                       #'file:TenMuPt_10_ExtendedPhase2TkBE5D_5000_DIGI_L1_DIGI2RAW_L1TT_RECO.root',
0049 #                                       #'file:TenMuPt_100_ExtendedPhase2TkBE5D_5000_DIGI_L1_DIGI2RAW_L1TT_RECO.root'
0050 #     )
0051 
0052 
0053 #     fileNames = cms.untracked.vstring('file:TenPiPt_0_50_ExtendedPhase2TkBE5D_5000_DIGI_L1_DIGI2RAW_L1TT_RECO.root')
0054 #     fileNames = cms.untracked.vstring('file:TenElePt_0_50_ExtendedPhase2TkBE5D_5000_DIGI_L1_DIGI2RAW_L1TT_RECO.root')
0055 #     fileNames = cms.untracked.vstring('file:DYTauTau_ExtendedPhase2TkBE5D_750_DIGI_L1_DIGI2RAW_L1TT_RECO.root')
0056 )
0057 
0058 process.maxEvents = cms.untracked.PSet(
0059   input = cms.untracked.int32(-1)
0060 )
0061 
0062 #################################################################################################
0063 # load the analyzer
0064 #################################################################################################
0065 process.AnalyzerClusterStub = cms.EDAnalyzer("AnalyzerClusterStub",
0066     DebugMode = cms.bool(True)
0067 )
0068 
0069 #################################################################################################
0070 # define output file and message logger
0071 #################################################################################################
0072 process.TFileService = cms.Service("TFileService",
0073 #  fileName = cms.string('file:AnalyzerClusterStub_ExtendedPhase2TkBE5D_MuonPU140.root')
0074 #  fileName = cms.string('file:AnalyzerClusterStub_ExtendedPhase2TkBE5D_Pion.root')
0075   fileName = cms.string('file:AnalyzerClusterStub_ExtendedPhase2TkBE5D_Muon.root')
0076 #  fileName = cms.string('file:AnalyzerClusterStub_ExtendedPhase2TkBE5D_DYTauTau.root')
0077 )
0078 
0079 #################################################################################################
0080 # define the final path to be fed to cmsRun
0081 #################################################################################################
0082 process.p = cms.Path( process.AnalyzerClusterStub )
0083 
0084 
0085