Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:27

0001 from ROOT import TFile, TH1F
0002 
0003 class VertexHistograms(object):
0004 
0005     def __init__(self, filename ):
0006         self.file = TFile(filename, 'recreate')
0007         self.hist = TH1F('pileup','', 70, 0, 70)
0008         self.mindist = TH1F('mindist','Minimum distance between 2 vertices', 100, 0, 0.1)
0009 
0010     def write(self):
0011         self.file.Write()