1 import FWCore.ParameterSet.Config
as cms
5 if hasattr(process,
"muNtupleProducer") :
6 print(
"[customiseForRunningOnMC]: updating ntuple input tags")
8 process.muNtupleTwinMuxInFiller.dtTpTag =
"none" 9 process.muNtupleTwinMuxOutFiller.dtTpTag =
"none" 10 process.muNtupleTwinMuxInThFiller.dtTpTag =
"none" 15 print(
"[customiseForMuonWorkflow]: adding VarParsing")
17 import FWCore.ParameterSet.VarParsing
as VarParsing
20 options.register(
'globalTag',
21 '130X_dataRun3_Express_v1',
22 VarParsing.VarParsing.multiplicity.singleton,
23 VarParsing.VarParsing.varType.string,
26 options.register(
'nEvents',
28 VarParsing.VarParsing.multiplicity.singleton,
29 VarParsing.VarParsing.varType.int,
30 "Maximum number of processed events")
32 options.parseArguments()
34 process.GlobalTag.globaltag = cms.string(options.globalTag)
35 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(options.nEvents))
def customiseForMuonWorkflow(process)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def customiseForRunningOnMC(process, pathName)