Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Configuration for Ntuple maker for analyzing L1 track performance.
0004 # The parameters specified here are suitable for  Hybrid prompt track collections
0005 
0006 L1TrackNtupleMaker = cms.EDAnalyzer('L1TrackNtupleMaker',
0007       # MyProcess is the (unsigned) PDGID corresponding to the process which is run
0008       # e.g. single electron/positron = 11
0009       #      single pion+/pion- = 211
0010       #      single muon+/muon- = 13
0011       #      pions in jets = 6
0012       #      taus = 15
0013       #      all TPs = 1 (pp collisions)
0014        MyProcess = cms.int32(1),
0015        DebugMode = cms.bool(False),      # printout lots of debug statements
0016        SaveAllTracks = cms.bool(True),   # save *all* L1 tracks, not just truth matched to primary particle
0017        SaveStubs = cms.bool(False),      # save some info for *all* stubs
0018        L1Tk_nPar = cms.int32(4), # use 4 or 5-parameter L1 tracking?
0019        L1Tk_minNStub = cms.int32(4),     # L1 tracks with >= 4 stubs
0020        TP_minNStub = cms.int32(4),       # require TP to have >= X number of stubs associated with it
0021        TP_minNStubLayer = cms.int32(4),  # require TP to have stubs in >= X layers/disks
0022        TP_minPt = cms.double(1.9),       # only save TPs with pt > X GeV
0023        TP_maxEta = cms.double(2.5),      # only save TPs with |eta| < X
0024        TP_maxZ0 = cms.double(30.0),      # only save TPs with |z0| < X cm
0025        L1TrackInputTag = cms.InputTag("l1tTTTracksFromTrackletEmulation",  "Level1TTTracks"),         # TTTrack input
0026        MCTruthTrackInputTag = cms.InputTag( "TTTrackAssociatorFromPixelDigis",  "Level1TTTracks"),  # MCTruth input
0027        # other input collections
0028        L1StubInputTag = cms.InputTag("TTStubsFromPhase2TrackerDigis","StubAccepted"),
0029        MCTruthClusterInputTag = cms.InputTag("TTClusterAssociatorFromPixelDigis", "ClusterAccepted"),
0030        MCTruthStubInputTag = cms.InputTag("TTStubAssociatorFromPixelDigis", "StubAccepted"),
0031        TrackingParticleInputTag = cms.InputTag("mix", "MergedTrackTruth"),
0032        TrackingVertexInputTag = cms.InputTag("mix", "MergedTrackTruth"),
0033        # tracking in jets (--> requires AK4 genjet collection present!)
0034        TrackingInJets = cms.bool(False),
0035        GenJetInputTag = cms.InputTag("ak4GenJets", "")
0036 )
0037