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.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 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.
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().