Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-25 02:29:59

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("SaveNtuple")
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 process.load('Configuration.Geometry.GeometryExtended2026D110Reco_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_cff')
0011 process.load('Configuration.StandardSequences.Reconstruction_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T33', '')
0016 
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0018 
0019 process.TFileService = cms.Service("TFileService",
0020     fileName = cms.string("output_ntuple.root"),
0021     closeFileFast = cms.untracked.bool(True)
0022 )
0023 
0024 process.source = cms.Source("PoolSource",
0025                             fileNames = cms.untracked.vstring(
0026                                'file:step3.root'
0027                             )
0028 )
0029 
0030 from RecoMTD.TimingIDTools.mvaTrainingNtuple_cfi import mvaTrainingNtuple
0031 
0032 process.mvaTrainingNtuple = mvaTrainingNtuple
0033 
0034 process.p = cms.Path(process.mvaTrainingNtuple)
0035