Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:20

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