Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-06 06:06:47

0001 ############################################################
0002 # define basic process
0003 ############################################################
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 import FWCore.Utilities.FileUtils as FileUtils
0007 import os
0008 
0009 ############################################################
0010 # edit options here
0011 ############################################################
0012 L1TRK_INST ="MyL1TrackJets" ### if not in input DIGRAW then we make them in the above step
0013 process = cms.Process(L1TRK_INST)
0014 
0015 #L1TRKALGO = 'HYBRID'  #baseline, 4par fit
0016 #L1TRKALGO = 'HYBRID_DISPLACED'  #extended, 5par fit
0017 L1TRKALGO = 'HYBRID_PROMPTANDDISP'
0018 
0019 DISPLACED = ''
0020 
0021 
0022 runVtxNN = True
0023 ############################################################
0024 # import standard configurations
0025 ############################################################
0026 
0027 process.load('Configuration.StandardSequences.Services_cff')
0028 process.load('Configuration.EventContent.EventContent_cff')
0029 process.load('Configuration.StandardSequences.MagneticField_cff')
0030 process.load('Configuration.Geometry.GeometryExtendedRun4D110Reco_cff')
0031 process.load('Configuration.Geometry.GeometryExtendedRun4D110_cff')
0032 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0033 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0034 
0035 from Configuration.AlCa.GlobalTag import GlobalTag
0036 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0037 
0038 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0039 process.MessageLogger.cerr.INFO.limit = cms.untracked.int32(0) # default: 0
0040 
0041 ############################################################
0042 # input and output
0043 ############################################################
0044 
0045 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(20))
0046 
0047 readFiles = cms.untracked.vstring(
0048     '/store/mc/Phase2Spring23DIGIRECOMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9-v1/50000/1cc5c14c-5bae-4e68-a369-04e230788660.root'
0049 )
0050 secFiles = cms.untracked.vstring()
0051 
0052 process.source = cms.Source ("PoolSource",
0053                             fileNames = readFiles,
0054                             secondaryFileNames = secFiles,
0055                             duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0056                             )
0057 
0058 process.source.inputCommands = cms.untracked.vstring("keep *","drop l1tTkPrimaryVertexs_L1TkPrimaryVertex__*")
0059 process.Timing = cms.Service("Timing",
0060   summaryOnly = cms.untracked.bool(True),
0061   useJobReport = cms.untracked.bool(False)
0062 )
0063 
0064 process.TFileService = cms.Service("TFileService", fileName = cms.string('GTTObjects_ttbar200PU_Spring23.root'), closeFileFast = cms.untracked.bool(True))
0065 
0066 
0067 ############################################################
0068 # L1 tracking: remake stubs?
0069 ############################################################
0070 
0071 process.load('L1Trigger.TrackTrigger.TrackTrigger_cff')
0072 from L1Trigger.TrackTrigger.TTStubAlgorithmRegister_cfi import *
0073 process.load("SimTracker.TrackTriggerAssociation.TrackTriggerAssociator_cff")
0074 
0075 from SimTracker.TrackTriggerAssociation.TTClusterAssociation_cfi import *
0076 TTClusterAssociatorFromPixelDigis.digiSimLinks = cms.InputTag("simSiPixelDigis","Tracker")
0077 
0078 process.TTClusterStub = cms.Path(process.TrackTriggerClustersStubs)
0079 process.TTClusterStubTruth = cms.Path(process.TrackTriggerAssociatorClustersStubs)
0080 
0081 
0082 # DTC emulation
0083 process.load('L1Trigger.TrackerDTC.ProducerED_cff')
0084 process.dtc = cms.Path(process.TrackerDTCProducer)
0085 
0086 process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
0087 process.load("L1Trigger.L1TTrackMatch.l1tTrackSelectionProducer_cfi")
0088 process.load("L1Trigger.L1TTrackMatch.l1tTrackVertexAssociationProducer_cfi")
0089 process.load("L1Trigger.L1TTrackMatch.l1tTrackJets_cfi")
0090 process.load("L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi")
0091 process.load("L1Trigger.L1TTrackMatch.l1tTrackJetsEmulation_cfi")
0092 process.load("L1Trigger.L1TTrackMatch.l1tTrackFastJets_cfi")
0093 process.load("L1Trigger.L1TTrackMatch.l1tTrackerEtMiss_cfi")
0094 process.load("L1Trigger.L1TTrackMatch.l1tTrackerEmuEtMiss_cfi")
0095 process.load("L1Trigger.L1TTrackMatch.l1tTrackerHTMiss_cfi")
0096 process.load("L1Trigger.L1TTrackMatch.l1tTrackerEmuHTMiss_cfi")
0097 process.load("L1Trigger.L1TTrackMatch.l1tTrackTripletEmulation_cfi")
0098 process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')
0099  
0100 
0101 
0102 ############################################################
0103 # Primary vertex
0104 ############################################################
0105 process.pPV = cms.Path(process.l1tVertexFinder)
0106 
0107 
0108 if runVtxNN:
0109     process.l1tVertexFinderEmulator = process.l1tVertexProducer.clone()
0110     process.l1tVertexFinderEmulator.VertexReconstruction.Algorithm = "NNEmulation"
0111 
0112     process.l1tTrackSelectionProducer.cutSet = cms.PSet(ptMin = cms.double(2.0), # pt must be greater than this value, [GeV]
0113                                                         absEtaMax = cms.double(2.4), # absolute value of eta must be less than this value
0114                                                         absZ0Max = cms.double(15.0), # z0 must be less than this value, [cm]
0115                                                         nStubsMin = cms.int32(4), # number of stubs must be greater than or equal to this value
0116                                                         nPSStubsMin = cms.int32(0), # the number of stubs in the PS Modules must be greater than or equal to this value
0117                                                         promptMVAMin = cms.double(-1.0), # MVA must be greater than this value
0118                                                         reducedBendChi2Max = cms.double(999.0), # bend chi2 must be less than this value
0119                                                         reducedChi2RZMax = cms.double(999.0), # chi2rz/dof must be less than this value
0120                                                         reducedChi2RPhiMax = cms.double(999.0), # chi2rphi/dof must be less than this value
0121                                                         reducedChi2MaxNstub4 = cms.double(999.9), # chi2/dof with nstub==4 must be less than this value
0122                                                         reducedChi2MaxNstub5 = cms.double(999.9), # chi2/dof with nstub>4 must be less than this value
0123                                                         reducedBendChi2MaxNstub4 = cms.double(999.9), # bend chi2 with nstub==4 must be less than this value
0124                                                         reducedBendChi2MaxNstub5 = cms.double(999.9), # bend chi2 with nstub>4 must be less than this value
0125                                                         ),
0126     VertexAssociator = process.l1tTrackVertexNNAssociationProducer
0127     AssociationName = "l1tTrackVertexNNAssociationProducer"
0128 else:
0129     VertexAssociator = process.l1tTrackVertexAssociationProducer
0130     AssociationName = "l1tTrackVertexAssociationProducer"
0131     
0132 process.pPVemu = cms.Path(process.l1tVertexFinderEmulator)
0133 
0134 # HYBRID: prompt tracking
0135 if (L1TRKALGO == 'HYBRID'):
0136     process.TTTracksEmu = cms.Path(process.L1THybridTracks)
0137     process.TTTracksEmuWithTruth = cms.Path(process.L1THybridTracksWithAssociators)
0138     process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer *
0139                                          process.l1tTrackSelectionProducerForJets *
0140                                          process.l1tTrackSelectionProducerForEtMiss)
0141     process.pL1TrackVertexAssociation = cms.Path(VertexAssociator *
0142                                                  process.l1tTrackVertexAssociationProducerForJets*
0143                                                  process.l1tTrackVertexAssociationProducerForEtMiss)
0144     process.pL1TrackJets = cms.Path(process.l1tTrackJets)
0145     process.pL1TrackFastJets=cms.Path(process.l1tTrackFastJets)
0146     process.pL1GTTInput = cms.Path(process.l1tGTTInputProducer)
0147     process.pL1TrackJetsEmu = cms.Path(process.l1tTrackJetsEmulation)
0148     process.pTkMET = cms.Path(process.l1tTrackerEtMiss)
0149     process.pTkMETEmu = cms.Path(process.l1tTrackerEmuEtMiss)
0150     process.pTkMHT = cms.Path(process.l1tTrackerHTMiss)
0151     process.pTkMHTEmulator = cms.Path(process.l1tTrackerEmuHTMiss)
0152     process.pL1TrackTripletEmulator = cms.Path(process.l1tTrackTripletEmulation)
0153     DISPLACED = 'Prompt'
0154 
0155 # HYBRID: extended tracking
0156 elif (L1TRKALGO == 'HYBRID_DISPLACED'):
0157     process.TTTracksEmu = cms.Path(process.L1TExtendedHybridTracks)
0158     process.TTTracksEmuWithTruth = cms.Path(process.L1TExtendedHybridTracksWithAssociators)
0159     process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer *
0160                                          process.l1tTrackSelectionProducerExtended *
0161                                          process.l1tTrackSelectionProducerExtendedForJets *
0162                                          process.l1tTrackSelectionProducerExtendedForEtMiss)
0163     process.pL1TrackVertexAssociation = cms.Path(process.l1tTrackVertexAssociationProducerExtended *
0164                                                  process.l1tTrackVertexAssociationProducerExtendedForJets *
0165                                                  process.l1tTrackVertexAssociationProducerExtendedForEtMiss)
0166     process.pL1TrackJets = cms.Path(process.l1tTrackJetsExtended)
0167     process.pL1TrackFastJets = cms.Path(process.l1tTrackFastJetsExtended)
0168     process.pL1GTTInput = cms.Path(process.l1tGTTInputProducerExtended)
0169     process.pL1TrackJetsEmu = cms.Path(process.l1tTrackJetsExtendedEmulation)
0170     process.pTkMET = cms.Path(process.l1tTrackerEtMissExtended)
0171     process.pTkMHT = cms.Path(process.l1tTrackerHTMissExtended)
0172     process.pTkMHTEmulator = cms.Path(process.l1tTrackerEmuHTMissExtended)
0173     DISPLACED = 'Displaced'#
0174 
0175 # HYBRID: extended tracking
0176 elif (L1TRKALGO == 'HYBRID_PROMPTANDDISP'):
0177     process.TTTracksEmu = cms.Path(process.L1TPromptExtendedHybridTracks)
0178     process.TTTracksEmuWithTruth = cms.Path(process.L1TPromptExtendedHybridTracksWithAssociators)
0179     process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer * process.l1tTrackSelectionProducerExtended *
0180                                          process.l1tTrackSelectionProducerForJets * process.l1tTrackSelectionProducerExtendedForJets *
0181                                          process.l1tTrackSelectionProducerForEtMiss * process.l1tTrackSelectionProducerExtendedForEtMiss)
0182     process.pL1TrackVertexAssociation = cms.Path(VertexAssociator * process.l1tTrackVertexAssociationProducerExtended *
0183                                                  process.l1tTrackVertexAssociationProducerForJets * process.l1tTrackVertexAssociationProducerExtendedForJets *
0184                                                  process.l1tTrackVertexAssociationProducerForEtMiss * process.l1tTrackVertexAssociationProducerExtendedForEtMiss)
0185     process.pL1TrackJets = cms.Path(process.l1tTrackJets*process.l1tTrackJetsExtended)
0186     process.pL1TrackFastJets = cms.Path(process.l1tTrackFastJets*process.l1tTrackFastJetsExtended)
0187     process.pL1GTTInput = cms.Path(process.l1tGTTInputProducer*process.l1tGTTInputProducerExtended)
0188     process.pL1TrackJetsEmu = cms.Path(process.l1tTrackJetsEmulation*process.l1tTrackJetsExtendedEmulation)
0189     process.pTkMET = cms.Path(process.l1tTrackerEtMiss*process.l1tTrackerEtMissExtended)
0190     process.pTkMETEmu = cms.Path(process.l1tTrackerEmuEtMiss)
0191     process.pTkMHT = cms.Path(process.l1tTrackerHTMiss*process.l1tTrackerHTMissExtended)
0192     process.pTkMHTEmulator = cms.Path(process.l1tTrackerEmuHTMiss*process.l1tTrackerEmuHTMissExtended)
0193     process.pL1TrackTripletEmulator = cms.Path(process.l1tTrackTripletEmulation)
0194     DISPLACED = 'Both'
0195 
0196 
0197 
0198 
0199 ############################################################
0200 # Define the track ntuple process, MyProcess is the (unsigned) PDGID corresponding to the process which is run
0201 # e.g. single electron/positron = 11
0202 #      single pion+/pion- = 211
0203 #      single muon+/muon- = 13
0204 #      pions in jets = 6
0205 #      taus = 15
0206 #      all TPs = 1
0207 ############################################################
0208 
0209 process.L1TrackNtuple = cms.EDAnalyzer('L1TrackObjectNtupleMaker',
0210         MyProcess = cms.int32(1),
0211         DebugMode = cms.bool(False),      # printout lots of debug statements
0212         SaveAllTracks = cms.bool(True),  # save *all* L1 tracks, not just truth matched to primary particle
0213         SaveStubs = cms.bool(False),      # save some info for *all* stubs
0214         Displaced = cms.string(DISPLACED),# "Prompt", "Displaced", "Both"
0215         L1Tk_minNStub = cms.int32(4),     # L1 tracks with >= 4 stubs
0216         TP_minNStub = cms.int32(4),       # require TP to have >= X number of stubs associated with it
0217         TP_minNStubLayer = cms.int32(4),  # require TP to have stubs in >= X layers/disks
0218         TP_minPt = cms.double(2.0),       # only save TPs with pt > X GeV
0219         TP_maxEta = cms.double(2.5),      # only save TPs with |eta| < X
0220         TP_maxZ0 = cms.double(15.0),      # only save TPs with |z0| < X cm
0221         L1TrackInputTag = cms.InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks"),                                                      # TTTracks, prompt
0222         L1TrackExtendedInputTag = cms.InputTag("l1tTTTracksFromExtendedTrackletEmulation", "Level1TTTracks"),                                      # TTTracks, extended
0223         MCTruthTrackInputTag = cms.InputTag("TTTrackAssociatorFromPixelDigis", "Level1TTTracks"),                                               # MCTruth track, prompt
0224         MCTruthTrackExtendedInputTag = cms.InputTag("TTTrackAssociatorFromPixelDigisExtended", "Level1TTTracks"),                               # MCTruth track, extended
0225         L1TrackGTTInputTag = cms.InputTag("l1tGTTInputProducer","Level1TTTracksConverted"),                                                      # TTTracks, prompt, GTT converted
0226         L1TrackExtendedGTTInputTag = cms.InputTag("l1tGTTInputProducerExtended","Level1TTTracksExtendedConverted"),                              # TTTracks, extended, GTT converted
0227         L1TrackSelectedInputTag = cms.InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelected"),                                           # TTTracks, prompt, selected
0228         L1TrackSelectedEmulationInputTag = cms.InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelectedEmulation"),                         # TTTracks, prompt, emulation, selected
0229         L1TrackSelectedAssociatedInputTag = cms.InputTag(AssociationName, "Level1TTTracksSelectedAssociated"),                                           # TTTracks, prompt, selected, associated
0230         L1TrackSelectedAssociatedEmulationInputTag = cms.InputTag(AssociationName, "Level1TTTracksSelectedAssociatedEmulation"),                         # TTTracks, prompt, emulation, selected, associated
0231 
0232         L1TrackSelectedForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerForJets", "Level1TTTracksSelected"),                                           # TTTracks, prompt, selected
0233         L1TrackSelectedEmulationForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerForJets", "Level1TTTracksSelectedEmulation"),                         # TTTracks, prompt, emulation, selected
0234         L1TrackSelectedAssociatedForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForJets", "Level1TTTracksSelectedAssociated"),                                           # TTTracks, prompt, selected, associated
0235         L1TrackSelectedAssociatedEmulationForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForJets", "Level1TTTracksSelectedAssociatedEmulation"),                         # TTTracks, prompt, emulation, selected, associated
0236                                        
0237         L1TrackSelectedForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerForEtMiss", "Level1TTTracksSelected"),                                           # TTTracks, prompt, selected
0238         L1TrackSelectedEmulationForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerForEtMiss", "Level1TTTracksSelectedEmulation"),                         # TTTracks, prompt, emulation, selected
0239         L1TrackSelectedAssociatedForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForEtMiss", "Level1TTTracksSelectedAssociated"),                                           # TTTracks, prompt, selected, associated
0240         L1TrackSelectedAssociatedEmulationForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForEtMiss", "Level1TTTracksSelectedAssociatedEmulation"),                         # TTTracks, prompt, emulation, selected, associated
0241 
0242         L1TrackExtendedSelectedInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelected"),                                           # TTTracks, extended, selected
0243         L1TrackExtendedSelectedEmulationInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelectedEmulation"),                         # TTTracks, extended, emulation, selected
0244         L1TrackExtendedSelectedAssociatedInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtended", "Level1TTTracksExtendedSelectedAssociated"),                                           # TTTracks, extended, selected, associated
0245         L1TrackExtendedSelectedAssociatedEmulationInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtended", "Level1TTTracksExtendedSelectedAssociatedEmulation"),                         # TTTracks, extended, emulation, selected, associated
0246                                        
0247         L1TrackExtendedSelectedForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForJets", "Level1TTTracksExtendedSelected"),                                           # TTTracks, extended, selected
0248         L1TrackExtendedSelectedEmulationForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForJets", "Level1TTTracksExtendedSelectedEmulation"),                         # TTTracks, extended, emulation, selected
0249         L1TrackExtendedSelectedAssociatedForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForJets", "Level1TTTracksExtendedSelectedAssociated"),                                           # TTTracks, extended, selected, associated
0250         L1TrackExtendedSelectedAssociatedEmulationForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForJets", "Level1TTTracksExtendedSelectedAssociatedEmulation"),                         # TTTracks, extended, emulation, selected, associated
0251                                        
0252         L1TrackExtendedSelectedForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForEtMiss", "Level1TTTracksExtendedSelected"),                                           # TTTracks, extended, selected
0253         L1TrackExtendedSelectedEmulationForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedEmulation"),                         # TTTracks, extended, emulation, selected
0254         L1TrackExtendedSelectedAssociatedForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedAssociated"),                                           # TTTracks, extended, selected, associated
0255         L1TrackExtendedSelectedAssociatedEmulationForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedAssociatedEmulation"),                         # TTTracks, extended, emulation, selected, associated
0256                                                                               
0257         L1StubInputTag = cms.InputTag("TTStubsFromPhase2TrackerDigis","StubAccepted"),
0258         MCTruthClusterInputTag = cms.InputTag("TTClusterAssociatorFromPixelDigis", "ClusterAccepted"),
0259         MCTruthStubInputTag = cms.InputTag("TTStubAssociatorFromPixelDigis", "StubAccepted"),
0260         TrackingParticleInputTag = cms.InputTag("mix", "MergedTrackTruth"),
0261         TrackingVertexInputTag = cms.InputTag("mix", "MergedTrackTruth"),
0262         GenJetInputTag = cms.InputTag("ak4GenJets", ""),
0263         ##track jets and track MET
0264         SaveTrackJets = cms.bool(True), #includes emulated jets
0265         SaveTrackSums = cms.bool(True), #includes simulated/emulated track MET, MHT, and HT
0266         TrackFastJetsInputTag = cms.InputTag("l1tTrackFastJets","L1TrackFastJets"),
0267         TrackFastJetsExtendedInputTag = cms.InputTag("l1tTrackFastJetsExtended","L1TrackFastJetsExtended"),
0268         TrackJetsInputTag=cms.InputTag("l1tTrackJets", "L1TrackJets"),
0269         TrackTripletsInputTag = cms.InputTag("l1tTrackTripletEmulation", "L1TrackTriplet"),
0270         TrackJetsExtendedInputTag=cms.InputTag("l1tTrackJetsExtended", "L1TrackJetsExtended"),
0271         TrackJetsEmuInputTag = cms.InputTag("l1tTrackJetsEmulation","L1TrackJets"),
0272         TrackJetsExtendedEmuInputTag = cms.InputTag("l1tTrackJetsExtendedEmulation","L1TrackJetsExtended"),
0273         TrackMETInputTag = cms.InputTag("l1tTrackerEtMiss","L1TrackerEtMiss"),
0274         TrackMETExtendedInputTag = cms.InputTag("l1tTrackerEtMissExtended","L1TrackerExtendedEtMiss"),
0275         TrackMETEmuInputTag = cms.InputTag("l1tTrackerEmuEtMiss","L1TrackerEmuEtMiss"),
0276         TrackMHTInputTag = cms.InputTag("l1tTrackerHTMiss","L1TrackerHTMiss"), #includes HT
0277         TrackMHTExtendedInputTag = cms.InputTag("l1tTrackerHTMissExtended","L1TrackerHTMissExtended"),
0278         TrackMHTEmuInputTag = cms.InputTag("l1tTrackerEmuHTMiss",process.l1tTrackerEmuHTMiss.L1MHTCollectionName.value()),
0279         TrackMHTEmuExtendedInputTag = cms.InputTag("l1tTrackerEmuHTMissExtended",process.l1tTrackerEmuHTMissExtended.L1MHTCollectionName.value()),
0280         SimVertexInputTag = cms.InputTag("g4SimHits",""),
0281         GenParticleInputTag = cms.InputTag("genParticles",""),
0282         RecoVertexInputTag=cms.InputTag("l1tVertexFinder", "L1Vertices"),
0283         RecoVertexEmuInputTag=cms.InputTag("l1tVertexFinderEmulator", "L1VerticesEmulation"),
0284 )
0285 
0286 process.ntuple = cms.Path(process.L1TrackNtuple)
0287 
0288 process.out = cms.OutputModule( "PoolOutputModule",
0289  #                               outputCommands = process.RAWSIMEventContent.outputCommands,
0290                                 outputCommands = cms.untracked.vstring("keep *","drop *_*_*_HLT"),
0291                                 fileName = cms.untracked.string("test.root" )
0292                        )
0293 #process.out.outputCommands.append('keep  *_*_*_*')
0294 #process.out.outputCommands.append('drop  l1tEMTFHits_*_*_*')
0295 process.pOut = cms.EndPath(process.out)
0296 
0297 
0298 # use this if you want to re-run the stub making
0299 # process.schedule = cms.Schedule(process.TTClusterStub,process.TTClusterStubTruth,process.TTTracksEmuWithTruth,process.ntuple)
0300 
0301 # use this if cluster/stub associators not available
0302 # process.schedule = cms.Schedule(process.TTClusterStubTruth,process.TTTracksEmuWithTruth,process.ntuple)
0303 
0304 process.schedule = cms.Schedule(process.TTClusterStub, process.TTClusterStubTruth, process.dtc, process.TTTracksEmuWithTruth, process.pL1GTTInput, process.pL1TrackSelection, process.pPV, process.pPVemu,process.pL1TrackVertexAssociation, process.pL1TrackJets, process.pL1TrackJetsEmu,process.pL1TrackFastJets, process.pTkMET, process.pTkMETEmu, process.pTkMHT, process.pTkMHTEmulator,process.pL1TrackTripletEmulator, process.ntuple)