Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
Heppy
python
physicsutils
BTagSF.py
Go to the documentation of this file.
1
from
__future__
import
print_function
2
# importing the python binding to the C++ class from ROOT
3
from
ROOT
import
heppy
4
5
class
BTagSF
(
heppy.BTagSF
):
6
'''Just an additional wrapper, not really needed :-)
7
We just want to illustrate the fact that you could
8
use such a wrapper to add functions, attributes, etc,
9
in an improved interface to the original C++ class.
10
'''
11
def
__init__
(self, seed) :
12
super(BTagSF, self).
__init__
(seed)
13
14
if
__name__ ==
'__main__'
:
15
16
btag =
BTagSF
(12345)
17
print
(
'created BTagSF instance'
)
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition:
JobReport.cc:66
BTagSF.BTagSF.__init__
def __init__(self, seed)
Definition:
BTagSF.py:11
heppy::BTagSF
Definition:
BTagSF.h:9
BTagSF.BTagSF
Definition:
BTagSF.py:5
Generated for CMSSW Reference Manual by
1.8.11