Public Member Functions | |
def | declareHandles (self) |
def | process (self, event) |
Just a simple jet analyzer, to be used in tutorials. example configuration: jets = cfg.Analyzer( SimpleJetAnalyzer, 'jets', filter_func = lambda x : x.pt()>30 # filtering function for the jets njets = 4, # keeping the first 4 leading jets passing cuts )
Definition at line 6 of file SimpleJetAnalyzer.py.
def SimpleJetAnalyzer.SimpleJetAnalyzer.declareHandles | ( | self | ) |
Definition at line 19 of file SimpleJetAnalyzer.py.
References core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, and core.Analyzer.Analyzer.mchandles.
def SimpleJetAnalyzer.SimpleJetAnalyzer.process | ( | self, | |
event | |||
) |
Definition at line 26 of file SimpleJetAnalyzer.py.
References analyzer.Analyzer.cfg_ana, analyzer.Analyzer.cfg_comp, looper.Looper.cfg_comp, core.AutoHandle.AutoHandle.handles, core.Analyzer.Analyzer.handles, HTTP.RequestManager.handles, analyzer.Analyzer.instance_label, config.Analyzer.instance_label, config.Service.instance_label, join(), genParticles_cff.map, deltar.matchObjectCollection(), and core.Analyzer.Analyzer.mchandles.