Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def GeneralPurposeTrackAnalyzer(**kwargs):
0004   mod = cms.EDAnalyzer('GeneralPurposeTrackAnalyzer',
0005     TkTag = cms.InputTag('generalTracks'),
0006     TriggerResultsTag = cms.InputTag('TriggerResults', '', 'HLT'),
0007     BeamSpotTag = cms.InputTag('offlineBeamSpot'),
0008     VerticesTag = cms.InputTag('offlinePrimaryVertices'),
0009     isCosmics = cms.bool(False),
0010     doLatencyAnalysis = cms.bool(True),
0011     mightGet = cms.optional.untracked.vstring
0012   )
0013   for k,v in kwargs.items():
0014     setattr(mod, k, v)
0015   return mod