1 from PhysicsTools.Heppy.analyzers.core.Analyzer
import Analyzer
2 from PhysicsTools.Heppy.analyzers.core.AutoHandle
import AutoHandle
3 from PhysicsTools.Heppy.physicsobjects.Muon
import Muon
7 '''Just a simple jet analyzer, to be used in tutorials.'''
11 self.handles[
'muons'] = AutoHandle(
'slimmedMuons',
12 'std::vector<pat::Muon>' )
14 super(SimpleMuonAnalyzer, self).readCollections(event.input)
15 event.muons = map(Muon, self.handles[
'muons'].product())