Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:27

0001 from __future__ import print_function
0002 # importing the python binding to the C++ class from ROOT 
0003 from ROOT import heppy
0004 
0005 class BTagSF(heppy.BTagSF):
0006     '''Just an additional wrapper, not really needed :-)
0007     We just want to illustrate the fact that you could
0008     use such a wrapper to add functions, attributes, etc,
0009     in an improved interface to the original C++ class. 
0010     '''
0011     def __init__ (self, seed) :
0012         super(BTagSF, self).__init__(seed) 
0013 
0014 if __name__ == '__main__':
0015 
0016     btag = BTagSF(12345)
0017     print('created BTagSF instance')