CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
core.VertexHistograms.VertexHistograms Class Reference
Inheritance diagram for core.VertexHistograms.VertexHistograms:

Public Member Functions

def __init__ (self, filename)
 
def write (self)
 

Public Attributes

 file
 
 hist
 
 mindist
 

Detailed Description

Definition at line 3 of file VertexHistograms.py.

Constructor & Destructor Documentation

def core.VertexHistograms.VertexHistograms.__init__ (   self,
  filename 
)

Definition at line 5 of file VertexHistograms.py.

5  def __init__(self, filename ):
6  self.file = TFile(filename, 'recreate')
7  self.hist = TH1F('pileup','', 70, 0, 70)
8  self.mindist = TH1F('mindist','Minimum distance between 2 vertices', 100, 0, 0.1)
9 

Member Function Documentation

def core.VertexHistograms.VertexHistograms.write (   self)

Definition at line 10 of file VertexHistograms.py.

10  def write(self):
11  self.file.Write()

Member Data Documentation

core.VertexHistograms.VertexHistograms.file

Definition at line 6 of file VertexHistograms.py.

core.VertexHistograms.VertexHistograms.hist

Definition at line 7 of file VertexHistograms.py.

core.VertexHistograms.VertexHistograms.mindist

Definition at line 8 of file VertexHistograms.py.