source:
HiSusy/trunk/Delphes/Delphes-3.0.9/python/DelphesAnalysis/BaseWeightClass.py
@
5
Last change on this file since 5 was 5, checked in by , 11 years ago | |
---|---|
File size: 362 bytes |
Rev | Line | |
---|---|---|
[5] | 1 | # Every weight class must contain a weight method, taking as first argument the event. |
2 | # Additional methods and arguments are allowed. | |
3 | # Note that weight classes do not have to derive from BaseWeightClass. | |
4 | ||
5 | class BaseWeightClass: | |
6 | """A class to reweight AnalysisEvents""" | |
7 | def weight( self, event): | |
8 | """Lepton eff weight""" | |
9 | raise NotImplementedError | |
10 |
Note: See TracBrowser
for help on using the repository browser.