Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-16 23:26:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # load era modifier to run on 2018 data
0004 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0005 
0006 process = cms.Process( 'TEST',ctpps_2018)
0007 
0008 # LHCInfo plotter
0009 process.load("Validation.CTPPS.ctppsLHCInfoPlotter_cfi")
0010 process.ctppsLHCInfoPlotter.outputFile = "alcareco_lhc_info_express.root"
0011 
0012 # Load geometry from DB
0013 process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0014 
0015 # track distribution plotter
0016 process.ctppsTrackDistributionPlotter = cms.EDAnalyzer("CTPPSTrackDistributionPlotter",
0017   tagTracks = cms.InputTag("ctppsLocalTrackLiteProducerAlCaRecoProducer"),
0018 
0019   rpId_45_F = cms.uint32(23),
0020   rpId_45_N = cms.uint32(3),
0021   rpId_56_N = cms.uint32(103),
0022   rpId_56_F = cms.uint32(123),
0023 
0024   outputFile = cms.string("alcareco_tracks_express.root")
0025 )
0026 
0027 # reconstruction plotter
0028 process.ctppsProtonReconstructionPlotter = cms.EDAnalyzer("CTPPSProtonReconstructionPlotter",
0029   tagTracks = cms.InputTag("ctppsLocalTrackLiteProducerAlCaRecoProducer"),
0030   tagRecoProtonsSingleRP = cms.InputTag("ctppsProtonsAlCaRecoProducer", "singleRP"),
0031   tagRecoProtonsMultiRP = cms.InputTag("ctppsProtonsAlCaRecoProducer", "multiRP"),
0032 
0033   rpId_45_F = cms.uint32(23),
0034   rpId_45_N = cms.uint32(3),
0035   rpId_56_N = cms.uint32(103),
0036   rpId_56_F = cms.uint32(123),
0037 
0038   outputFile = cms.string("alcareco_protons_express.root")
0039 )
0040 
0041 process.p = cms.Path(
0042   process.ctppsLHCInfoPlotter
0043   * process.ctppsTrackDistributionPlotter
0044   * process.ctppsProtonReconstructionPlotter
0045 )
0046 
0047 process.options = cms.PSet(
0048     wantSummary = cms.untracked.bool( True ),
0049 )
0050 
0051 # load GT
0052 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0053 from Configuration.AlCa.GlobalTag import GlobalTag
0054 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run3_data_express')
0055 
0056 process.source = cms.Source( 'PoolSource',
0057     fileNames = cms.untracked.vstring(
0058         'file:outputALCAPPS_RECO_express.root',
0059     ),
0060     inputCommands = cms.untracked.vstring(
0061         'keep *'
0062     )
0063 )
0064 
0065 # limit the number of events to be processed
0066 process.maxEvents = cms.untracked.PSet(
0067     input = cms.untracked.int32( -1 )
0068 )