Public Member Functions | |
def | process |
Builds resonances from an input collection of particles. Example configuration: from PhysicsTools.Heppy.analyzers.examples.ResonanceBuilder import ResonanceBuilder dimuons = cfg.Analyzer( ResonanceBuilder, 'dimuons', leg_collection = 'muons', # input collection filter_func = lambda x : True, # filtering function for input objects. here, take all. pdgid = 23 # pdgid for the resonances, here Z ) This analyzer puts one collection in the event: event.dimuons : all resonances, sorted by their distance to the nominal mass corresponding to the specified pdgid
Definition at line 57 of file ResonanceBuilder.py.
def ResonanceBuilder.ResonanceBuilder.process | ( | self, | |
event | |||
) |
Definition at line 75 of file ResonanceBuilder.py.
References funct.abs(), analyzer.Analyzer.instance_label, config.Analyzer.instance_label, and config.Service.instance_label.
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), 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().