analyzer.modules.singlestop.bnn_trig¶
Classes¶
Compute trigger efficiency weights using a BNN ensemble. |
|
Compute trigger efficiency weights using correctionlib for BNN. |
|
Abstract base class for all analyzer modules. |
|
Abstract base class for all analyzer modules. |
Module Contents¶
- class analyzer.modules.singlestop.bnn_trig.BNNEnsemble(num_inputs, mean, sigma, hidden_width, data)[source]¶
-
- class analyzer.modules.singlestop.bnn_trig.TriggerBNN[source]¶
Bases:
analyzer.core.analysis_modules.AnalyzerModuleCompute trigger efficiency weights using a BNN ensemble.
This analyzer evaluates a Bayesian Neural Network on HT and leading fat jet pt to produce a trigger weight for MC samples.
Parameters¶
- base_pathstr
Base directory where BNN JSON files are stored.
- net_patternstr
Pattern for the network filename, formatted with the era name.
- weight_namestr, optional
Name of the output weight column, by default “trigger_eff”.
- should_runMetadataExpr, optional
Condition to determine if the module should run. By default runs on MC samples.
- class analyzer.modules.singlestop.bnn_trig.TriggerBNNCorrection[source]¶
Bases:
analyzer.core.analysis_modules.AnalyzerModuleCompute trigger efficiency weights using correctionlib for BNN.
Parameters¶
- base_pathstr
Base directory where correction files are stored.
- correction_patternstr
Pattern for the correction filename, formatted with the era name (e.g. bnn_correction_{era}.json.gz).
- correction_namestr, optional
Name of the correction in the file, by default “BNN_Trigger_Efficiency”.
- weight_namestr, optional
Name of the output weight column, by default “trigger_eff”.
- should_runMetadataExpr, optional
Condition to determine if the module should run. By default runs on MC samples.
- class analyzer.modules.singlestop.bnn_trig.MSDCleanerCategory[source]¶
Bases:
analyzer.core.analysis_modules.AnalyzerModuleAbstract base class for all analyzer modules. Subclasses must implement the inputs and run methods.
- class analyzer.modules.singlestop.bnn_trig.MSDCleanerSelection[source]¶
Bases:
analyzer.core.analysis_modules.AnalyzerModuleAbstract base class for all analyzer modules. Subclasses must implement the inputs and run methods.