Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-25 02:29:49

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