from Configuration.AlCa.GlobalTag import GlobalTag process.GlobalTag = GlobalTag(process.GlobalTag, globaltag, '') ##################################################################################################### ################################### PATH, ENDPAT Y SCHEDULE ######################################### ##################################################################################################### #from config_BtoKmumu_cff import * from config_BtoKsmumu_cff import * process.nanoAOD_KMuMu_step = cms.Path(nanoSequence + nanoBKMuMuSequence + CountBToKmumu) if options.isMC: from PhysicsTools.BParkingNano.nanoBPark_cff import nanoAOD_customizeMC nanoAOD_customizeMC(process) process.endjob_step = cms.EndPath(process.endOfProcess) process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput) process.NANOAODoutput_step = cms.EndPath(process.NANOAODoutput) process.schedule = cms.Schedule(process.nanoAOD_KMuMu_step, process.endjob_step, process.NANOAODoutput_step) ##################################################################################################### ###################################### WHAT IS THIS FOR? ############################################ #####################################################################################################
process = nanoAOD_customizeBToMuMuPi(process, isMC=options.isMC) process = nanoAOD_customizeBToKMuMu(process, isMC=options.isMC) process = nanoAOD_customizeTriggerBitsBPark(process) # Path and EndPath definitions process.nanoAOD_MuMuPi_step = cms.Path(process.nanoSequence + process.nanoBMuMuPiSequence + CountBToMuMuPi) process.nanoAOD_KMuMu_step = cms.Path(process.nanoSequence + process.nanoBKMuMuSequence + CountBToKmumu) # customisation of the process. if options.isMC: from PhysicsTools.BParkingNano.nanoBPark_cff import nanoAOD_customizeMC nanoAOD_customizeMC(process, ancestor_particles=[511, 521, 531, 541, 9900015]) process.endjob_step = cms.EndPath(process.endOfProcess) process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput) process.NANOAODoutput_step = cms.EndPath(process.NANOAODoutput) # Schedule definition process.schedule = cms.Schedule(process.nanoAOD_MuMuPi_step, process.nanoAOD_KMuMu_step, process.endjob_step, process.NANOAODoutput_step) if options.wantFullRECO: process.schedule = cms.Schedule(process.nanoAOD_MuMuPi_step, process.nanoAOD_KMuMu_step, process.endjob_step,