Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:41

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step2 --filein=file:GluGluTo2Jets_M_300_2000_13TeV_exhume_cff_py_GEN_SIM_HECTOR_CTPPS.root --conditions auto:run2_mc -s DIGI:pdigi_valid,DIGI2RAW --datatier GEN-SIM-DIGI-RAW -n 10 --era Run2_2016 --eventcontent FEVTDEBUG --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0010 process = cms.Process('CTPPS2',Run2_2017)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 ############### using only CTPPS geometry 
0022 ##process.load("Configuration.Geometry.geometry_CTPPS_2018_cfi")
0023 ##process.load("Geometry.VeryForwardGeometry.geometryRP_2017_cfi")
0024 #process.load("CondFormats.PPSObjects.CTPPSPixelDAQMappingESSourceXML_cfi")
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(-1)
0028 )
0029 process.MessageLogger = cms.Service("MessageLogger",
0030     destinations = cms.untracked.vstring('cclu_info'),
0031     cclu_info = cms.untracked.PSet( threshold = cms.untracked.string('INFO'))
0032 )
0033 
0034 process.source = cms.Source("PoolSource",
0035     skipEvents = cms.untracked.uint32(0),
0036     fileNames = cms.untracked.vstring(
0037         '/store/data/Run2017E/ZeroBias/AOD/PromptReco-v1/000/304/292/00000/00BD7574-B5AA-E711-A4C0-02163E01A24F.root'
0038 #        'file:/afs/cern.ch/user/f/fabferro/WORKSPACE/public/geo_and_simu/test/CMSSW_10_0_0_pre1/src/00BD7574-B5AA-E711-A4C0-02163E01A24F.root'
0039 ),
0040 duplicateCheckMode = cms.untracked.string("checkEachFile")
0041 )
0042 
0043 
0044 
0045 process.options = cms.untracked.PSet(
0046     SkipEvent = cms.untracked.vstring('ProductNotFound')
0047 )
0048 
0049 # Production Info
0050 process.configurationMetadata = cms.untracked.PSet(
0051     annotation = cms.untracked.string('step2 nevts:10'),
0052     name = cms.untracked.string('Applications'),
0053     version = cms.untracked.string('$Revision: 1.19 $')
0054 )
0055 
0056 
0057 
0058 #from Geometry.VeryForwardGeometry.geometryRP_cfi import *
0059 from RecoPPS.Configuration.recoCTPPS_DB_cff import *
0060 process.load("RecoPPS.Configuration.recoCTPPS_DB_cff")
0061 # Output definition
0062 
0063 process.o1 = cms.OutputModule("PoolOutputModule",
0064         outputCommands = cms.untracked.vstring('drop *',
0065                                                'keep CTPPS*_*_*_*',
0066                                                'keep Totem*_*_*_*',
0067                                                'keep TOTEM*_*_*_*'
0068     
0069 ),
0070         fileName = cms.untracked.string('simevent_CTPPS_CLU__REC_TRA_DB_mem_ALL.root')
0071         )
0072 
0073 
0074 # Other statements
0075 from Configuration.AlCa.GlobalTag import GlobalTag
0076 process.GlobalTag = GlobalTag(process.GlobalTag, '101X_dataRun2_Candidate_2018_02_12_11_32_57', '')
0077 
0078 
0079 #from Configuration.AlCa.GlobalTag import GlobalTag
0080 #process.GlobalTag = GlobalTag(process.GlobalTag, '100X_mcRun2_design_Candidate_2018_02_08_16_02_53', '')
0081 #process.GlobalTag.toGet = cms.VPSet(
0082 #    cms.PSet(
0083 #        record = cms.string('CTPPSPixelDAQMappingRcd'),
0084 #        tag = cms.string("PixelDAQMapping"),
0085 #        label = cms.untracked.string("RPix"),
0086 #        connect = cms.string("sqlite_file:./CTPPSPixel_Mapping_Mask_Gain_Jan23rd2018.db")
0087 #        ),
0088 #    cms.PSet(
0089 #        record = cms.string('CTPPSPixelAnalysisMaskRcd'),
0090 #        tag = cms.string("PixelAnalysisMask"),
0091 #        label = cms.untracked.string(""),
0092 #        connect = cms.string("sqlite_file:./CTPPSPixel_Mapping_Mask_Gain_Jan23rd2018.db")
0093 #        ),
0094 #    cms.PSet(
0095 #        record = cms.string('CTPPSPixelGainCalibrationsRcd'),
0096 #        tag = cms.string("CTPPSPixelGainCalibNew_v4"),
0097 #        label = cms.untracked.string(""),
0098 #        connect = cms.string("sqlite_file:./CTPPSPixel_Mapping_Mask_Gain_Jan23rd2018.db")
0099 #        )
0100 ##    cms.PSet(record = cms.string('GeometryFileRcd'),
0101 ##             tag = cms.string('XMLFILE_Geometry_TagXX_Extended2017_mc'),
0102 ##             connect = cms.string("sqlite_file:myfile.db"),
0103 ##             )
0104 #    )
0105 
0106 #from CondCore.CondDB.CondDB_cfi import *
0107 #process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0108 #                                      CondDB.clone(
0109 #        connect = cms.string('sqlite_file:CTPPSPixel_DAQMapping_Jan23rd2018_3.db')),
0110 #                                      toGet = cms.VPSet(
0111 #        cms.PSet(
0112 #            record = cms.string('CTPPSPixelDAQMappingRcd'),
0113 #            tag = cms.string("PixelDAQMapping"),
0114 ##            label = cms.untracked.string("RPix")
0115 #            ),
0116 #        cms.PSet(
0117 #            record = cms.string('CTPPSPixelAnalysisMaskRcd'),
0118 #            tag = cms.string("PixelAnalysisMask"),
0119 ##            label = cms.untracked.string("RPix")
0120 #            ),
0121 #               cms.PSet(
0122 #            record = cms.string('CTPPSPixelGainCalibrationsRcd'),
0123 #            tag = cms.string("CTPPSPixelGainCalibNew_v4"),
0124 #            )
0125 #        )
0126 #                                 )
0127 
0128 
0129 # Path and EndPath definitions
0130 
0131 process.reco_step = cms.Path(process.recoCTPPS)
0132 process.endjob_step = cms.EndPath(process.endOfProcess)
0133 process.outpath = cms.EndPath(process.o1)
0134 
0135 
0136 # Schedule definition
0137 process.schedule = cms.Schedule(
0138 #process.mixedigi_step,
0139 #process.digi2raw_step,
0140 #process.raw2digi_step,
0141 process.reco_step,process.endjob_step,process.outpath)
0142 
0143 # Customisation from command line
0144 
0145 # Add early deletion of temporary data products to reduce peak memory need
0146 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0147 process = customiseEarlyDelete(process)
0148 # End adding early deletion