![]() |
|
|||
File indexing completed on 2024-04-06 12:23:29
0001 from PhysicsTools.HeppyCore.framework.analyzer import Analyzer 0002 0003 class Filter(Analyzer): 0004 0005 def process(self, event): 0006 input_collection = getattr(event, self.cfg_ana.input_objects) 0007 output_collection = [obj for obj in input_collection \ 0008 if self.cfg_ana.filter_func(obj)] 0009 setattr(event, self.instance_label, output_collection)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |